Upgrading Windows Server 2019 License from Standard to Datacenter

Vikram Romana 21 Reputation points
2021-12-24T15:13:32.657+00:00

Hi Microsoft,

I am trying to enter a Key on a Windows Server 2019 and it is giving me activation error from GUI.

So, I want to test upgrade Microsoft License from Standard 2019 to Datacenter by using the commands below on a Test VM:

  1. Dism /online /Set-Edition:ServerDatacenter /AcceptEula /ProductKey:WMDGN-G9PQG-XVVXX-R3X43-63DFG
  2. slmgr /ipk <Datacenter MAC key purchased by customer>
  3. slmgr /ato

Incase the above method works then how can i free the license key which i will be using in option 2 above on a Test VM. I want to test the above procedure on a Test VM and if it works then i will implement it on production servers. However, if it works on a test VM then i would need to pull the license back since i don't want to waste a license on a Test VM. I intend to delete the Test VM after my testing. So, kindly provide me a command that will release/free up the license allocated on this test VM.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-12-24T15:40:02.423+00:00

    Running slmgr /upk removes(uninstalls) the product keys from the machine. An activation of MAK once consumed is consumed. Every time you activate using a MAK key, the count is reduced by one. Some info here on checking remaining count.
    https://learn.microsoft.com/en-us/archive/blogs/klince/how-many-activations-do-i-have-left-on-my-mak-keys

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Limitless Technology 39,926 Reputation points
    2021-12-27T18:01:24.817+00:00

    If you use your license to activate the product in Test VM then it will counted as activation and the only workaround would be to migrate it which would be useless in your case as you already have a production server. But you can try this method and see if they are helpful.

    -Open a command prompt as an Administrator.
    -Enter slmgr /upk and wait for this to complete. This will uninstall the current product key from Windows and put it into an unlicensed state.
    -Enter slmgr /cpky and wait for this to complete. This will remove the product key from the registry if it's still there.
    -Enter slmgr /rearm and wait for this to complete. This is to reset the Windows activation timers so the new users will be prompted to activate Windows when they put in the key.

    This should put the system back to a pre-key state.

    Hope this resolves your Query!!


    --If the reply is helpful, please Upvote and Accept it as an answer--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.