When you try to activate Windows server 2019 from evaluation version, do you always get an error message “the product key you entered didn’t work. Check the product key and try again, or enter a different one. (0x80070490)”? Today, I am going to show you how to install license key to activate Windows Server 2019 from Evaluation version. Let’s follow steps to activate your windows server 2019 (it also can be use for activating Windows Server 2016).
Note: you cannot use slmgr /ipk command with VLSC MAK key or Retail to activate evaluation edition server directly.
- Login to Windows Server 2019.
-
Open Settings and then select System.
-
Select About and check Edition.
- If it shows Windows Server 2019 Standard or others non-evaluation edition, you can activate it without reboot.
-
Don’t use GUI to activate it, you will get error message most of time.
- Run command prompt or PowerShell as administrator.
-
Type following command.
slmgr /ipk your_product_key
-
It will pop up Windows Script Host window and shows “install product key xxxxx-xxxxx-xxxxxx-xxxxx successfully. Click OK to close the window.
-
Type following command to activate license key.
slmgr /ato
-
It will pop up Windows Script Host window and shows “Activating Windows ®, ServerStandard edition (xxxxx-xxxxx-xxxxxx-xxxxx).. Product activated successfully”. Click OK to close the window.
- That’s it, you have already activated your server without reboot.
-
But when you check your server edition and it shows Windows Server 2019 Standard Evaluation, you need more steps to activate it and need to reboot server.
-
You cannot use slmgr command to install product key(Retail or VLSC MAK key) to evaluation edition server, you will get error message “Error:0xC004F069 On a computer running Microsoft Windows non-core edition….”
-
To upgrade evaluation edition server to standard (or Datacenter) edition, you cannot use VLSC MAK key, you will got error message “Error 1168 the specified product key could not be validated……”
- You need a KMS clients Activation and product Keys—Key Management Services (KMS) client activation and product keys for Windows Server and Windows | Microsoft Docs ( and use DISM command to upgrade Edition from evaluation edition to standard (or Datacenter) edition
-
Type following command to upgrade evaluation edition to standard (or Datacenter) edition.
Standard Edition:
DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
Datacenter Edition:
DISM /Online /Set-Edition:ServerDatacenter /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula
- Click Y and restart the server. if you own VLSC MAK license not retail, you need to following steps to install your VLSC MAK key and activate for your server.
- Login the server after reboot.
- Run command prompt or PowerShell as administrator,
-
Type following command.
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (your VLSC MAK key)
-
It will pop up Windows Script Host window and shows “install product key xxxxx-xxxxx-xxxxxx-xxxxx successfully. Click OK to close the window.
-
Type following command to activate license key
slmgr /ato
-
It will pop up Windows Script Host window and shows “Activating Windows ®, ServerStandard edition (xxxxx-xxxxx-xxxxxx-xxxxx).. Product activated successfully”. Click OK to close the window.
- That’s it, you have already change product key from Retail key to VLSC MAK key and activated your server without reboot.
Hope you enjoy this post.
Cary Sun
Twitter: @SifuSun
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
In your first screenshot, you have the product key in the title. You will probably want to change that.
Hi Cary. Very helpful, but I expect you probably want to blur your window titles too. I am grateful you didn’t as I was able to use the key temporarily with my network disconnected before switching to my volume license key to activate against our KMS. The choice between reinstalling a couple of servers or buying a retail key just for the purposes of changing an Eval to a licensed server really sucked. In future I know to download the ISO from VLSC not the Eval site.
We have fixed it up now
This did not work for ServerStandardEvalCor to ServerStandardCor. Still trying to get it licensed.
I just tried and it worked. You would need to convert the Evaluation Copy to Standard using a Retail Product key (which i got from the internet) instead of your MAK key. Once converted to Standard, you can then activate (Powershell) using your MAK key from VLSC.
Thanks Cary.
HOW?! Im banging my head for 2 days now. CORE edition creates error 1168. Maybe you have misread clwolf, it is problem to activate ServerStandardEvalCor to ServerStandardCor (please note the “cor” in edition). Can you please write steps if you managed to fix problem with “cor” one.
Thank you! Steps 14-18 allowed me to activate 2019 Standard Eval to 2019 Standard. The PowerShell command was not needed in my case. The license was updated after re-boot.
I had a problem with my key. I always got the message “Error 1168 the specified product key could not be validated……”. So I used the public microsoft standard key for the KMS to switch from StdEval Std. After the switch I was able to change the key with slmgr /ipk
In step 16, we used the generic KMS key to convert from EVAL. After rebooting we were able to input the MAK key using the GUI.
Thanks! It worked
You can activate windows evaluation version using Volume license key in a tricky way.
If you have OEM or retails key you can use slmgr /ipk to install new prodcut key slmgr /ato to activate windows.
But to activate volume license key use follow the below procdure .
Run this command as administrator
Check your current edition of windows using the below command
DISM /online /Get-CurrentEdition
Refer the below URL and find the product for your current edition (I was installed windows 2019 standard and product i taken from below URL
is N69G4-B89J2-4G8F4-WWYCC-J464C is windows server LTSC/LTSB edition)
https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys
Then remove the existing key using below command
slmgr /cpky —- remove key from registry
slmgr /upk —uninstall the product key
run the following command in command prompt as admin
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
if command run successfully, it will prompt to restart server.
After restart run the below command as administrator
slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-904CC-J462D (My volume license key, use your key instead)
slmgr.vbs .ato ( to activate windows )
This is works for me.
Thank you so much! This is the only method that actually worked for me after trying all sort of fixes.
Excellent saji Its worked for me. I was worried for my domain connected file server but as you suggested in steps its done 🙂
You saved many people big effort and time. Thanks a lot….
Thank you very much! Step 16 did the trick. We wanted to activate Server Standrad Evalualtion with a ROK Key and until we found this it has always failed.
Thank you so much!
it would be super awesome if I could adapt this to running in VM (parallels). I had to resort to using a chinese KMS for home edition 🙁
Thanks a lot. Worked perfectly. Appreciate you sharing this.
Excellent article; saved me any further problems yesterday, all thanks to Microsoft’s inept software developers and poor design choices in totally screwing up should have been a simple task via the GUI.
thanks man. You saved my day.
Tq bro… success install My volume license key
Wonderful Worked Smoothly. Excellent Article with very easy explanation
Thanks.