Query Active Directory for Date an account is Disabled
Posted on 2007-07-26
I am trying to find out a way to query AD using the ADU&C interface in a way that will show me the disabled accounts that were disabled before a specific date.
Basically i need to know what the field or userAccountControl code is, if there is one at all.
I curentlly have a saved query to gather all my disabled users which looks like this:
I also played around with a query that would give me all my disabled users created before a specific date which looks like this:
This query does not quite meet my needs but gets me closer to the end goal.
Any help would be great.