Which DC Is Selected When Promoting A Member Server To DC?

by [Published on 11 Nov. 2008 / Last Updated on 25 Aug. 2008]

This article discusses the a mechanism used by the DCPromo.exe to select a DC when promoting a member server to Domain Controller.

When you promote a member server to Domain Controller using Dcpromo.exe, the Dcpromo.exe contacts a domain controller available in the domain to replicate the AD Database. If there is only one DC then it always contacts that DC for AD database but what if there are more than one DC?

The Dcpromo process always contacts the DC available in its own site first. If there is no DC in its own site then a DC from the nearest site is contacted. You can check the Dcpromo process and see which DC it contacted during the promotion by opening the DCPROMO.LOG file found at %SystemRoot%\Debug folder. The log file will contain the following lines for the source DC:

07/30 11:58:24 [INFO] Located domain controller DCNAME.domain_name.com for domain domain_name.com

07/30 11:58:24 [INFO] Using site Default-First-Site-Name for server \\DCNAME.domain_name.com


See Also

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links