If you try to convert / upgrade Windows Server Evaluation to a licensed full edition using the normal command line or the CHANGE KEY GUI, you will see errors like: The product key you entered didn’t work, Check the product key and try again or enter a different one
Fortunately, there is an easy fix. You have to change Windows Server Eval editions to a production licensed versions of Standard or Data Center:
- Launch a PowerShell as an Administrator
- Type
dism /online /get-currentedition
and press ENTER - Type
dism /online /get-targeteditions
and press ENTER - Type
dism /online /set-edition:serverstandard /productkey:<KEY-KEY-KEY-KEY-KEY> /accepteula
and press ENTER

2 Comments
Jim · January 30, 2023 at 1:28 pm
Very concise and best of all, worked as expected. Thank you.
Mike · January 4, 2023 at 4:32 am
You’re a live saver! Super short code and works perfectly 😉