In-place upgrade Windows 2016 DC to 2019 DC

In this article, we will show you how to upgrade Domain Controller from Windows Server 2016  to Windows Server 2019 in-place.

Note: It is recommended to promote a domain controller on a new server Windows 2019 and then demote the old one. However, for many small companies, they have only one DC and in-place upgrade is their only option.

A. Collect info

1.  Open a command prompt, go to c:\Windows\system32, and then type systeminfo.exe. Copy and save the resulting system information.

2. Type ipconfig /all into the command prompt, and then save the resulting configuration information into the same location as above.

3. Open the Registry Editor, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion hive, and then copy and paste the Windows Server BuildLabEx (version) and EditionID (edition) into the same location as above.

B. Prepare

1. Windows 2019 domain controller requires the domain functional level  to be 2008 or higher. To check the domain functional level, open Active Directory Domains and Trusts. Right click on the domain and then Property.

2. To do in-place upgrade of an existing domain controller to the Windows Server 2019, you need to run adprep /forestprep and adprep /domainprep manually.

Adprep.exe is in Windows server 2019 DVD Support>Adprep folder.

When running adprepe /forestprep, you will receive the warning, enter C and press Enter to continue.

3. Ru dcdiag to check the status of DC health

For example, dcdiag /test:DNS

4. Verify current AD schema by running Powershell (in elevated mode) and run following command:

 Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion

You can see objectversion is showing as 87, which means we have “Windows Server 2016” schema.

C. Installation

1. From Windows Server 2019 DVD, right click on setup.exe and select “Run as Administrator“.

2. Select Yes to start the setup process.

3. Next page will show Get updates, drivers and optional features. Select “Not right now” and click on Next.

4. In Select Image, click on Windows Server 2019 Standard (Desktop Experience).

5. In Application notices and license terms, click Next.

6. In Choose what to keep, check Keep personal files and apps since we are doing in-place upgrade.

7. Click Install in Ready to install

8. It starts installing Windows Server 2019. It may take 30 minutes to complete it.

D. Check the status of DC and test after your upgrade is done

1. Run dcdiag to check any errors.

2. Test login, access websites and more.

Please view this step by step video:

Published by

Bob Lin

Bob Lin, Chicagotech-MVP, MCSE & CNE Data recovery, Windows OS Recovery, Networking, and Computer Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com