To link your Windows licence to a Microsoft account, sign in to Windows 11 as an administrator, open Settings > System > Activation and select Add an account, then sign in with your Microsoft account. When the page says "Windows is activated with a digital license linked to your Microsoft account", the link is in place and you can reactivate after a hardware change.
| Step | Where | What you should see |
|---|---|---|
| 1. Check activation | Settings > System > Activation | "Windows is activated with a digital license" |
| 2. Confirm administrator | Settings > Accounts > Your info | "Administrator" under your name |
| 3. Add the account | Activation > Add an account | Microsoft sign-in window |
| 4. Confirm the link | Settings > System > Activation | "...digital license linked to your Microsoft account" |
| Later: after a hardware change | Activation > Troubleshoot | "I changed hardware on this device recently" |
Why should you link your Windows licence to a Microsoft account?
Linking matters because it is the only self-service way to reactivate a digital licence after a significant hardware change, such as a new motherboard. Without a link, Windows sees the repaired PC as a new device and you may need to re-enter a key or contact Microsoft support to restore activation.
Microsoft's Activate Windows page calls linking "essential" for exactly this reason. The link does not change how Windows behaves day to day, does not start a subscription and does not move your licence anywhere; it simply records that the licence on this hardware belongs to you.
If you are unsure what a digital licence is or how it differs from the key you bought, our explainer on digital licences vs product keys covers the background.
How do I check if my Windows licence is already linked?
Open Settings > System > Activation and expand Activation state. If it says "Windows is activated with a digital license linked to your Microsoft account", you are already linked and need to do nothing. If it says "Windows is activated with a digital license", the licence is not yet linked.
If the page only says "Windows is activated", the PC may be activated by a product key without a digital licence record visible on this page, or by an organisation's activation service. Work and school PCs managed by an IT department are usually licensed centrally, and linking a personal account to them is neither needed nor appropriate.
If Windows is not activated at all, linking will not help yet: activate first, then link. Our guide on removing the Activate Windows watermark legally covers the activation step.
How do I link my Windows 11 licence to a Microsoft account?
Sign in as an administrator, go to Settings > System > Activation, select Add an account, enter your Microsoft account email and password and select Sign in. Windows records the link immediately, and the Activation page then shows that the digital licence is linked to your Microsoft account.
- Open Start > Settings > Accounts > Your info and confirm that Administrator appears under your name.
- Go to Settings > System > Activation.
- Select Add an account (if you sign in to Windows with a local account, you may instead be prompted to sign in with a Microsoft account).
- Enter your Microsoft account email and password, then select Sign in. Complete any verification code prompt.
- Return to Activation and check the message now reads "Windows is activated with a digital license linked to your Microsoft account".
Use an account you will keep long term, such as a personal Outlook.com address or a dedicated company admin account, rather than one tied to a single employee.

