This guide shows you how to remove a Windows product key from your current computer and then use that same key to activate a new one. Whether you’re upgrading hardware or giving an old PC away, the process is straightforward if your license is transferable. You’ll need an administrator account on the old PC, the new PC, and your Microsoft account (if you use digital licenses).
What You’ll Need
- Administrator access to the old Windows PC
- The new PC (or a note of its hardware details)
- Your Microsoft account credentials (for digital licenses)
- A USB drive or external storage for backing up files (optional but recommended)
Step-by-Step
- Check if your license is transferable. Retail keys (bought from a store or online) are transferable. OEM keys (pre-installed by manufacturers like Dell, HP, Lenovo) are tied to the original motherboard and cannot legally be moved. If you’re unsure, run
slmgr /dliin Command Prompt – it shows the license type. If it says “OEM”, skip ahead to the FAQ section. - Link your license to a Microsoft account. On the old PC, go to Settings > Accounts > Your info and sign in with your Microsoft account. Then go to Settings > Update & Security > Activation and click “Add an account” or “Link your Microsoft account”. This ties the digital license to your account, making it easier to reactivate later.
- Deactivate the license on the old PC. Open Command Prompt as administrator (right-click Start, select “Command Prompt (Admin)” or “Terminal (Admin)”). Type
slmgr /upkand press Enter. This removes the product key from the current machine, freeing it for use elsewhere. You’ll see a confirmation message. - Clear the license from the registry (optional but thorough). In the same Command Prompt, type
slmgr /cpkyand press Enter. This removes the key from the registry, preventing it from being accidentally reused on the old PC. - Shut down the old PC. Once deactivated, you can safely dispose of, sell, or repurpose the old machine without worrying about the license.
- On the new PC, install Windows. If you’re building a new PC, install Windows from a USB drive. During setup, when prompted for a product key, click “I don’t have a product key” and continue. You can enter the key later.
- Activate Windows on the new PC. Go to Settings > Update & Security > Activation (or Settings > System > Activation on Windows 11). Click “Change product key” and enter the key you removed. If you linked a Microsoft account, you can also click “Troubleshoot” and select “I changed hardware on this device recently” to activate via your account.
- Verify activation. After entering the key, Windows should activate automatically. Check the Activation page – it should say “Windows is activated” and show the edition.
Common Mistakes
- Assuming OEM keys are transferable. Most pre-built PCs have OEM licenses that are permanently tied to the motherboard. Trying to move them will fail.
- Forgetting to deactivate before selling. If you don’t run
slmgr /upk, the key remains on the old PC, and you might not be able to activate the new one due to activation limits. - Using the wrong key type. A Windows 10 key won’t work on Windows 11 if it’s an OEM key, but retail keys for Windows 10 often work for Windows 11. Check compatibility.
- Not linking to a Microsoft account. If you skip this, you’ll have to rely on the product key alone, which can be lost or fail if the hardware changes too much.
- Entering the key during setup. If you enter it during installation and then change hardware later, you might hit activation issues. Better to skip during setup and activate after.
Tips
- Write down your key. Before deactivating, save the product key in a secure place (like a password manager) – you’ll need it for the new PC.
- Use the Activation Troubleshooter. If activation fails after moving, go to Settings > Update & Security > Activation and click “Troubleshoot”. It can help if you’ve linked your Microsoft account.
- Keep the old PC until activation succeeds. If something goes wrong, you can reactivate the old PC and try again.
- For digital licenses, check your Microsoft account. Sign in to account.microsoft.com and go to Devices – you can see which devices are associated with your license.
- If you’re upgrading hardware on the same PC (like a motherboard), you don’t need to remove the key – just use the Troubleshooter to reactivate.
Troubleshooting
Activation fails with error 0xC004F213 or 0xC004F050. These mean the key is already in use or blocked. Double-check that you ran slmgr /upk on the old PC. If you did, wait a few minutes – activation servers can take time to update. If it persists, contact Microsoft Support.
The key works but Windows says it’s not genuine. This usually happens if the key is an OEM key. You’ll need to buy a retail key or use the digital license from your Microsoft account.
You can’t find the product key on the old PC. If you didn’t write it down, use a tool like ProduKey or run wmic path softwarelicensingservice get OA3xOriginalProductKey in Command Prompt to retrieve it before deactivating.
You changed the motherboard and now activation fails. Use the Activation Troubleshooter and select “I changed hardware on this device recently”. Sign in with your Microsoft account, and it should reactivate.
You get a “key is blocked” error. This can happen if the key was used too many times. If you’ve moved it multiple times, you may need to call Microsoft’s automated activation line (found in the Activation settings).
Frequently Asked Questions
Can I move an OEM Windows key to a new computer?
No. OEM keys are tied to the original motherboard and are not legally transferable. You’ll need to purchase a new license for the new PC.
Is it legal to reuse a retail Windows key on a new PC?
Yes, as long as you remove it from the old PC and only use it on one computer at a time. Retail keys are designed to be transferable.
What if I don’t have a Microsoft account linked?
You can still move the key by deactivating with slmgr /upk and entering the key on the new PC. However, linking to a Microsoft account makes reactivation easier if you change hardware later.
Can I use the same key on two computers at once?
No, a single Windows license is for one computer at a time. Using it on multiple PCs violates the license agreement and may result in activation failure.
How do I find my current Windows product key?
Run wmic path softwarelicensingservice get OA3xOriginalProductKey in Command Prompt (Admin) or use a third-party tool like ProduKey. Do this before deactivating.
What happens if I forget to deactivate before selling the old PC?
You can still deactivate remotely via your Microsoft account if you linked the license. Sign in to account.microsoft.com, go to Devices, and remove the old device. Otherwise, you may need to contact Microsoft Support.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix msmpeg2vdec.dll Errors in Windows
- How to Update Sonos App and Speakers
- Unlock iPad Without Apple ID: Is It Possible?
- iOS 18 WhatsApp Notifications Not Working? Fix
- Fix Windows Cannot Locate Suitable Printer Driver
- How to Group Text and Pictures in Word