How to migrate Active Directory Windows 2019 Server to Windows 2022 Server?
We are going to migrate the DC2019 Active directory (with OU and Users) into DC2022 so let's make both servers in our Hyper -V.
Note: In DC2019 you should create OU and Users. On the right side server, we have employees OU inside 2 OU (sales and marketing) + users also. We are going to migrate all the OU and users from DC2019 to DC2022.
| 
|
Right Click on Domain name > choose Properties | Domain Functional level = windows server 2016 And Forest functional level = windows server 2016 
|
Now go to Windows server 2019 and check which server has All roles.

| You will see all the roles’ owner name is DC2019 |
Before do anything, in DC2022 Server just change the
| 
|
Now try to ping from DC2022 to DC2019. | 
|
Now to perform the migration, we have to add roles Active Directory Users and computers in DC2022 also.

| To Promote this server to a domain controller: Choose to add a domain controller to an existing domain option. Put your Domain name: like: akshrestha.com Then finish this process.

|
Now after restart the DC2022, Open Server manager
6. Now Click on tools again > Active directory sites and services. We can check whether the servers are replicating or not.
You will see both the servers listed. | 
|
7. Now Select the DC2022: (Replication time)
| Now we have to right click on that link and click on Replicated Now option. 

Click ok. |
8. Now Go to DC2019 Server manager
Click on tools > Active directory sites and services Right click on DC2019 Select All tasks Click on “Check Replication Topology” Click ok. You will see the right side of the below windows “automatically generated” link.

| Now we have to right click on that link and click on Replicated Now option. 

You can see both the servers are Replicated. |
9. Now we have to disconnect from “Global Catalog” in DC2019 from both servers.
DC2022 
| 
|
10. Now time to transfer FSMO role from DC2019 to DC2022 server. So go to DC2022 server
(NTDSUTIL is a command-line tool in Microsoft Windows that is used for managing Active Directory (AD) databases, including performing maintenance tasks and database operations) Than type : roles Fsmo maintenance: connections Server connections: connect to server dc2022 It will binding to dc2022 Type quit Type help command , you will see the all FSMO transfer commands
| 
The below commands are we have to perform to transfer the all FMSO roles from DC2019 to DC2022 
|
Now check the who is the current own of FSMO role follow below command:
Before FSMO Role (DC2019) 
| After FSMO Role (DC2022)
|
Now we can say we successfully migrated the AD and Transfer FSMO role from DC2019 to DC2022.
Thank you .
Comments