Wednesday, August 15, 2018

Change Windows Server Product Key on command line

1.  Clear the current key

Open Powershell with admin rights then enter:

slmgr -upk (this removes the current Product Key)


2.  Add the new(Correct Key)

Add The New (or Correct Key)
Now that the key is cleared you can either stay in Powershell and enter the new key with the following:

slmgr -ipk XXXX-XXXX-XXXX-XXXX (with the X's of course being the Key )

or

Go the the activation GUI and you will now be able to enter a Key

No comments: