How to transfer a Windows license to another PC
Retail licenses can move to another PC; OEM licenses are tied to the device they were first installed on. Moving takes three steps: remove the key from the old PC, enter it on the new one and activate.
Updated:First find out your license type
Right-click Start, open Terminal (Admin) and type “slmgr /dli”. If the window says “RETAIL channel”, the license can be moved. If it says “OEM”, the license belongs to that PC. “VOLUME” means a volume license owned by an organisation.
Removing it from the old PC
In an admin terminal, “slmgr /upk” uninstalls the product key. Then “slmgr /cpky” clears it from the registry. After this the old PC becomes unactivated. A license can be used on only one PC at a time.
Activating on the new PC
Make sure the same edition is installed on the new PC. Enter the key under Settings → System → Activation → Change product key. If online activation is refused, use phone activation with Windows + R, “slui 4”; the system asks whether the key is in use on another device.
Moving with a Microsoft account
If the license is linked to your Microsoft account, you can also move it without typing the key: sign in with the same account on the new PC, choose Activation → Troubleshoot → “I changed hardware on this device recently” and pick the old device from the list.
Frequently asked
How many times can I move a license?
A Retail license has no fixed count; the condition is use on one device at a time. Very frequent moves may route online activation to phone activation.
Can the Windows that came with a PC be moved?
No. Windows installed by the manufacturer is an OEM license tied to that device.