Migration AD DS from Windows Server 2003 SP2 to Windows Server 2008 R2

We have a domain controller in windows server 2003 sp2 X86 versions. And we migrate it to windows server 2008 r2. Here our domain controller name is “contoso.com” and we have also an integrated DNS.

Step 1

In the windows server 2003 sp2 domain controller click on Start button and click on Run.

In run dialog box write D:\support\adprep\adprep32 /forestprep (D:\ is the DVDROM) in open dropdown box and click on OK button.

mg30

After this the command promo run type C and press Enter button.

mg31

Then again click on Start button and click on Run.

In run dialog box write D:\support\adprep\adprep32 /rodcprep (D:\ is the DVDROM) in open dropdown box and click on OK button.

mg33

Step 2

In the new windows server 2008 r2 server start install additional domain controller.

From server manager click on roles and click on add roles.

mg19

Then click on Next button.

mg20

Click on active directory domain services also click on Next button.

mg21

Then click on Next button.

mg22

Click on Install button.

mg23

Click on dcpromo.exe then click Next button.

mg24

From active directory domain click on use advanced mode installation check box then click on Next button.

mg25

In operating system compatibility dialog box click on Next button.

mg26

From choose a deployment configuration dialog box click on existing forest  and  add domain controller to an existing domain radio button then click on Ok button.

mg27

In network credentials dialog box click on Next button.

mg28

From select a domain dialog box click on Next  button.

mg29

From select a site dialog box click on default-first-site-name and click on Next button.

mg34

In additional domain controller options dialog box click on DNS server and Global catalog check box and click on Next button.

mg35

From install from media dialog box click on  replication data over the network from an existing domain controller radio button and click on Next button.

mg36

In source domain controller dialog box select domain and click on Next button.

mg37

Click on Next  button.

mg38

From directory service restore mode administrator password dialog box write password and confirm password text box click on Next button.

mg39

From summary dialog box click on Next button.

mg40 mg41

Now click on Finish button.

mg42

Domain controller installation completed.

Step 3

Change schema partition.

In the windows server 2003 sp2 domain controller click on Start button and click on Run.

In run dialog box write mmc in open dropdown box and click on OK button.

oms2

In mmc console box click on File menu and click on add/remove snsp-in….  menu

oms3

From add/remove shap-in dialog box click on Add.. button.

oms4

Select Active directory schema  and click on add button.

oms5

Right click on active directory schema and click on change domain controller.

oms8

In specify name text box write the domain name and click on Ok button.

oms7

Right click on active directory schema and click on operation master.

Then click on change button.

oms9

Click on yes button.

oms10

Click on Ok button.

oms11

Step 4

Change Domain level operation master.

In the windows server 2003 sp2 domain controller click on Start button, click on administrative tool and click on active directory users and computers.

om01

Right click on active directory users and computers and click on connect to domain.

om02

Click on new domain (here vms103.contoso.com) and click on Ok button.

om03

Right click on domain click on all task and click on Operation Master.

om04

Click on RID, click on Change button.

om05

Click on Yes button.

om06

We do the same  thing for PDC and infrastucture role.

Step 5

Change Domain master partition.

In the windows server 2003 sp2 domain controller click on Start button, click on administrative tool and click on active directory domain and trusts.

om1

Right click on active directory domain and trusts and click on connect to domain controller.

Click on new domain (here vms103.contoso.com) and click on Ok button.

om3

Right click on active directory domain and trusts and click on operation master.

om2

Click on Change button.

om5

Click on Yes button.

oms10

Click on Ok button.

oms11

Step 6

Migrate DNS.

In the windows server 2003 sp2 domain controller click on Start button, click on all programs then click on windows support tools and click on command prompt.

dns1

In command prompt give command dnscmd /EnumDirectoryPartitions.

dns2

Here we get the FQDN of directory partitions.

In the new windows server 2008 r2 server.

Click on Start button and click on command prompt.

dns3

In command prompt write command dnscmd /EnlistDirectoryPartition <FQDN of partition>.

dns4

Here shows a error massage that the DNS partotions are avilable.

In the windows server 2003 sp2 domain controller. We stop the dns with the command net stop “dns server”. And copy the registry value of dns server with following commands.

reg export HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\DNS\Parameters %Windir%\System32\DNS\Dns-Service.REG

And

reg export “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server” %Windir%\System32\DNS\Dns-Software.REG

Then we copy the files of c:\windows\system32\dns and start the server with the command net start “dns server”.

In the new windows server 2008 r2 server.

Paste the files copied from previous dns server and run the exported registry value.

 

Step 7

Change the Ip address of previous version server and change the computer name.

Then we change the Ip address of new server and the computer name.

The command of change computer name is:

netdom renamecomputer %computername% /NewName:<new computer name>

Advertisements

Every problem has it's own solution. But we need to find it and solve.

Tagged with: , , , , ,
Posted in Active Directory
2 comments on “Migration AD DS from Windows Server 2003 SP2 to Windows Server 2008 R2
  1. Denny says:

    Hi ,

    This is Denny, the creator of this free automated employee
    provisioning/termination app– Z-hire. I wrote this app for the TechNet community a year ago.

    Since you run a very informative blog, I would like your help
    spread the word. Since my application is free, i need supporters from the
    community. It would means a lot if you can help.

    Here is a link to my app
    http://www.zohno.com

    Thanks
    Denny

    • Mithun Dey says:

      At first thanks for your comment. I just download your app. I need to check your app cause when it is downloading it shown as spam. And say what kinds of help I can do for you.

      Thanks
      Mithun Dey

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: