This is a three step process. First you add an alternative name for your DC to AD, then you make that alternative name your primary name, then you remove the old primary name which will at this point be the alternative. In between each step you'll want to wait until the change has been replicated to your other DCs before proceeding. You can check this using ADSIEdit.msc to look at the directory partitions on those other servers.
To start things off, go to Start->All Programs->Windows Support Tools->Command Prompt (or just open a command prompt). To add an alternative name for your DC, use the command
netdom computername yourDC.domain.com /add:newDCName.domain.com
This will add an alternative name of newDCName.domain.com to your DC named yourDC.domain.com. Just make sure to replace newDCName.domain.com with the name you want the DC to have, and yourDC.domain.com with the current name you want to get rid of. Wait for the alternative name to replicate, then move on to the step of promoting the alternative name to the primary. To verify the replication, use ADSIEdit.msc to look at the Domain partition on your other DCs. Look at Domain->OU=Domain Controllers, then right-click on CN=newDCName and go to Properties. If the change above has replicated to the server you're looking at, you should find a value of newDCName.domain.com under the msDS-AdditionalDnsHostName attribute
netdom computername yourDC.domain.com /MakePrimary:newDCName.domain.com
This will promote your alternative name to the new primary name for your DC. Once that change has been replicated to the other DCs within your environment, the only thing left is to remove the old name completely. Once this change has replicated to a domain controller, the msDS-AdditionalDnsHostName attribute should have the value yourDC.domain.com. You can check that on your DCs using ADSIEdit.msc again
netdom computername newDCName.domain.com /remove:yourDC.domain.com
This will remove references to the old hostname yourDC.domain.com, leaving you with a machine named newDCName.domain.com. If you're having problems following this guide, try the original one that helped me get through the rename process. If can be found by following this link to petri.co.il
This will remove references to the old hostname yourDC.domain.com, leaving you with a machine named newDCName.domain.com. If you're having problems following this guide, try the original one that helped me get through the rename process. If can be found by following this link to petri.co.il
No comments:
Post a Comment