Step-By-Step Guide To Migrate From Active Directory 2012 R2 To Active Directory 2019 (PowerShell Guide) - Technical Blog - REBELADMIN-English
Step-By-Step Guide To Migrate From Active Directory 2012 R2 To Active Directory 2019 (PowerShell Guide) - Technical Blog - REBELADMIN-English
Skip Ad
00:34 / 00:46
0:07
Windows server 2019 was available for public (GA) from early oct
2018. In past i have written many articles about domain migrations
by covering different Active Directory versions. So, it is time me to
write about AD 2019 migrations. In this demo I am going to
demonstrate how to migrate from Active Directory 2012 R2 to Active
Directory 2019. The same procedure is going to apply for any AD
version from Windows Server 2008.
Migration itself is very straight forward task. But there are other
things you need to consider before you do an AD migration. In below
I am Dishan Francis. I’m a
I listed a checklist you can use in many occasions.
Azure/Identity Consultant at
Microsoft. I’m a dedicated and
• Evaluate business requirement for active directory migration enthusiastic information
technology expert who enjoys
• Perform Audit on Existing Active Directory Infrastructure professional recognition and
Confidentialité - Conditions
• On Going Maintenance
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 2/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Automate
more.
Deliver
faster.
Always
improve.
Start your free trial
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 3/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Install-ADDSDomainController
-CreateDnsDelegation:$false
-NoGlobalCatalog:$true
-InstallDns:$true
-DomainName "therebeladmin.com"
-SiteName "Default-First-Site-Name"
-ReplicationSourceDC "REBEL-DC2012.therebeladmin.com"
-DatabasePath "C:\Windows\NTDS"
-LogPath "C:\Windows\NTDS"
-NoRebootOnCompletion:$true
-SysvolPath "C:\Windows\SYSVOL"
-Force:$true
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 4/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Argument Description
Get-Service adws,kdc,netlogon,dns
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 5/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Will list down the domain controllers along with the IP address and
Sites it belongs to.
9. Migrate all five FSMO roles to the New domain controller using
following command,
Once its completed, we can verify the new FSMO role holder using
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 6/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
10. The new step of the process is to decommission the old windows
domain controller which running with windows server 2012 R2. To
do that execute the following command as enterprise administrator
from the relevant DC.
Uninstall-ADDSDomainController -DemoteOperationMasterRole -
RemoveApplicationPartition
After execute the command it will ask to define password for the
local administrator account.
11. Next step is to raise the domain and forest functional level to
windows server 2019. To do that can use the following commands.
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 7/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Get-ADDomain | fl Name,DomainMode
This command will show the current Domain functional level of the
domain after the migration.
Get-ADForest | fl Name,ForestMode
Above command will show the current forest functional level of the
domain.
This marks the end of this blog post. Hope this was useful. If you
have any questions feel free to contact me on [email protected]
also follow me on twitter @rebeladm to get updates about new blog
posts.
Comments
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 8/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Vicky says
ARCHIVE CONTACT US PRIVACY POLICY
December 11, 2019 at 3:10 pm
Reply
Murali says
July 17, 2020 at 6:07 am
Reply
Giuliano says
August 14, 2020 at 4:09 pm
Reply
Reply
Eshwar says
September 24, 2020 at 8:56 pm
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 9/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
The one problem I ran into was that after making my 2019
machine the Domain Controller, it required network
reconfiguration: I had to make it take over DHCP and DNS
from the 2012 machine. This also meant that I had to have
the 2019 machine take over the Static IP of the 2012 machine
(so that DNS traffic in the network would come to it now).
Without that the decommissioning step would abort because
the 2012 machine couldn’t find another Domain Controller
on the network (so it wouldn’t downgrade itself).
Reply
Leave a Reply
Your email address will not be published. Required fields are marked
*
Comment
Name *
Email *
Website
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 10/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Save my name, email, and website in this browser for the next time
ARCHIVE CONTACT US PRIVACY POLICY
I comment.
POST COMMENT
Rebeladmin.com is
listed among Top
100 Microsoft
Azure Blogs in
2022. For more
info….
I am glad to
announce that I
have been awarded
with MVP award by
Microsoft for 7th
consecutive time.
For more info….
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 11/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Empower
collaboration.
Increase
productivity.
Start your free trial
Network Requirements
SOCIAL MEDIA
Step-by-Step guide to Azure Bastion IP-Based
Connection
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 12/13
22/11/2022 10:25 Step-by-Step Guide to Migrate from Active Directory 2012 R2 to Active Directory 2019 (PowerShell Guide) - Technical Blog | REB…
Domain Services
ARCHIVE
Azure AD Azure
CONTACT US
AD connect
PRIVACY POLICY
Azure AD Domain Service Azure Conditional Access Azure
Domain Service Azure Domain Services Azure
HighAvailability Azure IaaS Azure Information Protection
Confidentialité - Conditions
https://www.rebeladmin.com/2019/01/step-step-guide-migrate-active-directory-2012-r2-active-directory-2019-powershell-guide/ 13/13