How to filter users based on the criteria enabled or disabled
- Menu: "View"
- Select: "Filter Options..."
- Choose: "Create custom filter" and Click: "Customize..."
- Select tab: "Advanced"
- Write: "Enter LDAP query:" (text in the subsections below)
- Click: "OK"
- Click: "OK"
(!UserAccountControl:1.2.840.113556.1.4.803:=2)
UserAccountControl:1.2.840.113556.1.4.803:=2
Inspitarion for this guide took from here