How to rename a domain controller after you migrated it, keep the old hostname By Mariette Knap swing it migration, rename hostname After a server migration, it can be useful to retain the old hostname of the old domain controller. If you migrated from any Windows Server Essentials or SBS version links, favorites and any shortcut that pointed to the old server hostname will not work if you do not retain the old hostname. For some this is a problem, for some, it is not. If you have a lot of applications that depend on that old hostname here is a small tutorial that explains how to rename the hostname of a domain controller. You must use this renaming method only if the Domain Controller that you want to rename is your only Domain Controller. If you have multiple domain controllers in your network you should introduce a new Domain Controller, demote the old domain controller and rename it and promote another new domain controller with the old hostname. Although I have performed a rename of a domain controller (in the situation where there are more than one domain controllers) with the steps explained in this tutorial it is the better way to demote and promote in a more complex situation. Renaming a server with the Essentials Experience role or a DC with the CA role installed is NOT supported. If you are going to perform these steps after you migrated from any Windows Server Essentials or SBS you must understand that steps to migrate redirected folders must be changed during the migration. You should NOT change the path to the Redirected Folders because they do not change at all. It is also important to shut down any client computer during this procedure. After the steps have been completed run gpupdate /force and check the health of your workstation. You must be able to see a NETLOGON and SYSVOL share and any other share you have. You must have a full backup of your domain controller before you perform this procedure and you must know how to perform a disaster recovery if things fail. Get your free tutorial Get your Technician Kit Free tutorial for registered users only Register a new free account within 30 seconds and get access to this tutorial and many other on this site Register a free account Easy migration kits Migration kit for migrating from one source (for example Windows Server 2012) to a new Windows Server environment built on the latest technology. This kit is ideal if you want to perform the migration of your old server yourself. The kit contains everything to ultimately run your infrastructure on more modern operating systems like Windows Server 2016, 2019, 2022 or 2025. Success guaranteed! Get your easy migration kit All our migration kits and IT Pro Collections are backed with awesome support. In our store, you can choose to purchase support as part of your initial purchase or you can get ad hoc support by creating a support ticket here. Don't want to do it yourself? Migration support is also available through consulting service, contact us.