Server 2012 – View and moving FSMO roles using mostly GUI

Server 2012 – View and moving FSMO roles using mostly GUI.
LAB Setup:
In this LAB, we have 2 Domain Controllers, and want to change where the FSMO roles and GC resides. In this case, we are migrating from Server 2008r2 to a Server 2012 DC and want to decommison our 2008r2 server.

Content:

  1. View the current FSMO roles placements
  2. Transferring the Schema Master Role
  3. Registering the Schema Tool
  4. Change Schema Master FSMO role
  5. Change the RID, PDC and Infrastructure FSMO Roles
  6. Change Domain Naming Master FSMO role
  7. Changing Global Catalog Server
  8. Move all FSMO roles using Powershell in one step
  9. If you have an Exchange Server in your domain

 

View the current FSMO roles placements:
Open Powershell and type in: “netdom Query fsmo”

netdom

We also want to see where our Global Catalog resides:
Open Powershell and type in: “Get-Adforest | FL GlobalCatalogs”. Here we can see that GC is residing on both our DCs, which is best practice.

ps-gc

 

Lets get started.

Transferring the Schema Master Role
Source: http://support.microsoft.com/kb/255690

You can use the Schema Master tool to transfer the role. However, the Schmmgmt.dll dynamic-link library must be registered in order to make the Schema tool available as an MMC snap-in.

Registering the Schema Tool

  1. Use Powershell or open a CMD
  2. Type “regsvr32 schmmgmt.dll”, and then click OK.
    A message should be displayed stating that the registration was successful.
    regsvr32


Change Schema Master FSMO role.:

  1. Open MMC – file – add/remove snapin
  2. Notice the new “Active Directory Schema” plugin you can choose.
    Add “All 4 and click ok.
    schemasnapin
  3. Right-click the “Active Directory Schema” and click the “Change Active Direcotry Domain Controller…”. If this option is not available, first click the “Connect to Schema Operations Master”. If you make the change from the Source server, you do not have to do this.
    change-schemamaster
  4. In the window that opens, select the server you want to be Schema master, and click ok. You will get a warning, but that only signify we need to complete the change.
    To complete the change, rightlick the “Active Directory Schema” Again, and click the “Operations Master.
  5. As you can see, our 2012 server is not listed below the change button. To complete the change, hit “Change”, Yes, ok, and close.
    change-schemamaster02
  6. Running “netdom Query fsmo” in powershell, will show the change for Schema Master.


Change the RID, PDC and Infrastructure FSMO Roles

  1. Expand “Active Directory Users and Computers” and right-click the domain name and choose “Operations Masters…”
    ad-users-computers-fsmoad-users-computers-fsmo-02
  2. As with the “Schema Master”, Press Change, Yes, OK and notice the change. Now do the same for PDC and Infracture.
    Your 2012 server should now be listed as Operations Master for all three FSMO roles.


Change Domain Naming Master FSMO role

  1. Right-click the “Active Directory Domains and Trusts” and choose “Operations Master.
    Click change, Yes and ok. Notice the change on Domain Naming opretaions master, and hit close.
    ad-dom-trust-fsmo


Changing Global Catalog Server.

  1. Since we are decommisioning our 2008r2 server, we are also going to remove the GC role from that one. We can do this from our 2012 server as well.
  2. Expand “Active Directory Sites and Services” all the way Down to Servers  and [servername]. Right-click “NTDS Settings” under the server and remove the tick next to Global Catalog.
    Click OK.
    ad-site-services-GC

Verify the changes:
netdom-done

Not strictly necessary, but restart both servers to make sure the changes has taken effect.


Move all FSMO roles using Powershell in one step:
In order to move the FSMO roles using Powershell, you first have to import the Active Directory module:
Start Powershell and type/run “ipmo ActiveDirectory”
Syntax:
Move-ADDirectoryServerOperationMasterRole -identity [target server] -OperationMasterRole [FSMO roles to move seperated by ,]
Move-ADDirectoryServerOperationMasterRole -Identity “DC2012” -OperationMasterRole RIDMaster,PDCEmulator, InfrastructureMaster, SchemaMaster, DomainNamingMaster

If you have an Exchange Server in your domain:
Make sure it has found your new FSMO setup after restart.
View in Server Configuration – Hub Transport – Properties on your Exchange Server – System Settings.
These settings are Automatic as default, except if you instaleld your Exchange on a Global Catalog Server, which is not supported by Microsoft after Exchange 2007.

exchange-fsmo

Posted in Server 2012 Tagged with: , , , , , , ,
0 comments on “Server 2012 – View and moving FSMO roles using mostly GUI
2 Pings/Trackbacks for "Server 2012 – View and moving FSMO roles using mostly GUI"
  1. […] to our Server 2012 – View and moving FSMO roles post, where the individual steps are describe using GUI, we get the Powershell version […]

  2. […] from our previous post “Server 2012 – View and moving FSMO roles using mostly GUI” where we move the fsmo roles from the 2008r2 server to the 2012 server, we are now going to […]

Leave a Reply