Appendix 1: Identifying a Domain Controller GUID
Updated: June 30, 2010
Applies To: Windows Server 2003 with SP1
Identifying the correct domain controller GUID for an SMTP replication certificate may pose a challenge for some administrators who are unfamiliar with the nuances of Active Directory and domain controller objects in the directory. To determine a specific domain controller GUID from a Windows XP or Windows Server 2003 computer joined to the Active Directory forest, perform the following steps.
|The dsquery utility is part of the Windows Server 2003 Administration Tools Pack and is not available on Windows 2000 computers.|
Log on to the computer with a domain account.
From a command-line prompt, run the following command.
dsquery * “CN=<hostname>,OU=Domain Controllers,DC=<yourdomain>,DC=<yourdomain>” –scope base –attr objectguid
dsquery * “CN=DC01,OU=Domain Controllers,DC=contoso,DC=com” –scope base –attr objectguid
Log off the computer.