Rename a domain controller


In this tutorial, we will see how to rename domain controller in the “rules of the art”.

The name change happens in several times, here is a summary:

  • Add a secondary name to the DC
  • Permutation of the secondary name in primary
  • Deleting the secondary name

Change the name of a domain controller

The following commands are to be executed on the controller to rename as Administrator.

Add a secondary name:

It is possible to check that the command is taken into account by looking at the Active Directory attribute msDS-AdditionalDnsHostName.

Passer le nom secondaire en primaire :

Restart the server to take into account the name change.

Delete the old name:


It is possible to display the names with the following command:

Related Posts

Enable Windows Active Directory Recycle Bin 2012/2016/2019

Introduction The Active Directory Recycle Bin is a feature that came with Windows 2008R2, which is disabled by default. To activate the recycle bin, the domain and drill level must be at least 2008R2.

Create an Active Directory environment in PowerShell

Table Of ContentsIntroductionPrerequisitesInstalling the AD DS roleCreating the Active Directory domaincomplements Introduction In this tutorial, we will see how to create an Active Directory environm

Active Directory Right Management Services: Installation and Configuration

AD RMS (Active Directory Right Management) is a Windows Server service that provides extended rights management for certain files. The system is similar to the DRM protection that protects intellectua

Scroll to Top