How To Seize AD FMSO Roles In Server 2012 R2 – PowerShell

IT Support Forum Forums Active Directory General Discussion How To Seize AD FMSO Roles In Server 2012 R2 – PowerShell

Viewing 0 reply threads
  • Author
    Posts
    • #1988
      Webmaster
      Keymaster

      The following command transfers all FSMO roles to a target domain controller.

      Move-ADDirectoryServerOperationMasterRole -Identity “Target_DC_name” –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster

      To seize the FSMO roles run the below command, which is the same but with a -Force switch. (which is the same as tranferring, but it doesn’t update the DC database that previously hosted the roles – hence making it unusable – note you shouldn’t reconnect a DC to a domain network after it’s roles have been seized. There may also be some clean up to remove the old AD controller from the remaining AD database).

      Move-ADDirectoryServerOperationMasterRole -Identity “Target_DC_name” –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster -Force

      Note that both commands should be from a PowerShell window that is run as administrator, and the user account running the commands should be an Enterprise Admin and/or a Schema Admin (AD security groups).

Viewing 0 reply threads
  • You must be logged in to reply to this topic.