Avatar of sglee
sglee
 asked on

Renaming existing Domain Controller's Name

Hi,
 
 I have a question about renaming the name of the existing windows 2019 domain controller.
 Say existing domain controller names are as follows:
 DC1.consento.local
 DC2.consento.local
 and you like to change the names to:
 PDC.consento.local
 BDC.consento.local

 I googled this subject and found conflicting articles:

First, this article (https://community.spiceworks.com/how_to/103538-properly-renaming-a-domain-controller-server-2012r2) showed the following commands. I tried and seemed to have worked. I checked active directory users & computers and active directory sites and services  and I could see renamed domain controllers.

netdom computername DC1.consento.local /add:PDC.consento.local
netdom computername DC1.consento.local /makeprimary:PDC.consento.local
shutdown /r /t 0

netdom computername DC2.consento.local /add:BDC.consento.local
netdom computername DC2.consento.local /makeprimary:BDC.consento.local
shutdown /r /t 0
 
But then I found this article (https://www.kieri.com/how-to-rename-windows-server-2016-domain-controller/) where talks about:
1. Demote existing domain controller first.
2. Rename it
3. Promote renamed DC.

Which one is correct?
Windows Server 2019Active Directory

Avatar of undefined
Last Comment
sglee

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
kevinhsieh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jason Crawford

Agreed option 2
Alex

Demote and rename is 100% safer, also I would like to point out that you no longer have a "PDC" and "BDC"

Active directory is exactly that, it's active and as such, every domain controller is active (unless it's RODC) and you then have FSMO roles, namely the PDC emulator which deals with  replication of passwords etc across your estate.

But no, you don't have a PDC and BDC in the same respect.

Regards
Alex
sglee

ASKER
So the consensus is that we demote, rename and promote. Got it.
Thank you all.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23