Skip to content

geekmungus.co.uk

The ramblings of a computer geek

  • About
  • Disclaimer
  • Privacy Policy
  • Ts&Cs
site mode button

Category: Active Directory

Export User List to CSV File from Active Directory using PowerShell

October 26, 2016November 5, 2022Tristan Self

Here is a one liner to allow you to do this: Image Attribution: CHUTTERSNAP

More...

Check if two domain controllers are in-sync

September 18, 2015November 5, 2022Tristan Self

PROBLEM: You need to check if two domain controllers are in sync with each other. SOLUTION: To do this you need to understand a bit about how Active Directory reports if a domain controller replication is in sync. There is something called a UTDV up-to-dateness vector that is basically a number representing what the domain […]

More...

Getting a specific attribute about each AD User using PowerShell

May 14, 2015November 5, 2022Tristan Self

Using powershell you can get the value of a specific attribute of a user. To do this run the below, this will get all the user objects in the OU called “Users” and display the samAccountName and extensionAttribute10 attribute.

More...

Set a specific AD attribute with PowerShell

May 4, 2015November 5, 2022Tristan Self

So here is an example you want to set all the users in the OU called “Users” to have the extensionAttribute10 with the value “student” to do this you can run the below script:

More...

Tracking Down Cause of Locked Active Directory Account

July 17, 2014November 5, 2022Tristan Self

With the prevalence of mobile devices this is becoming more of a problem, you have a user who comes in every day and swears blind nothing has the wrong password, but something is locking them out. Here is how to fix it: Firstly you must ensure that you are logging the stuff correctly on your […]

More...

Active Directory – How to Find Failed Logon Requests

May 6, 2012November 5, 2022Tristan Self

So to find any failed logon requests for a user you can use one of the two following XML queries, the first just shows all successes and failures for that user. The second shows just the failures only for that user. 1. Open the event viewer, and click on the “Security” log on the left […]

More...

Microsoft Windows 2008 R2 Domain Controller with DNS Server Fails to Resolve Some External Domains

August 13, 2011November 5, 2022Tristan Self

Upon the setup of the new Windows 2008 R2 DNS servers there is a problem that the DNS lookups for external domain fail; internal domain name resolution is unaffected. Restarting the DNS server (or the whole server) resolve the problem, as does clearing the cache. When the problem is happening, an nslookup command issued for […]

More...

“Access Denied” Error when Depromoting a Domain Controller

July 28, 2011November 5, 2022Tristan Self

When depromoting a domain controller I started to get this error: “The operation failed because Active Directory could not configure the computer account <COMPUTERNAME>$, on the remote domain controller <COMPUTERNAME>$ “Access is denied.” What I did to try and fix it: ·          Verified the “protect from accidental deletion” tick box not […]

More...

Active Directory Disappearing Permissions

June 14, 2011November 5, 2022Tristan Self

A odd problem with Active Directory that I came across this week; a user object keep on “losing” its permissions. When adding the “Send As” permissions for Exchange on a AD user object all seemed to go okay, then about 20 minutes or so later the permission would just vanish! After much rumaging around I […]

More...

Configuring and Troubleshooting Active Directory Replication

June 12, 2011November 5, 2022Tristan Self

While setting up my new domain controllers, came across this site, looks to offer some good tips about AD. http://www.tech-faq.com/configuring-and-troubleshooting-active-directory-replication.shtml

More...

Posts navigation

Newer posts

Recent Comments

  • More Adventures in Ansible – Bind Example – geekmungus.co.uk on Ansible Workstation Setup and Example
  • Example Website Workload – AWS Elastic Container Service (AWS) with ALB, Route53 and Certificate – geekmungus.co.uk on Storing Terraform State on AWS S3 Bucket (including AWS DynamoDB for State Locking)
  • Tristan Self on Perl Mail::Mailer From Address, being ignored?
  • Rob on Perl Mail::Mailer From Address, being ignored?
  • Mohammad on Microsoft Exchange 2016 DAG Failure and Recovery

Archives

Categories

Archives

  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • September 2020
  • August 2020
  • July 2020
  • July 2019
  • March 2019
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • May 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • January 2014
  • December 2013
  • November 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012
  • May 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • January 2011

Categories

  • Active Directory
  • Ansible
  • AWS
  • Bonkers
  • Broadband
  • Brocade (SAN)
  • Cisco
  • Cloud
  • Databases
  • Dell ECS
  • Dell Powerscale (EMC Isilon)
  • DevOps
  • DNS
  • Docker
  • Email
  • Extreme Networks
  • Fundamentals
  • General
  • Git
  • Green Futures
  • Infoblox
  • Kemp Technologies
  • Kerberos
  • Kubernetes
  • Linux
  • Microsoft 365
  • Microsoft DPM
  • Microsoft Exchange
  • Microsoft SQL
  • Microsoft Windows
  • MSc Computing for Commerce and Industry
  • Nagios and NagiosXI
  • Networking
  • Nimble Storage
  • NMAP
  • Okta
  • Oracle
  • Palo Alto Firewall
  • Personal Development
  • Python
  • Random
  • Raspberry Pi
  • SAML
  • Security
  • Site Updates
  • Storage
  • Terraform
  • Uncategorized
  • VMware
  • VOIP and Telephony
  • Wireshark
| Theme: News Portal by Mystery Themes.