Active Directory Migration From Windows Server 2008 r2 to 2019

0
146

Active Directory Migration – In this blog, we’ll move the roles on our Server2008 (Windows Server 2008 R2 SP1) AD server to Server2019 (new Windows Server 2019 Standard).

Before proceeding to migrate an Active Directory from Windows Server 2008 R2 to Windows Server 2019, you want to first install Windows Server 2019 on a replacement machine which can then be promoted to Active Directory Server 2019.

Install Windows Server 2019.

How to Install Windows Server 2019, Click here

Rename Windows Server 2019.

How to rename Windows Server 2019, Click here

Configure the IP Addresses in Server 2019.

The next step is to configure the IP and the DNS Addresses on the new server.

                           Windows Server 2008 R2           Windows Server 2019

Computer Name:             Server2008                            Server2019

Domain Name:              xpertstec.local

IP Address (Static):          10.0.0.20                                 10.0.0.22

Subnet Mask:                255.255.255.0                            255.255.255.0

Default Gateway:            10.0.0.1                                   10.0.0.1

Preferred DNS Server:   10.0.0.20                                 10.0.0.20

Active Directory Migration 2008

1- First, let’s have a glance at my environment. we have a domain controller xpertstec.local which is installed on Windows Server 2008 R2.

active directory users and computers

Raise the Forest Functional Levels and Domain Functional Levels in Windows Server 2008 R2.

2- Click Start and select Administrative Tools and then Active Directory Domains and Trusts.

server 2008 administrator tools

3- Right click on Active Directory Domains and Trusts and choose Raise Forest Functional Level.

server 2008 domains and trusts

4- Select an available forest functional level “Windows Server 2008 R2 and click Raise.

server 2008 raise forest functional level

5- Now click on OK.

server 2008 raise the forest functional level

6- The forest functional level was raised successfully so click on ok.

server 2008 functional level raised successfully

Now Raising the Function Level of the Domain

7- Right click on the Domain name (xpertstec.local) and click Raise Domain Functional Level.

server 2008 raise domain functional level

8- It has already got raised the Domain Functional Level to Windows Server 2008 R2 so click on close.

server 2008 current domain functional level

9- Now type the Netdom query fsmo command to check which server has installed FSMO roles.

netdom query fsmo command

10- DNS Manager.

dns manager server 2008

Active Directory Migration Steps

Join Windows Server 2019 to an Active Directory Domain.

How to Join Windows Server 2019 to an Active Directory Domain, Click here

Now sign in Windows Server 2019 with the domain administrator account.

Create Additional Domain Controller (ADC) In Windows Server 2019

How to Create Additional Domain Controller (ADC) In Windows Server 2019 so Click here

11- Now have a look at my active directory Domain Controllers  Server2008. We can now see that our server Server2019 is in the domain role.

active directory users and computers

Transferring the Flexible Single Master Operations (FSMO) Role

I have a Windows Server 2008 Domain Controller (server2008) and have a further Windows Server 2019 domain controller (Server2019). To finish the migration. We’d like to transfer 5 FSMO roles to the new domain controller.

  1. Schema Master
  2. Domain Naming Master
  3. PDC
  4. RID pool manager
  5. Infrastructure Master

12- To find which server is currently holding FSMO then run the following command. netdom query fsmo

netdom query fsmo

The FSMO roles are currently with the Windows Server 2008 R2 Active Directory domain controller (server2008)

Using Active Directory Schema snap-in to transfer the Schema Master role 13- Open Command Prompt in administrative mode and type regsvr32 schmmgmt.dll and then click on ok.

regsvr32 schmmgmt

Operations Master Roles Tranfer

14- On the Server2019 server, open Active Directory Users and Computers, right click domain xpertstec.local and then click Operations Masters.

active directory 2019 operations masters

15- On the Operations Masters, Select the RID tab and select the Change button.

server 2019 operations masters

16- Now click Yes.

active directory 2019 operations masters role

17- The operations master role was successfully transferred so click ok.

active directory 2019 transferred roles

18- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

active directory 2019 operations masters

19- On the Operations Masters, select the PDC tab and then click the change button.

active directory 2019 operations masters pdc

20- Now click Yes.

active directory 2019 transfer roles

21- The operations master role was successfully transferred, then click ok.

active directory 2019 operations masters transferred

22- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

active directory 2019 operations masters pdc

23- On the Operations Masters, select the Infrastructure tab and click on change button.

active directory 2019 operations masters infrastructure

24- Then click Yes.

active directory 2019 transfer roles

25- The operations master role was successfully transferred, then click ok.

active directory 2019 operations masters transferred

