Windows product key

How to change a product key with another valid

For this to work, the key must be valid

  1. Click Start and type CMD in the Start Search menu

  2. Right Click and choose Run as administrator

  3. To remove any existing product key (in case you used a trial key), enter and run the command:

slmgr.vbs /upk
  1. Clear the key from registry by running:
slmgr.vbs /cpky
  1. To enter your new product key, use the command:
slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx   # Where the x’s are your actual product key.
  1. Lastly, activate Windows by entering the command: slmgr.vbs /ato

  2. Windows is now activated.

How to extend a Windows Server Evaluation Edition

  1. Different methods to see license informations :
  slmgr.vbs /dli    # Display license information
  slmgr.vbs /dlv    # Display detailed license information
  slmgr.vbs /xpr    # Display expidration date for current license state
  1. Extend/reset the licensing status of the machine:
  slmgr.vbs /rearm