How To Uninstall Your Windows Product Key Before You Sell Your PC

By Taylor Gibb on November 7th, 2012


Do you have an old PC you want to sell, but also want to use your Windows license on your new PC ? There is a hidden command in Windows that allows you to do just that. Read on to find out more.

Note: Between Microsoft and your OEM there are a number of different laws that determine whether you are allowed to use your license on another PC, so follow this tutorial at your own risk. Additionally before you go through the tutorial you will want to check that your product key is still attached to your PC/Installation CD, if it is not , do a quick Google search on how to recover it.

Uninstalling Your Product Key

The first thing we need to do is get our activation ID, to do this fire up an administrative command prompt and run:

slmgr /dlv


Windows will open a message box and tell you a bunch of information about the license status of your PC, take note of your activation ID.


To uninstall your product key you need to use the /upk switch, along with your activation ID:

slmgr /upk 507660dd-3fc4-4df2-81f5b559467ad56b


If you do it correctly you will be told that your product key has been uninstalled.


Installing Your Product Key

Installing your product key on your new PC is just as easy, all you need to do is fire up an administrative command prompt and use the /ipk switch.


If your key is valid you will be told that your key was installed.


That’s all there is to it.

Taylor Gibb is a Microsoft MVP and all round geek, he loves everything from Windows 8 to Windows Server 2012 and even C# and PowerShell. You can also follow him on Google+

  • Published 11/7/12
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!