If you’ve bought a Windows PC made by OEM, there is a Winodws product key associated with its motherboard. You can read current key, also you can uninstall it and install another one. I’ll show you all in this post.
All of following steps are performed in Windows Command Line Interface(CLI). Please read this to learn how to open a CLI on different versions of Windows.
What is Windows Product Key?
A product key is a 25-character code that’s used to activate Windows and helps verify that Windows hasn’t been used on more PCs than the Microsoft Software License Terms allow.
Microsoft Support
Lots of software use product key to verify user’s access, Windows, another kind of software product, also uses this method.
In most cases, Windows 11 and Windows 10 activates automatically using a digital license and doesn’t require you to enter a product key. However, if a product key is required, it can usually be found in the confirmation email you received after purchasing Windows, or in the box Windows came in.
Microsoft Support
Usually you can purchase a Windows product key from Microsoft store, as well as from 3rd party retailers, for example:
![Windows 11 Pro](https://www.thewindows12.com/wp-content/uploads/2024/09/windows11-pro.jpg)
Windows 11 Professional
![Windows 11 Home](https://www.thewindows12.com/wp-content/uploads/2024/09/windows11-home.jpg)
Windows 11 Home
Read Current Key
Before you change the product key, it’s highly recommended to read and backup current key. Write down your Windows product key in a notebook in case you need it someday.
Input or paste this command in Windows CLI, and press Enter key to run:
wmic path softwarelicensingservice get OA3xOriginalProductKey
You can find the key from the output:
![read product key on Windows](https://wwwcdn.thewindows12.com/wp-content/uploads/2024/05/29085011/image-35.png)
Uinstall Current Key
You can easily uninstall current key if you want, with this simple command:
slmgr -upk
After running this command, you should see a message box like this:
![uninstall product key on Windows](https://wwwcdn.thewindows12.com/wp-content/uploads/2024/05/29085041/image-36.png)
Install a New Key
Installing a new product key is easy, too. You should prepare a valid key, and then run this command(a series of x stands for product key):
slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
A message box will prompt saying the installation is successful.
![install a product key on Windows](https://wwwcdn.thewindows12.com/wp-content/uploads/2024/05/29085059/image-37.png)
But that’s not complete yet, you need to activate the system by running this command:
slmgr -ato
If the key is valid, you should be told that activation is successful.
![Windows Professional Workstation activated](https://wwwcdn.thewindows12.com/wp-content/uploads/2024/05/29085114/image-38.png)
Theoretically you can re-activate a key on the same computer without limit number of times, but if you do this on different computers, your key may be banned.
Thank you for your reading, I hope this tutorial can help you manage product keys and activation of Windows.