Quantcast
Channel: Security forum
Viewing all articles
Browse latest Browse all 12072

Query disabled accounts in a group

$
0
0

Hello,

the following AD saved query shows me all users (enabled and disabled) in an specific group:

(&(&(|(&(objectCategory=person)(objectSid=*)(!samAccountType:1.2.840.113556.1.4.804:=3))(&(objectCategory=person)(!objectSid=*))(&(objectCategory=group)(groupType:1.2.840.113556.1.4.804:=14)))(objectCategory=user)(objectClass=user)(memberOf=CN=Norwalk\20Project,CN=Users,DC=dc01,DC=us,DC=com)))

How can i change the query to show me only disabled users in that group?

Thank you.



Viewing all articles
Browse latest Browse all 12072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>