After installing Windows Server 2019 Standard, I tried to activate it with a MAK key from the Microsoft Volume Licensing Portal. I clicked on "Change product key" and entered the key from the Microsoft Portal. I got the following error message:
The product key you entered didn't work. Check the product key and try again, or enter a different one. (0x80070490)
Searching on Google, this error number mostly refers to Windows Update or Windows Store errors, but not to licensing issues.
I finally tried to activate via the command line, by using these commands:
slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (slmgr.vbs -ato)
This worked right away.
Update: Several readers commented that only the first command is needed. I put the second one in brackets for that reason.
So this is just a GUI activation problem on Windows 2019.
34 thoughts on “Windows Server 2019: Error 0x80070490 When Activating Windows”
Still works as of February 2023, thank you so much!
still works. thanks!!!!
it works for 1st command.
slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Thanks a lot.
Thank you, I had forgotten about this have been banging my head against the wall for hours.
works like a charm
Awesome! I had to do both steps: In Command Prompt run as Administrator:
slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
The first one gave me an error, but after I ran the second command, it stated activation successful!
thanks mate, worked!
Works Great - Noticed that it was only required on the host as on the VMs GUI Worked.
For me, the second line was helpful (didn't show activated until I did it).
Legend, thank you! This was ruining my day.
Perfect, it work. Thank you
Thanks, glad I ran into this post. Same problem, same solution. Thanks again.
Hi, idem for me. Fantastic it's ok
Fantastic.. worked for me!