When building a Query-based Distribution Group in Exchange 2003/2007, the GUI does not allow you to filter out disabled users or hidden users.

This has greatly limited the effectiveness of such groups for my work, until now!

Using ADSIEDIT.MSC you can modify the LDAP filter easily to resolve this issue.

Steps:

  1. start ADSIEDIT.MSC
  2. under the Domain branch, find the group your created through the Active Directory Users and Computers (ADUC)
  3. double-click on the group
  4. find the msExchDynamicDLFilter attribute and edit it
  5. just in the last ‘)’ add the following: (!userAccountControl:1.2.840.113556.1.4.803:=2)(!msExchHideFromAddressLists=TRUE)
  6. go back to ADUC and find your group, and run the preview and make sure it works
  7. fin!
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • Print this article!
  • Technorati
Similar Posts: