Finding a Host in AD by GUID

Windows Server 2003 Users and Computers allowed the specification of managed GUIDs when creating new computer objects. Any clashes in the domain would be displayed and this was my quick go-to method of tracking down duplicate GUIDs (a sometimes painful issue causing PXE boot problems).

This was removed from the default installation of this MMC snap-in on Server 2008. I believe you get it back if you install the WDS role, but I can’t do that on my Windows 7 machine. Instead, we can resort to hand-crafting LDAP queries to find any existing computer objects with our target GUID:


Be careful to get the ordering correct of the GUID correct. The presence of hyphens often means the bytes need to be reordered .

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=""> <s> <strike> <strong>