Link to home
Start Free TrialLog in
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?
ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Agreed option 2
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
Avatar of sglee
sglee

ASKER

So the consensus is that we demote, rename and promote. Got it.
Thank you all.