Restoring your Windows licence after a hardware change
You most easily restore your Windows licence after a hardware change if you link your digital licence to your Microsoft account beforehand. Then use the activation troubleshooter with the option I recently changed hardware. Retails keys can be re-entered with slmgr /ipk and slmgr /ato; an OEM licence expires with a new motherboard.
A major hardware change breaks the link with your licence
Windows ties a digital licence to a fingerprint of your hardware. If you replace a component that carries significant weight in that fingerprint, especially the motherboard, the activation server no longer recognises your PC as the same device. Windows then reports that it is not activated and shows a watermark on the desktop.
A digital licence (also called a digital entitlement) is an activation right tied to your hardware and optionally to your Microsoft account, without a visible code. As long as only minor parts change, such as memory or an extra drive, activation usually remains intact. A new motherboard, however, counts as a new PC.
You notice the loss through several signs: the message that Windows is not activated in Settings, a watermark bottom right on the desktop, and the fact that some personal settings like the accent colour are greyed out. Your files and programs continue to work, but the message keeps returning until you reactivate.
Whether you can restore the licence depends on two things: the licence type (retail, OEM or digital) and whether you linked it to your Microsoft account beforehand. This guide walks through the recovery routes, including the troubleshooter, the slmgr commands and the meaning of the most common error codes.
The motherboard counts most in the hardware fingerprint
Not every component carries the same weight. Windows builds the fingerprint from several components, but the motherboard dominates. The following rules of thumb help you estimate whether a change will affect your activation.
- Replacing the motherboard: almost always needs a new activation. Windows sees this as a new PC.
- RAM, drive or graphics card: usually does not affect activation, even if several are changed at once.
- Replacing the processor: on its own normally not a problem, unless it coincides with a motherboard swap.
- Multiple components at once: the more you swap in one go, the greater the chance Windows won't recognise the device.
Because the motherboard is decisive, that's the moment to plan ahead. If you're building a completely new base but want to keep the licence, first link the account and check the licence type before reaching for the screwdriver.
Link your licence to your Microsoft account before you replace anything
The smoothest recovery route is set up before the hardware changes. By linking your digital licence to a Microsoft account, the troubleshooter can later recognise your PC via that account instead of solely from the hardware.
- Go to Settings > System > Activation.
- Check whether it says Windows is activated with a digital licence linked to your Microsoft account.
- If the licence is not yet linked, choose Add an account and sign in with a Microsoft account that has administrator rights.
Do this while the old hardware is still running and activated. Linking afterwards on a non-activated installation won't work, because the troubleshooter needs that earlier link to find your device in the list. Anyone planning a motherboard swap should put this step at the top of their checklist and only then check the rest of the components.
Reactivate with the troubleshooter after a hardware change
If you linked the licence beforehand, the activation troubleshooter is the quickest way back. It only appears when Windows is not activated.
- Sign in on the new hardware with the same Microsoft account that holds the digital licence.
- Go to Settings > System > Activation and click Troubleshoot.
- If the troubleshooter reports that Windows cannot be activated, choose I recently changed hardware on this device.
- Select the device in the list that corresponds with your current PC and click Activate.
The troubleshooter has three requirements: you are signed in with the linked account, you have administrator rights, and the edition has stayed the same. If the PC was activated with Windows 11 Home, the new installation must also be Home, not Pro. If you don't see your device in the list, the licence was probably not linked beforehand. The official steps are on the Microsoft support page about reactivating after a hardware change.
Can you recognise your device in the list by the name you once gave the PC? If you have multiple devices with the same account, they are all listed. Choose the device that is marked as not activated or whose name matches the PC you are working on now. If you accidentally pick the wrong device, the troubleshooter will tell you that licence is already in use on another device and you can simply choose again.
Re-enter a retail key with slmgr or by phone
If you activated Windows with a separate retail key, you can simply enter it again after the swap, even without a Microsoft account. You can do this via Settings, under Activation and Change product key, or more quickly via the command line. Open a command prompt with administrator rights and install the key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Then activate online:
slmgr /ato
If online activation fails, for example because the server reports the key is already in use, use phone activation. It opens an assistant with an activation ID that you confirm by phone:
slui 4
Check the status afterwards with slmgr /xpr, which reports whether the activation is permanent. A more detailed overview of these commands can be found in the explanation about activating Windows with slmgr, where each command with its switch is described.
Can't remember the retail key? With a retail licence, the code is on the card in the box or in your order email; it cannot be read from an activated installation. Always store the key separately before you start working on the hardware. If you enter the same retail key on the new PC, keep in mind that you must remove it from the old PC: a retail licence is for one device at a time.
OEM and retail licences react differently to a motherboard change
Why one moves and the other does not comes down to the licence type. The difference is clearest during a motherboard swap.
| Licence type | Bound to | After motherboard change | Recovery route |
|---|---|---|---|
| Retail | The licence itself, transferable | Remains valid on new hardware | Re-enter the key or use the troubleshooter |
| OEM | The original motherboard | Formally expires with a new board | New licence needed, sometimes recoverable by phone |
| Digital (linked) | Hardware plus Microsoft account | Recoverable via the account | Troubleshooter with account |
An OEM licence, according to the terms, belongs to the device on which Windows was first activated. If you replace the motherboard because it is defective and not to upgrade, reactivation sometimes succeeds via the phone route. More about the differences can be read in the overview of OEM, retail and volume licences.
Unsure which type you have? An OEM licence came preinstalled on an off‑the‑shelf PC or laptop and sits in the firmware. A retail licence was bought separately, as a box or download, with its own key. A digital licence without a visible code often arose from the free upgrade to a newer Windows version. The type determines which recovery route in this article works for you.
Common activation error codes and what they mean
When reactivation fails, Windows shows an error code in the activation screen. That code tells you quite precisely what is going wrong, so you don't have to guess which solution you need. The table links the four codes that appear most often after a hardware change to their meaning and approach.
| Error code | Meaning | Approach |
|---|---|---|
| 0xC004C008 | The key has been used on too many devices | Use phone activation or a different key |
| 0xC004F211 | A hardware change has been detected | Run the troubleshooter with your linked account |
| 0x803F7001 | No valid licence found on this device | Enter a valid key or link the account |
| 0xC004C003 | The key has been blocked by the server | Contact the seller or Microsoft |
Error code 0xC004C008 usually indicates that the retail key is already active on another device; phone activation with slui 4 often resolves this. An extensive list of codes and solutions can be found on the Microsoft support page about activation errors. If you're not sure which edition you need after the swap, look at upgrading from Windows 11 Home to Pro, because an edition mismatch is a common cause of a failed reactivation.
No account linked? Here's how to activate anyway
If the licence was not linked to a Microsoft account beforehand and the troubleshooter therefore doesn't work, a few routes still remain.
- Re-enter the retail key: if you have a retail licence, enter the key via
slmgr /ipkand activate withslmgr /ato, as described above. - Phone activation: if online activation fails, open the phone assistant with
slui 4and follow the spoken steps. - Microsoft support: if you get stuck, contact support via chat. Keep your proof of purchase handy, because an agent can often manually reactivate a valid licence after a faulty motherboard.
If the motherboard was replaced because it was defective, the chance of a successful manual reactivation is greater than for a voluntary upgrade, because the licence terms treat replacement after a defect differently. During the conversation, therefore clearly explain that it was a repair, not a second PC, and mention that the old installation is no longer in use.
Frequently asked questions
That depends on the licence type. A retail licence and a digital licence linked to your Microsoft account remain valid; you reactivate them with the troubleshooter or by re-entering the key. An OEM licence is bound to the original motherboard and formally expires when you replace it.
Go to Settings, System, Activation and choose Add an account. Sign in with a Microsoft account that has administrator rights while the PC is still activated. Afterwards it will say that Windows is activated with a digital licence linked to your account, allowing you to reactivate with the troubleshooter after a hardware change.
Error code 0xC004C008 means the activation server could not use the supplied key, usually because it has already been activated on too many devices. Try phone activation with slui 4, or use a key that is not yet in use elsewhere. With a retail licence, the old PC may then no longer be activated with the same key.
No, the activation troubleshooter with the hardware-change option requires that you are signed in with the Microsoft account to which the digital licence is linked. Without that link, your device does not appear in the list. In that case, use a retail key via slmgr or contact Microsoft support.
Mainly, replacing the motherboard breaks activation, because it carries heavy weight in the hardware fingerprint. Smaller changes such as extra memory, a new drive or a different graphics card usually leave activation untouched. Windows in effect treats a new motherboard as a completely new PC.
Related articles
Mira supports businesses with Windows and Office deployments and resolves activation, licensing and error code issues on a daily basis.
View profile