Program to search Active Directory for user objects with Display Names that are not unique. The program uses ADO to search Active Directory for all user objects. The recordset that is returned has each user's DisplayName and DistinguishedName attributes. The recordset is sorted by DisplayName. Every non-unique DisplayName is output, with the corresponding DistinguishedName.

The program is designed to be run at a command prompt with the cscript host. The output can be redirected to a text file.

DuplicateNames.txt <<-- Click here to view or download the program