Posted by: Niko | October 9, 2006

How to find all Active Directory user objects which has password never exprires attribute set

See my earlier post about making custom query in Active Directory Users And Computers Console here.

Syntax for searching all users who are not forced to change their password. In other words they has the password never expires checkbox checked in the user properties.

(objectcategory=user) (userAccountControl:1.2.840.113556.1.4.803:=65536)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: