The Flexible single-master operations (FSMO) roles are assigned to the first domain controller in an Active Directory role. To transfer the FSMO roles to another domain controller you can use the PowerShell command below.
The names of the FSMO roles may be typed out as well.
Move-ADDirectoryServerOperationMasterRole –Identity "Target_DC_Name" –OperationMasterRole 0,1,2,3,4
0 = PDC Emulator
1 = RID Master
2 = Infrastructure Master
3 = Schema Master
4 = Domain Naming Master
Press Y for each or A for all.
To verify that the roles have transferred, type in netdom query fsmo.
Subscribe to 4sysops newsletter!
The results should show the roles assigned to host name of the server that the FSMO roles transferred to (Target_DC_Name).