When you can move your Windows license and when you cannot

Whether you can transfer your Windows license depends on which version you own and how you bought it. A retail license — the kind you buy as a standalone product — can move to a new PC. A OEM license — the kind that came pre-installed on your current computer — is locked to that machine and cannot transfer. A volume license used by businesses follows its own rules tied to a contract.

Check your license type by opening Settings, selecting System, then About. Look for "Windows edition" and scroll down to find "System" information. If you see "OEM" anywhere in the product key or set up details, that license stays with the old PC. If you bought Windows separately from the computer itself — either as a physical box or a digital read from Microsoft — you likely have a retail license and can move it.

The transfer process itself is straightforward: deactivate Windows on the old PC, then set up it on the new one using the same product key. Microsoft's set up servers will recognize the key and allow it on the new machine. The entire process takes a few minutes and requires an internet connection on the new PC.

Key Takeaways

  • Retail Windows licenses can transfer to a new PC; OEM licenses cannot, because they are tied to the original computer's hardware.
  • You deactivate Windows on the old PC through Settings, then use the same product key to set up on the new one.
  • Microsoft allows one retail license to be active on only one PC at a time, so the old installation will automatically deactivate after a few days if you do not do it manually.
  • If you cannot find your product key, you can retrieve it from the old PC using built-in Windows tools or third-party key finder software before transferring.
  • Transferring a license does not move your files, programs, or settings — you handle that separately through backup, cloud storage, or migration tools.

Finding your product key before you transfer

Your product key is a 25-character code that looks like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. If you bought Windows as a physical box, the key is on a sticker inside. If you bought it digitally, check your email receipt from Microsoft or your account at account.microsoft.com under "Devices and subscriptions."

If you cannot find the key anywhere, Windows stores it in the system itself. Open Command Prompt as administrator (right-click Command Prompt and select "Run as administrator"), then type this command exactly: wmic path softwarelicensingservice get OA3xOriginalProductKey and press Enter. The key will appear on the next line. Write it down or take a screenshot before you move to the new PC.

Some third-party tools like Belarc Advisor or ProduKey can also read your product key from the old PC. These are free and run without installation. read one, run it, and look for the Windows product key in the results. This method works even if the command-line approach does not.

Deactivating Windows on your old computer

Before you move the license, deactivate it on the old PC so Microsoft knows the key is no longer in use there. Open Settings, go to System, then select set up. Click "Troubleshoot" at the bottom of the page.

Select "I am moving to a new device" from the menu that appears. Windows will ask you to sign in with your Microsoft account. If you do not have one, create one now — Microsoft ties retail licenses to accounts, and having the account on both PCs makes reactivation smoother. After you sign in, click "Deactivate" and confirm. The old PC will show as unactivated within a few minutes.

If you skip this step, Microsoft will automatically deactivate the old PC after a few days once it detects the key is active elsewhere. Manual deactivation is faster and cleaner, but not required.

Activating Windows on the new computer

On the new PC, open Settings, go to System, then select set up. If Windows is not yet activated, you will see a blue button that says "Go to Microsoft Store" or "set up Windows now." Click it.

Select "I have a product key" and enter the 25-character key from your old PC. Windows will contact Microsoft's servers to verify the key is valid and not already in use. If the old PC was properly deactivated, the key will set up when ready. If the old PC is still showing as active, wait a few hours and try again — Microsoft's servers can take time to sync.

After set up completes, Settings will show "Windows is activated" with a green checkmark. Your license is now tied to the new PC. If you signed in with a Microsoft account during set up, that account is also linked to the license, which helps if you need to reactivate later.

What happens if set up fails

The most common reason set up fails is that the old PC is still showing the license as active. Wait 24 hours and try again. Microsoft's system sometimes takes time to recognize a deactivation, especially if the old PC has not connected to the internet since you deactivated it.

If you get an error saying the key is invalid or already in use, contact Microsoft Support through Settings. Go to set up, scroll down, and select "Troubleshoot." Choose "set up failed" and then "Contact Support." A Microsoft agent can manually release the key from the old PC if there is a technical issue preventing automatic deactivation.

If the new PC has no internet connection, Windows will not be able to contact Microsoft's servers to verify the key. Connect to the internet, wait a few minutes, then try activating again. Some corporate networks block set up servers — if you are on a work network, try activating on a different network or contact your IT department.

Transferring your files and programs separately

Moving your Windows license does not move your files, programs, or settings. You handle that as a separate step. The fastest method is to use Windows' built-in migration tool: on the new PC, open Settings, go to System, then select "Backup." Choose "Backup and restore (Windows 7)" at the bottom. This opens the older backup tool, which can restore files from an external drive or network location.

On the old PC, plug in an external hard drive with enough space for your files. Open File Explorer, select the folders you want to keep (Documents, Pictures, Desktop, Downloads), right-click, and select "Copy." Paste them onto the external drive. Then plug that drive into the new PC and copy the files back to the same locations.

For programs, you cannot straightforward copy them over — each program must be installed fresh on the new PC. Go to Settings on the old PC, select Apps, then Apps and Features. Write down the names of the programs you use. On the new PC, read and install each one. Many programs (Microsoft Office, Adobe Creative Suite, antivirus software) require you to sign in with your account, so have your usernames and passwords ready.

Retail versus OEM licenses and what you cannot do

An OEM license is permanently attached to the motherboard of the computer it came with. Even if you replace every other component, the license stays with that motherboard. If you buy a new PC, you cannot take the old license with you. OEM licenses are cheaper because they are not transferable — that is the trade-off.

If you have an OEM license and want to move to a new PC, you have two options: buy a new retail Windows license for the new computer, or contact Microsoft Support to request a one-time exception. Microsoft occasionally grants exceptions for hardware failure or significant life changes, but this is not may provide. Most of the time, you will need to purchase a new license.

A retail license can only be active on one PC at a time. You cannot install it on multiple computers and use it on all of them simultaneously. If you need Windows on two PCs, you need two licenses. Some people buy a family pack or multiple individual licenses to cover multiple machines.

Frequently Asked Questions

Can I transfer a Windows license if I upgraded from Windows 10 to Windows 11?

Yes. The upgrade is free and uses the same license. Your product key remains valid, and the license transfers the same way as any other retail license. If you upgraded on the old PC, deactivate Windows 11 there, then set up it on the new PC using the same key.

What if I bought Windows from a third-party seller like Amazon or Best Buy?

If you bought a physical box or a digital code from a retailer, it is a retail license and can transfer. Check your receipt to confirm. Some very cheap listings are actually OEM licenses sold illegally — if the price seems unusually low, contact the seller to confirm the license type before buying.

Do I need to uninstall Windows from the old PC before installing it on the new one?

No. You can leave Windows installed on the old PC. Once you set up the license on the new PC, the old installation will show as unactivated, but it will continue to work with limited functionality. You can use it as a backup or sell the old PC with Windows still on it — the new owner will just need their own license to set up it.

Can I transfer a Windows license if I built my own PC?

Yes, if you bought a retail license. The license is not tied to the hardware you built it on — only OEM licenses are hardware-locked. Your retail key works on any PC you build or buy.

What if I lost my old PC and cannot deactivate it?

Contact Microsoft Support and explain the situation. Provide proof of purchase if you have it. Microsoft can manually deactivate the lost PC so you can set up the license on your new one. This usually takes one business day.