- At an elevated command prompt, type
netdom computername <oldname> /add:<newname>. The output should indicate that the new name was successfully added as an alternate name for the DC.
- To confirm that the new name was added, type
netdom computername <oldname> /enumerate. Both names should be listed in the output.
- Type
netdom computername <oldname> /makeprimary:<newname>to set the new FQDN as the DC's primary name. The output should indicate that this was successful. It will also indicate that a reboot is necessary.
- Reboot the DC.
- Launch an elevated command prompt and type
netdom computername <newname> /remove:<oldname>to remove the old FQDN from the DC's list of names.
- Confirm that the old name has been removed by typing
netdom computername <newname> /enumerate. The new FQDN should be the only name listed in the output. The DC has now been renamed.