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 the following command:
Get-ADDomainController -Filter * | Select Name, OperationMasterRoles
The result shows the name of domain controllers and FSMO roles assigned to them as shown in the image.
Subscribe to 4sysops newsletter!
Want to write for 4sysops? We are looking for new authors.
Jay, thanks for the new wiki doc about FSMO roles. You received 60 member points.
Yay for Jay!
you have a space between “– OperationMasterRole” for others to use this cmd just remove the space.
Thanks for the hint!
Short and useful PS command as compared to ntdsutil which is somewhat confusing for beginners.