HomeMicrosoftHow to Active Directory Migration Server 2019 to 2022

How to Active Directory Migration Server 2019 to 2022

Let’s have a look at this article on how to use Active Directory Migration Server 2019 to 2022. In short, we will describe a way to innately migrate user profiles, databases, applications, shares, and data from any server to a new server in 2022/2019 with compatibility considerations and role migration best practices. In the previous article, I set up an additional domain controller on Server 2022.

Virtual Machines Details

Virtual MachineOSIP AddressRole
AD20192019Primary Domain Controller192.168.121.200
AD2022 (new AD)2022Secondary Domain Controller192.168.121.202

Virtual Machines Details

First, run the below command to learn about the PDC Emulator, Infrastructure Master and
RID Master.

Get-ADDomain
Get-ADDomain PowerShell

Verify the Master Operation role by entering the below command

Get-ADForest

Verify the Schema Master is on AD2019.jamiltech.local and the Forest Model level is still Windows 2016.

Get-ADFores PowerShell

Active Directory Migration Server 2019 to 2022

Once a new operating system with the Windows Server 2022 OS is installed in order to make the migration,. After the migration is done, Active Directory Server 2019 domain controllers will be decommissioned.
The active directory server is running on Windows Server 2019 and has a name called AD2019. The domain name is jamiltech.local

Steps to Migrate Domain Controller Server

To set up Windows Server 2022 as an additional domain controller.
Login with your Windows server 2022, Launch server manager, and then click on the add roles and features link.

Server manager

Before you begin the page, select next.
Installation type: click next

Role based or feature based

Choose your server, and then click next.

Select destination server

Tick the box for Active Directory Domain Services.

Active directory domain services role

Click on Add Features.

Add features that are required

Select next.

Setup roles active directory

Select the feature page and click next.
AD DS (active directory domain service) page, click next.
Confirm the installation selection, and then click install.

Confirm installation selection

Once AD installation is done, click on the link “Promote this server to a domain controller”.

Promote this server to a domain controller

In the deployment configuration page, select the change button to add existing domain controller (AD2019.jamiltech.local) credentials.

Deployment configurations supply the credentials

Type credentials, and then choose OK.

Supply credentials for deployment confirmation

Verify the domain controller and click next.

Active directory Migration deployment confirmation

Enter “domain controller credentials” and choose next.

Migrate domain controller options

Click next

Active directory Migration DNS options

Specify Additional domain controller as “existing domain controller” and then choose next.

Specify additional replication options

Leave default options for paths, and then choose next.

Migrate active directory paths

Review the options and click next.

Active directory migration review options

After verifying the prerequisites, click install.

Migrate active directory prerequisite check

The system will reboot automatically after the installation.

Check Domain Controller Status

Login to the additional domain controller and type the below command to check the status of the domain name.

[System.Net.Dns]::GetHostByName($env:computerName).HostName
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
netdom query fsmo
Netdom query fsmo

Verify the registry settings

Observer the schema Version

Configure Replication between the Domain Controllers

In the Server Manager, choose the Tools tab and then Active Directory Sites and Services.

Server manager tools

Expand the default first site name, expand servers, and then add an additional domain controller (AD2022). Right-click on NTDS settings, choose all tasks, and then click on Check Replication Topology.

Active directory sites and services

Select ok

Check replication topology

Verify the replication status by opening DNS Manager (AD2022).

DNS manager msdcs

DNS Replication Status

DNS manager msdcs

Verify the replication status by opening DNS Manager (AD2019).

DNS manager local domain

DNS Replication Status.

DNS manager local domain

Migrating FSMO Roles to Active Directory 2022

Open active directory users and computers from (AD2022). Right-click on the local domain name and then select Change Domain Controller.

Change domain controller

Change to AD2022.jamiltech.local, and then click OK.

Change directory server

Right-click on the local domain again and select operation masters.

Change operations master role

Select the RID tab, and then click on Change.

Change operations master RID

Change operations master RID

Transfer operations master role

Select ok

Operations master successfully transferred

