Knowing how to remove a product key from Windows 10 can be really useful. It’s something you might need to do if you’re planning to sell your computer or transfer your license to another machine. The process isn’t too complicated, and you can accomplish it in a few easy steps using the Command Prompt. Let’s dive into how to do it.
Step by Step Tutorial on How to Remove Product Key from Windows 10
To help you get rid of the product key from Windows 10, we’ll use the Command Prompt. This will ensure your product key is no longer tied to your computer.
Step 1: Open Command Prompt as Administrator
Open the Start menu, type "cmd," right-click on Command Prompt, and select "Run as administrator."
This step is crucial because you need administrative privileges to make changes to your system, including removing the product key.
Step 2: Run the Command to Remove the Product Key
Type slmgr /upk
in Command Prompt and press Enter.
This command will uninstall the product key. It stands for Software Licensing Management Tool (slmgr) and Uninstall Product Key (upk).
Step 3: Confirm the Product Key Removal
After running the command, you should see a message that says, "Uninstalled product key successfully."
This confirms that the product key has been removed from your system. If you don’t see this message, try running the command again.
Step 4: Clear the Product Key from the Registry
To make sure the product key is completely removed, type slmgr /cpky
and press Enter.
This command clears the product key from the registry, ensuring it is not recoverable.
Step 5: Verify the Product Key is Removed
Run the command slmgr /dli
to check the licensing information.
If the product key has been removed, the output should no longer display your product key information.
After completing these steps, your Windows 10 installation will no longer have a product key associated with it. This allows you to either sell your device without a license or reuse the key on another computer.
Tips for Removing Product Key from Windows 10
- Back Up Important Data: Always back up your important data before making major changes to your system.
- Use a Scripting Tool: If you plan to remove product keys from multiple machines, consider using a scripting tool for automation.
- Save Your Product Key: Write down your product key before removing it, so you have it available for future use.
- Double-Check Commands: Make sure you enter the commands correctly to avoid errors or partial removal.
- Keep Admin Rights: Ensure you have administrative rights; otherwise, the commands won’t work.
Frequently Asked Questions
What happens when I remove the product key from Windows 10?
Your Windows 10 copy will no longer show as activated, and you might get prompts to enter a valid product key.
Can I use the removed product key on another computer?
Yes, once you’ve removed it from your current machine, you can use that product key on another computer.
Will removing the product key delete my data?
No, removing the product key does not affect your files or data; it only affects the Windows activation status.
Do I need to restart my computer after removing the product key?
It’s not necessary, but restarting can ensure all changes take effect properly.
What if I face issues after removing the product key?
If you encounter problems, you can re-enter the product key to restore your Windows activation status.
Summary
- Open Command Prompt as Administrator.
- Run the command
slmgr /upk
. - Confirm the product key removal.
- Clear the product key from the registry using
slmgr /cpky
. - Verify the product key is removed with
slmgr /dli
.
Conclusion
Removing a product key from Windows 10 is a straightforward process that can be done in just a few steps using the Command Prompt. Whether you’re selling your computer, transferring a license, or just need to free up your product key, following these steps ensures that your key is safely removed from the system.
Remember to back up your data and take note of your product key before you begin. Double-check each step to make sure the commands are entered correctly. By following this guide, you can confidently manage your Windows 10 product keys.
For more detailed guides or troubleshooting tips, feel free to explore other resources or reach out to support communities online. Happy computing!

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.