Contrary to some people’s beliefs, it is actually possible to rename a domain controller! For this to work you must have at least 2 domain controllers already in your domain. This WILL NOT work if you have a single domain controller.
Before you start if the domain controller you are renaming holds any FSMO roles, you must migrate these to the other domain controller before you start.
- Open Command Prompt and type in netdom computername <current computer name> /add:<new computer name>
- then netdom computername <current computer name> /makeprimary:<new computer name>
- Restart domain controller
- Then open command prompt and type netdom computername <new computer name> /remove:<old computer name>