Peoplepicker not showing diabled users

If you don’t want that disabled accounts will be show in the people picker of MOSS 2007, than run the following stsadm command to add a filter to the peoplepicker query:

stsadm -o setproperty -propertyname peoplepicker-searchadcustomfilter -propertyvalue (!userAccountControl=514) -url http://site_collection_url

To check if the query has changed, run the following stsadm command:

stsadm -o getproperty -propertyname peoplepicker-searchadcustomfilter -url http://site_collection_url

peoplepicker_query

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>