Can I link my licence if I use a local account?
Yes, but a local administrator cannot complete the link on its own; Windows needs a Microsoft account to record the licence against. You can add a Microsoft account at the Activation page or switch your user to a Microsoft account, and Microsoft's guidance is to sign in with a Microsoft account to link.
Many people prefer to keep using a local account day to day, as described in our Windows 11 local account guide. A practical approach is to switch to a Microsoft account at Settings > Accounts > Your info > Sign in with a Microsoft account instead, confirm the Activation page shows the linked message, and then switch back to a local account if you wish.
What we commonly see: users report that once the link is recorded it stays on Microsoft's side after switching back to a local account, and the device continues to appear in the troubleshooter's device list. Microsoft does not document this explicitly, so re-check the Activation page after any account change, and keep the Microsoft account itself active.
How do I reactivate Windows 11 after a hardware change?
Sign in as an administrator, go to Settings > System > Activation > Troubleshoot, select "I changed hardware on this device recently", sign in with the linked Microsoft account, tick "This is the device I'm using right now" next to your PC and select Activate. The PC must be online and running the same edition as before.
- Connect to the internet and sign in with an administrator account.
- Open Settings > System > Activation and select Troubleshoot. The page should say Windows cannot be activated on your device.
- Select I changed hardware on this device recently, then Next.
- Sign in with the Microsoft account you linked earlier.
- From the device list, tick This is the device I'm using right now for the correct PC.
- Select Activate.
Microsoft's article on reactivating Windows after a hardware change notes that the troubleshooter only appears while Windows is not activated, and that the edition, Home or Pro, must be the same before and after the change.
Cause and effect: the troubleshooter can only offer devices it already knows about. If you link the account after the motherboard has failed, the old device was never recorded, and the option to transfer the licence will not appear. Link while everything is working.
Why can't the Activation troubleshooter reactivate my PC?
The most common reasons are that the licence was never linked before the hardware change, you signed in with a different Microsoft account, the edition changed (for example Home to Pro), the PC is offline, or you are not an administrator. Some licence types, particularly OEM licences after a motherboard swap, may also not transfer.
- Wrong account: sign in with the exact account that appeared on the Activation page before the change.
- Edition mismatch: reinstall the edition that was activated before, or activate the new edition with its own key.
- No matching device: if your PC is not in the list, the link was probably never recorded.
- Error code shown: look up the code; our fix for error 0x803FA067 after a hardware change covers the most frequent one.
Advanced nuance: Microsoft does not publish a limit on how many times a licence can be reactivated after hardware changes. Repeated transfers can still be refused, especially for OEM licences, which are generally tied to the original device rather than to you.
What if your licence cannot be reactivated?
If the troubleshooter fails and you have a retail product key, enter it at Settings > System > Activation > Change product key. If the PC used an OEM licence that does not survive the repair, or you have no key at all, you will need a new licence for the rebuilt machine.
Before buying, check whether the key still exists in your order emails or firmware using our guide to finding your Windows 11 product key. If you need a replacement, a genuine Windows 11 Pro key activates at the same Change product key screen; see the current price on the product page. Once activated, link it to your Microsoft account straight away so the next repair is easier.
Frequently asked questions
Does linking Windows to a Microsoft account cost anything?
No. Linking a digital licence to a Microsoft account is free and does not start any subscription. A free Microsoft account is enough. The link only records that the licence on that device belongs to you, so you can use the Activation troubleshooter if you later change major hardware such as the motherboard.
Can I move my linked licence to a brand-new PC?
The troubleshooter is designed for hardware changes to the same PC, not for moving to a completely new computer. For a new PC, transfer rules depend on the licence type: retail keys can usually be moved after removal from the old PC, while OEM licences generally cannot. See our guide to transferring a licence to a new PC.
Can I link several PCs to one Microsoft account?
Yes. One Microsoft account can have several devices with their own digital licences linked to it, and each appears in the troubleshooter's device list. Each PC still needs its own licence; linking them to the same account does not share a single licence between machines.
Does linking a Microsoft account work for Windows 10?
Yes. Windows 10 uses the same process at Settings > Update & Security > Activation, with an Add an account option and the same linked-licence message. Windows 10 reached end of support on 14 October 2025, though, so if your hardware allows it, plan the move to Windows 11 at the same time.
What happens if I delete or lose access to the linked Microsoft account?
Windows stays activated on the current hardware, because activation does not depend on the account day to day. However, you lose the ability to use the troubleshooter after a hardware change. Keep the account recoverable with up-to-date security information, or link the licence to a new account while the PC is still activated.
Related guides
- Windows digital licence vs product key explained
- Transfer a Windows 10 or 11 licence to a new PC
- Windows 11 without a Microsoft account: local account setup
- Fix activation error 0x803FA067 after a hardware change
Links in this guide
| Link | Type | Why it helps |
|---|---|---|
| Activate Windows | External | Microsoft's linking steps and activation messages |
| Digital licences vs product keys | Internal | Background on what is being linked |
| Removing the Activate Windows watermark legally | Internal | Activate before linking |
| Windows 11 local account guide | Internal | Local account setup and trade-offs |
| Reactivating Windows after a hardware change | External | Official troubleshooter steps and limits |
| Error 0x803FA067 after a hardware change | Internal | Fix for the most common reactivation error |
| Finding your Windows 11 product key | Internal | Recover an existing key first |
| Windows 11 Pro key | Internal | Genuine replacement licence |
