Thanks. But overnight I found an answer that was successful, at least in my case. In case anyone else is struggling with this, what worked for me can be found here:
How to Convert Server 2016 Evaluation to Licensed Version. - WinTips.org
and the syntax is:
. How to Convert Server 2016 Evaluation to Licensed Version.
Author: Konstantinos Tsoukalas , Last updated: August 26th, 2021 This tutorial contains instructions to convert Windows Server 2016 Evaluation version to Licensed. As you know all Evaluations versions is available for testing for 180 days and after that period you must convert the Evaluation version to Licensed first and to use a valid product key in order to activate Windows Server 2016 (or Server 2019) and use all its features without problems.
How to Convert Evaluation Server 2016 or 2019 to Licensed Version.
To convert Windows Server 2019 or 2016 Evaluation to Licensed (Retail):
1. Open PowerShell as Administrator and give the following command to find the installed version of Server 2016:
- DISM /Online /Get-CurrentEdition
2. Then give the following command to convert the Server 2016 Evaluation version to Full Retail (Licensed):
- DISM /online /Set-Edition:ServerEdition /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
* Notes:
1. In the above command, change the ServerEdition according to the installed version.
For example…
- If the installed edition is the "ServerStandarEval" then the command is:
- DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
- If the installed edition is the "ServerDatacenterEval" then the command is:
- DISM /Online /Set-Edition:ServerDatacenter /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula