0

I want to access an account which is disabled in Active Directory using people picker.I have set the stsadm property peoplepicker-searchadcustomfilter and peoplepicker-searchadcustomquery using below script to set people picker to show only user which are disabled in AD but not working.

stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv "(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))" -url

stsadm -o setproperty -pn peoplepicker-searchadcustomfilter -pv "(&(objectCategory=person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))" -url

See below link for your reference

People Picker doesn't show disabled accounts, what should i do to make people picker show disabled accounts

Any help will be appreciated.

1 Answer 1

1

Are you filtering them out in the UPS sync to begin with? (We do, so that's why I'm asking). Also, are they in a specific OU that your farm account is not seeing, or a specific OU that is not part of the UPS sync?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.