Post

Microsoft - Transfer FSMO roles to another Domain Controller

img

img


Ref:


NOTE:

Login to the TARGET Machine that you want to transfer the FSMO roles to.

Step 1: Check the FSMO roles on the Domain Controller

1
netdom query fsmo

Output

1
2
3
4
5
6
Schema master               DC1.fqdn.com
Domain naming master        DC1.fqdn.com
PDC                         DC1.fqdn.com
RID pool manager            DC1.fqdn.com
Infrastructure master       DC1.fqdn.com
The command completed successfully.

Step 2: Check the replication between Domain Controllers

1
repadmin /showrepl

Step 3:

1
repadmin /replsummary

Step 4: login to the TARGET DC that you want the FSMO roles to transfer

  • Frist transfer RID, PDC and Infrastructure Roles
    • Open Active Directory Users and Computers
    • Right click on the domain and
    • select “OperationMaster”

      img

    • Repeat Step 1 and check the roles have been transferred successfully.
  • Second transfer Domain Naming Roles
    • Open Active Directory Domains and Trusts
    • Right click on Active Directory Domains and Trusts
    • Select OperationMaster…

      img

    • Change the Domain Naming operation master to the new DC

      img

    • Repeat Step 1 and check the roles have been transferred successfully.
  • Third transfer SchemaMaster role
    • Register new schema master via PowerShell
      1
      
       regsvr32 schmmgmt.dll
      
    • Open Microsoft Management Console (MMC)
      1
      
       mmc.exe
      
    • Click File, then select “Add/Remove Snap-in…””
    • Select Active Directory / Schema

      img

    • Right click on the Active Directory Schema
    • Select “Change Active Directory Domain Controller” and click OK

      img

      img

    • Right click on the Active Directory Schema
    • Select OperationMaster…

      img

      img

    • Repeat Step 1, 2 and 3 to check the roles have been transferred successfully.

Step A: Move the FSMO roles via powershell

The names of the FSMO roles may be typed out as well.

1
2
3
$Server = Get-ADDomainController -Identity "TK5-CORP-DC-10.fabrikam.com"

Move-ADDirectoryServerOperationMasterRole -Identity $Server -OperationMasterRole SchemaMaster,DomainNamingMaster,PDCEmulator,RIDMaster,InfrastructureMaster

or

1
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.

Step B: Verify if the FSMO roles via powershell

1
Get-ADDomainController -Filter * | Select Name, OperationMasterRoles
This post is licensed under CC BY 4.0 by the author.