Setup: Active directory domain with many domain controllers
Problem: You want to move FSMO roles to another domain controller
Solution:
You can move the Active Directory (AD) from the command prompt using PowerShell in just a few seconds with PowerShell.
Make sure you import the Active Directory PowerShell module:
Import-Module activedirectory
Transfer all the FSMO roles at once, or one by one:
Move-ADDirectoryServerOperationMasterRole -Identity "<DC_Name>" -OperationMasterRole PDCEmulator, RIDMaster, InfrastructureMaster, SchemaMaster, DomainNamingMaster
There are five FSMO roles to transfer:
PDCEmulator
- RIDMaster
- InfrastructureMaster
- SchemaMaster
- DomainNamingMaster
To check which FSMO roles are on what domain controller, from the command prompt run
netdom query /d: fsmo