Upgrade Restrictions (I was successful on a domain controller but do so at your own risk)
- You cannot upgrade a server with an Active Directory Domain Service domain controller role. It will first have to be demoted to a member server
- NIC Teaming must be disabled before upgrading
- Windows Server Evaluation Datacenter cannot be upgraded to Windows Server Standard Full
- You can convert both the full GUI version of Windows Server and the Windows Server Core (converting the trial version of Server Core is supported starting from the release of Windows Server 2016 14393.0.161119-1705.RS1_REFRESH)
If at any point the progress gets stuck at 10% (greater than 10 minutes) disconnect the network cable and it should continue
Once complete you can then activate with your retail or open license volume MAK key
These are Microsoft GVLK keys which you will replace with your licensed key after the upgrade
A reboot is required so plan for that
Server 2016 Standard
dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula
Server 2016 Datacenter
DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula
Server 2019 Standard
dism /online /set-edition:ServerStandard /productkey:N69G4-B89J2-4G8F4-WWYCC-J464C /accepteula
Server 2019 Datacenter
dism /online /set-edition:ServerDatacenter /productkey:WMDGN-G9PQG-XVVXX-R3X43-63DFG /accepteula
Server 2022 Standard
dism /online /set-edition:serverstandard /productkey:VDYBN-27WPP-V4HQT-9VMD4-VMK7H /accepteula
Server 2022 Datacenter
dism /online /set-edition:serverdatacenter /productkey:WX4NM-KYWYW-QJJR4-XV3QB-6VM33 /accepteula
Reference: