27 April 2013

List AD users with passwords set to never expire

  1. Open ADUC, right-click on the domain and choose Find.
  2. In the Find menu, hit Custom Search.
  3. Hit the Advanced tab.
  4. Enter the following then hit Find Now:
    (|(useraccountcontrol=66048)(useraccountcontrol=66050))

No comments:

Post a Comment