26- Now you can verify that Operation master now transferred to our new Server Server2019.xpertstec.local

active directory 2019 operations masters infrastructure

27- Open Server Manager and select Tools and then click Active Directory Domains and Trusts.

windows server 2019 dashboard tools

28- Right click on Active Directory Domains and Trusts and then select change active directory domain controller.

domains and trust change active directory domain controller

29- Select this Domain Controller or AD LDS Instance and click on the domain controller that you want to be the schema master role and then click ok.

change directory server 2019

Transfer Domain Master Role

30- Right click Active Directory Domains and Trusts and then select Operations Master.

domains and trusts operations masters

31- Now click on Change

server 2019 domain naming operation master

32- then click Yes.

domains and trusts role transfer

33- The operations master was successfully transferred then click ok.

domains and trusts role transferred

34- Confirmed the domain naming operation master role and click on Close.

domain naming operations master

35- Now we need to move our Schema Master role, so we need to register the schmmgmt.dll open command prompt and run the command below.

Regsvr32.exe C: windows system32 schmmgmt.dll

The process was completed successfully so click on ok.

server 2019 regsvr32 command

36- Open Microsoft Management Console mmc type mmc and then hit enter.

mmc command

Console

37- Select the File tab and then select Add/Remove Snap-in.

server 2019 add remove snap-in

38- From the left side, under Available Snap-ins, Select Active Directory Schema, click Add button and then click ok.

server 2019 add remove snap-in

39- Right click Active Directory Schema, and then select Change Active Directory Domain Controller.

server 2019 console root

40- Select this Domain Controller or AD LDS Instance, click on the domain controller that you want to be the schema master role and then click on ok.

change directory server 2019

41- Now click OK.

active directory schema snap-in

42- In the console1, right click Active Directory Schema (Server2019.xpertstec.local) and then select Operations Master.

change directory schema operations master

43- Select the Change button.

change directory change schema

44- then click Yes.

change directory schema master

45- The active directory schema Operations Master successfully transferred then click ok.

change directory change schema master

46- Now confirm your current schema master which is Server2019 and then click Close.

change directory schema master 2019

47- Now run the Netdom query fsmo command, so we can now see that our roles have been moved to our Windows Server 2019 Additional Domain Controller.

netdom query fsmo command

48- Now change the DNS address of our additional Domain Controller server to be the IP address of our Windows Server 2019 Domain Controller server.

network protocol properties

After completing Active Directory Migration, Now the ultimate step is to get rid of (uninstalling) server2008 Active Directory domain controller.

Remove Active Directory Domain Controller 2008

49- Open command prompt Type dcpromo and then hit Enter.

dcpromo command

50- Click Next.

run dcpromo server 2008

51- The Active Directory domain controller has the global catalog service, make sure your primary DC also has the service enabled and click on ok.

active directory install wizard

52- Confirmed that the delete this domain, because this server is the last domain controller in the domain, is UNCHECKED and then click next.

active directory installation wizard

53- Type a password for the new Administrator account on this server and click next.

active directory installation password

54- Review the remove active directory domain services Summary and click Next.

active directory 2008 installation wizard

55- Check the Reboot on completion box to restart the server after the service has been removed

active directory setup dcpromo

56- After rebooting server2008 DC. Now log in with the local administrator account and then open Server Manager.

server 2008 start menu

57- In Server Manager click Roles under Roles Summary and click Remove Roles.

server manager 2008

58- Remove active directory domain controller 2008 Roles wizard, click next.

server 2008 remove roles wizard

59- Uncheck Active Directory Domain Services and DNS Server box and click next.

server 2008 remove roles dns

60- Click Remove.

server 2008 confirm remove roles

61- Now click Close.

server 2008 remove results

62- Do you want to restart now so click on Yes.

server 2008 uninstalling domain

63- After rebooting server Log back to server2008, active directory domain services removal succeeded and click Close.

server 2008 removal result

64- Disjoin the machine from the domain

Join to Workgroup

In the Server Manager, under Server Summary and click Change System Properties.

server manager 2008

65- On the System Properties and click the change button.

server 2008 system properties

66- Select Workgroup type in a workgroup name and then click on ok.

server 2008 name workgroup

67- After leaving the domain Warning message so click ok.

server 2008 computer name change

68- Welcome to the workgroup and click on ok.

server 2008 welcome workgroup

69- Click OK to restart the server.

server 2008 how to rename

70- System Properties, click Close.

system properties

71- Click Restart Now or Restart Later and shut down this server.

rename server restart now

Like and subscribe our YouTube channel to watch updated videos.

For more information click here

LEAVE A REPLY

Please enter your comment!
Please enter your name here