Select the PDC tab and select change.

Change operations master PDC

Select the Infrastructure tab and select Change.

Change operations master infrastructures

The RID, PID and Infrastructure roles migrated to AD2022.jamiltech.local

Migrate operations master role

Verify the Master Operation role by typing the below command

Get-ADDomain
Get-ADdomain PowerShell

To verify the Master Operation role, type the below command

Get-ADForest
Get-ADForest PowerShell

Type the “netdom query fsmo” command to get all outputs.

Netdom query fsmo

Change Active Directory Domain Controller

Open Active Directory Domains and Trusts.
Right-click on Active Directory Domain and Trusts, and then choose Change Active Directory Domain Controller.

Active directory domains and trusts

Change the directory server to AD2022.jamiltech.local, and then click OK.

Change directory server

Right-click on the active directory domain and trust and choose Operations Master.

Active directory domains and trusts

Click on the change to transfer the domain naming master role to the AD2022.jamiltech.local server.

Domain naming operations master

Click Yes

Operations master successfully transferred

Select ok

Operations master successfully transferred

Verify that the domain naming operations master is now transferred.

Domain naming operations master

In the AD2022.jamiltech.local server, open PowerShell and then enter “regsvr32 schmmgmt.dll” to change the Schema Master.
Click ok

Regsvr32 schmmgmt.dll command

Change Schema Master Role

Type mmc to open the console root.

mmc PowerShell command

Select the File tab and choose Add/Remove Snap-in.

Console add/remove snap-ins

Select Active Directory Schema, click on Add, and then click OK.

Add or remove snap-ins

Right-click on the Active Directory Schema and choose Change Active Directory Domain Controller.

Console root change active directory

In the change directory server, select AD2022.jamiltech.local and click OK.

Change directory server

Click ok

Active directory schema

Now right-click on Active Directory Schema again and select Operations Master.

Console root operation master

Select the change button to transfer the schema master role to the AD2022.jamiltech.local server.

Migrate active directory change schema master

Click Yes

Active directory schema yes

Select OK to proceed.

Operation master successfully transferred

Verify the schema master is AD2022.jamiltech.local, and then click close.

Operation master successfully transferred

Type the below command to verify schema master

 netdom query fsmo
Netdom query fsmo PowerShell

Change Global Catalog

In Active Directory Sites and Services, expand Sites, and expand Default-first-site-name. Right-click on NTDS Settings and choose properties.

Active directory sites and services

Untick Global Catalog and click OK.

NTDS system properties global catalog

Raise Domain and Forest Function Level

In the active directory user and computer, right-click on domain (jamiltech.local) and then choose Raise domain functional level.

Active directory users and computers

Here is raise domain functional level.

Raise domain functional level

Open active directory domains and trusts.
Right-click on the active directory domain and trust.
Select raise forest functional level.

Active directory domain and trusts

Here is the raised forest functional level.

Raise forest functional level

To verify the domain and forest functional levels.

Get-ADDomain | fl Name, DomainMode
Get-ADForest | fl Name, ForestMode
Get-addomain PowerShell

Now change the DNS IP address.

Internet protocol version 4 properties

To learn in detail about active directory migration, please read this article

Also, read this article: How to Upgrade Server 2019 to Server 2022.

Jamil
Jamilhttp://jamiltech.com
A Professional Technology Blog Writer | An energetic professional with more than 20+ years of rich experience in Technology, Planning, Designing, Installation, and Networking.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments

what is cryptocurrency and bitcoin on How to Backup and Restore IIS Configuration
경기광주출장안마 on How to Backup and Restore IIS Configuration
영등포출장마사지 on How to Backup and Restore IIS Configuration
Twalsu light mirror for vanity on How to Backup and Restore IIS Configuration
fitspresso analysis on How to Reset Microsoft 365 Password
historical landmarks tours for history buffs on How to Add Hyper-V Server Altaro VM Backup
9780443186882 PDF download on How to Migrate Active Directory 2012 to 2022
Shaik Mohammad Jaheer on How to Enable Night Light on Windows 11