Tag Archives: schema

Step-by-Step Guide to migrate FSMO roles from windows 2003 server to windows 2012 R2 server

Even its been over decade after windows server 2003 release , It’s no wonder that still organizations using windows server 2003 / windows server 2003 R2 as their domain controllers. Microsoft has announced that windows server 2003 / windows server 2003 R2 supports ends on 2015, July 14th (http://support2.microsoft.com/lifecycle/search/default.aspx?sort=PN&alpha=Microsoft+Windows+Server+2003&Filter=FilterNO). So the day has come to plan out for the upgrades if you still running those versions in infrastructure.

This guide will explain how we can transfer DC FSMO roles from windows server 2003 to windows server 2012 R2 which is latest. In Windows DC environment FSMO roles holds all the information about DC and its necessary to have all this 5 roles working correctly to maintain proper DC environment. The 5 FSMO roles as following,

•    Schema master
•    Domain naming master
•    RID master
•    PDC emulator
•    Infrastructure master

You can find more information about this roles from http://support.microsoft.com/kb/197132

For the demonstration I am using the following setup

Server Name

Operating System

Server Roles

canitpro-dc2k3.canitpro.local

Windows server 2003 SP2 x86

Active Directory FSMO roles, DNS

CANITPRO-DC2K12.canitpro.local

Windows server 2012 R2 x64

Additional Domain Controller, DNS

So in here I already added windows 2012 r2 server to domain and make it additional domain controller. Currently it do not hold any FSMO roles. My plan is to migrate all the FSMO roles in to windows 2012 r2 server.

role1

Note : In before if we adding windows 2008 server to windows 2003 environment, first we need to prepare the forest and domain schema by running adprep \forestprep and adprep \domainprep  from windows 2008 source files \ support \ adprep. But in windows 2012 you do not need to worry about it when adding 2012 as additional domain controller. When you run the dcpromo it will automatically update it in windows 2003 remotely.

Transfer RID master, PDC emulator, Infrastructure master Roles

As the first step let’s look how we can transfer these 3 roles over to new server.

•    Log in to the windows 2012 R2 server as domain administrator
•    Click on Server Manager > Tools > Active Directory Users and Computers

role2

•    In MMC, right click on the domain name > click on “Operation Masters”

role3

•    In next window it will show the 3 FSMO roles. The default is “PDC”. In there it shows the current PDC holder. Then it is asking if need to change it to new windows 2012 r2 server click on change. There for lets go ahead and click on “Change”

role4

•    Then it’s asking for confirmation. Click yes to continue.

role5

•    Once its confirm as operation completed we can see the window shows the current PDC role holder as new windows 2012 r2 server.

role6

•    Please repeat the same steps to transfer the RID master and Infrastructure master Roles

Transfer domain naming master role

•    Log in to the windows 2012 R2 server as domain administrator.
•    Click on Server Manager > Tools > Active Directory Domains and Trusts.

role8

•    In MMC right click on Active Directory Domains and Trusts > click on Operation Master.

role9

•    In here it shows the current domain naming master role holder (canitpro-dc2k3.canitpro.local) and its asking if we need to move it to windows server 2012 R2 (CANITPRO-DC2K12.canitpro.local). Click on change to move the role over.

role10

•    Then it’s asking for confirmation and click yes to continue.

role11

•    Once its confirm about task completion we can see current domain naming master is windows server 2012 R2 (CANITPRO-DC2K12.canitpro.local).

role12

Transfer schema master role

•    Log in to the windows 2012 R2 server as domain administrator.
•    Open “Run” window in server (Windows key + R) and type regsvr32 schmmgmt.dll and press enter.

role13

•    It will give the confirmation message and click on ok to continue.

role14

•    Then again open “Run” window and type mmc and click ok

role15

•    Then in mmc window click on File > Add-Remove snap-in

role16

•    Then from snap in select “Active Directory Schema” and click on “Add” button

role17

•    Then click on Ok button to continue

role18

•    Then right click on “Active Directory Schema” and click on “Change Active Directory Domain Controller”

role19

•    In Next window select the windows server 2012 R2 DC (CANITPRO-DC2K12.canitpro.local) and click ok.

role20

•    It will give information message and click ok to continue. 

role21

•    Then right click on “Active Directory Schema” and click on “Operation Master”

role22

•    In here it shows the current schema master role holder (canitpro-dc2k3.canitpro.local) and its asking if we need to move it to windows server 2012 R2 (CANITPRO-DC2K12.canitpro.local). Click on change to move the role over.

role23

•    Then it’s asking for confirmation and click yes to continue.

role24

•    Once it’s confirm about task completion we can see current schema master is windows server 2012 R2 (CANITPRO-DC2K12.canitpro.local).

role25

Now we successfully move all 5 fsmo roles over to new windows server 2012 R2. To confirm it open command prompt in new server and type command netdom query fsmo and press enter.

role26

Yipeeee!!! Its shows as all fsmo roles moved successfully.

It will take some time to move all the data over. After that it’s safe to demote the DC role from the windows 2003 server.
Once its demote 2003 DC make sure you raise the forest functional level and domain functional level in to windows server 2012 R2 to experience new changes.
If you have any questions regarding the post feel free to contact me on rebeladm@live.com