Changing the Product Key using PowerShell


To change a computer/server's product key run the following PowerShell command in privileged mode:

Display the current product key: 

wmic path softwarelicensingservice get OA3xOriginalProductKey

Remove the current product key: 

slmgr -upk

Add the new product key: 

slmgr -ipk XXXX-XXXX-XXXX-XXXX

No comments

Back to Top