Link Your Windows 11 License to a Microsoft Account
To link your Windows license to your Microsoft account, go to Settings → System → Activation on Windows 11 (Update & Security → Activation on Windows 10), select Add an account, and sign in. You're done when the page says "Windows is activated with a digital license linked to your Microsoft account." Here's why it matters today and not later: the "I changed hardware on this device recently" fix only appears after Windows has already lost its activation, and it only works with the Microsoft account you linked before the repair. If you wait until the motherboard is replaced, it's too late to link.
Jake learned about license linking from a customer's bad week. A retired teacher brought in a desktop whose motherboard had died. Jake's supplier had the part, the repair itself took forty minutes, and the PC booted perfectly, with a black banner saying Windows wasn't activated.
The teacher had bought the PC with Windows 11 Pro. She'd never linked it to anything. She didn't have a product key, because there had never been one to write down. Jake spent an evening on the phone with support to get her running again, and that evening cost him far more than the $60 he'd charged for the repair.
"Two minutes of setup would have made it a two-minute fix," Ethan said the next morning. "Link it on every PC that comes through the door, before anything breaks. Nobody thinks about their license until it's gone."
This guide covers what a digital license is, how to link it on Windows 11 and 10, how to confirm it worked, how to use it after a hardware change, why reactivation sometimes still fails, how to find out what kind of license you actually have, and what IT admins should do instead on company PCs.
What a digital license is, and why there's no key to find
Most Windows 11 and 10 PCs don't activate with a product key you ever see. They use a digital license, which Windows 11 calls a digital entitlement. It's a record, held by Microsoft's activation servers, that says "this hardware is licensed for this edition of Windows." When the PC connects to the internet, Windows checks that record and activates itself.
That's convenient right up until the hardware changes. The digital license is associated with your hardware, and a significant change, such as replacing the motherboard, can make Windows stop recognizing the PC as the one it licensed. Linking the license to a Microsoft account gives Microsoft a second way to recognize you: "this person, who signed in, owned the license on that earlier hardware."
A product key, by contrast, is a 25-character code in five groups, like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. If you bought a boxed copy or a key from a retailer, you may have one. If Windows came preinstalled, you usually don't, and that's normal.
🙋♂️ Jake's Reality Check
"If I link it, can I move the license to a new PC when this one dies?"
Not usually, and nobody should promise you that. Linking is for getting the same PC activated again after repairs. A license that came preinstalled on a PC stays with that PC under its terms. A retail license you bought separately is a different story, and it's covered further down.
How to link your Windows 11 license to a Microsoft account
- Sign in to Windows with an administrator account. On a family PC, that's usually the first account created.
- Open Settings with Win + I and go to System → Activation. Or press Win + R and type
ms-settings:activation. - Expand Activation state. If it already says the license is linked to your Microsoft account, you're finished.
- If it doesn't, select Add an account.
- Sign in with your Microsoft account and follow the prompts.
- Come back to the Activation page and check the wording, as described in the next section.
There's a second route for people on a local account. Go to Settings → Accounts → Your info and select Sign in with a Microsoft account instead. Once you sign in to Windows with a Microsoft account as an administrator, the digital license is linked automatically. Check the Activation page afterward to confirm.
If you already sign in to Windows with a Microsoft account, which Windows 11 Home and Pro setup asks for on personal PCs, the license is often linked already and there's nothing to do but confirm it. People who set their PC up with a local account are the ones who most often have an unlinked license.
Windows 10
Same idea, older path: Settings → Update & Security → Activation → Add an account, sign in as an administrator, and follow the prompts. Windows 10 reached end of support in October 2025; if you're planning a Windows 11 upgrade on the same PC, link the license first so the upgrade has something to fall back on.
How to check that your license is really linked
The Activation page is the only place that tells you the truth about this PC, and the wording is exact. Here's what each message means:
| What the Activation page says | What it means |
|---|---|
| Windows is activated with a digital license linked to your Microsoft account | Linked. The hardware-change fix will work for you later. |
| Windows is activated with a digital license | Activated but not linked. Select Add an account. |
| Windows is activated using your organization's activation service | A company or school activates this PC. Don't link a personal account. |
| Windows is not activated | Linking isn't possible now; see reactivation. |
Don't rely on your Microsoft account website for this. It lists the devices you've signed in on, which is useful, but the PC's own Activation page is where the link status is stated plainly. Ethan's habit, now Jake's: take a phone photo of the Activation page after linking, and keep it with the receipt.
After a hardware change: reactivate with the troubleshooter
This is the moment linking pays off. After a motherboard replacement or a similar big repair, Windows may show that it isn't activated. The troubleshooter is only offered when Windows isn't activated, which is why you can't rehearse it on a healthy PC.
- Sign in with an administrator account and make sure you're online.
- Open Settings → System → Activation (Windows 10: Update & Security → Activation).
- Select Troubleshoot.
- Select I changed hardware on this device recently, then Next.
- Sign in with the same Microsoft account you linked earlier.
- In the list of devices, select the one you're using and check This is the device I'm using right now.
- Select Activate.
If your PC doesn't appear in the list, you're almost always signed in with a different Microsoft account from the one that was linked. Families with two or three accounts trip over this constantly. Try the other account before anything else.
⚠️ What this actually breaks
A motherboard swap on a PC with device encryption or BitLocker will usually ask for the BitLocker recovery key before Windows even starts, long before activation matters. Save that key from your Microsoft account before the repair, or the activation question becomes the least of your problems.
Why reactivation still fails, and what to do
Linking makes reactivation possible, not guaranteed. These are the common reasons it doesn't work, with the fix for each.
The edition changed
The edition, Home or Pro, has to be the same before and after the hardware change. If the repair shop reinstalled Windows 11 Home on a PC that was licensed for Pro, the troubleshooter can't match them. Reinstall the edition the PC was licensed for, or upgrade to it in Settings, then try again.
You're signed in with a different Microsoft account
The troubleshooter only works with the account that was linked. Sign in with that account and run it again.
The license was never linked, and there's no product key
If you didn't link before the change and you don't have a key, the troubleshooter can't help. Contact Microsoft Support through the Get Help app and have your proof of purchase ready. For a PC that came with Windows preinstalled, the PC's maker is often the better first call, because the license belongs with their hardware.
You upgraded with a product key and didn't link
If you used a product key to get Windows and never linked it, enter that key again under Activation → Change product key. This is why it's worth keeping any key you ever bought, in a password manager or on the receipt.
It's a work or school PC
Company PCs activate through the organization. Don't link a personal Microsoft account to them; talk to IT, who'll reactivate it through their own licensing.
What kind of license do you have? Two commands tell you
Most of the confusion around moving or reactivating Windows comes from not knowing the license type. There are three you'll meet, and they behave very differently after a repair:
| Channel | Where it comes from | Can it move to another PC? | Reactivating after a repair |
|---|---|---|---|
| OEM | Preinstalled by the PC maker | No, it stays with that PC | Linked account and troubleshooter, or the PC maker |
| Retail | Bought separately, boxed or digital | Generally yes, to another PC you own | Linked account, or re-enter the product key |
| Volume | A company or school's licensing | Managed by the organization | Through IT, never a personal account |
Windows will tell you which one you have.
- Open Terminal or Command Prompt. It doesn't need to be as administrator for this.
- Run
slmgr /dli. After a few seconds a small window shows the license description, which includes the channel, such as RETAIL, OEM or VOLUME. - Run
slmgr /xpr. It tells you whether the machine is permanently activated.
slmgr is the Software Licensing Manager script that's been built into Windows for years. It only reads the information here; these two switches don't change anything.
If you want to know whether the PC has a product key stored in its firmware by the maker, this PowerShell line shows it:
(Get-CimInstance SoftwareLicensingService).OA3xOriginalProductKey
A blank result simply means there's no firmware key, which is common. Treat any key it shows like a password: it's part of what proves the PC is licensed.
✅ Why this is the one habit to keep
Link the license, photograph the Activation page, and write down the channel from slmgr /dli. Those three things answer every activation question you'll ever be asked after a repair, and they take less than three minutes.
Office, Microsoft 365 and other licenses on your account
People often search for this alongside Windows, so briefly: Office and Microsoft 365 licenses are handled differently. A Microsoft 365 subscription or a one-time Office purchase is tied to your Microsoft account from the start, and you manage it in your account's Services & subscriptions area, where you can install it on another PC and sign out old ones. Windows digital licenses don't work that way; they belong to the hardware, and the account link is a recovery aid for that hardware.
There's also no button to "unlink" a Windows license from your Microsoft account. If you sell or give away a PC, remove it from the devices list in your Microsoft account so it stops showing up there, sign out of Windows, and reset the PC. The license stays with the hardware for the next owner, which is what the license terms intend for a preinstalled copy.
For IT admins: activation on company PCs
On a managed fleet, consumer license linking is the wrong tool. Company PCs should never be linked to a technician's or employee's personal Microsoft account. Here's what to use instead.
Know what's activating each machine
$pcs = Get-Content .\pcs.txt
Invoke-Command -ComputerName $pcs -ScriptBlock {
Get-CimInstance SoftwareLicensingProduct -Filter "PartialProductKey IS NOT NULL AND Name LIKE 'Windows%'" |
Select-Object @{n='PC';e={$env:COMPUTERNAME}}, Name, Description, LicenseStatus
} | Export-Csv .\activation-audit.csv -NoTypeInformation
LicenseStatus of 1 means licensed. The Description field shows the channel, such as OEM, Retail, Volume MAK or Volume KMS, which tells you which process will reactivate that machine after a repair.
Pick the right activation route
- OEM Pro to Enterprise: Windows subscription activation steps a Pro device up to Enterprise when a user with a Windows Enterprise E3 or E5 license signs in with a Microsoft Entra account. No keys to manage; a motherboard swap re-activates through the same sign-in.
- Volume licensing: KMS for on-premises networks, MAK for machines that rarely see the corporate network, and Active Directory-based activation where you have domain controllers.
- Small offices on OEM Pro: keep the purchase records, and after a board swap, reactivate through the PC maker or Microsoft Support rather than a personal account.
Put it in the repair runbook
For every hardware repair ticket, the runbook should include: escrowed BitLocker recovery key checked before the machine is opened, activation channel recorded, and activation confirmed after the repair. It's the same lesson Jake learned with the teacher's PC, at fleet scale.
When nothing works
If the troubleshooter can't reactivate and you have no key, three routes are left. Contact Microsoft Support through the Get Help app with any proof of purchase you have. For a preinstalled license after a warranty repair, ask the PC maker, since the replacement part and the license are theirs to sort out. And if the PC is old and the repair was a new motherboard, compare the cost of a new retail license against the PC's value before spending an afternoon on the phone.
None of this means you did something wrong. Most people have never been told that linking exists, and Windows doesn't nag about it.
Frequently asked questions
How do I link my Windows license to my Microsoft account?
On Windows 11, go to Settings, System, Activation, and select Add an account, then sign in with your Microsoft account. On Windows 10 the page is under Update and Security, Activation. You need to be signed in as an administrator and online.
How do I know if my Windows license is linked to my Microsoft account?
Open the Activation page in Settings. It should say "Windows is activated with a digital license linked to your Microsoft account." If it only says "activated with a digital license," it isn't linked yet.
Is my Windows 11 license automatically linked to my Microsoft account?
Often, yes, if you sign in to Windows with a Microsoft account, which Windows 11 setup asks for on personal PCs. PCs set up with a local account are the ones most likely to be unlinked. Check the Activation page to be sure.
Can I link a Windows product key to my Microsoft account?
Yes. Once Windows is activated with the key, select Add an account on the Activation page to link the resulting digital license to your Microsoft account. Keep the key as well.
Where can I see my Windows licenses in my Microsoft account?
Your Microsoft account lists the devices you've signed in on, but the clearest statement of a Windows license's link status is the Activation page on the PC itself. Office and Microsoft 365 licenses are shown under Services and subscriptions in your account.
How do I reactivate Windows after replacing the motherboard?
Go to Activation, select Troubleshoot, choose I changed hardware on this device recently, sign in with the linked Microsoft account, select your PC, check This is the device I'm using right now, and select Activate.
Why doesn't the troubleshooter show "I changed hardware on this device recently"?
The troubleshooter is only available when Windows isn't activated. On a PC that's still activated, you won't see it, which is normal.
Why isn't my PC in the troubleshooter's device list?
You're usually signed in with a different Microsoft account from the one that was linked. Sign in with the linked account and try again.
Can I move my Windows license to a new computer?
A license that came preinstalled on a PC stays with that PC. A retail license bought separately can generally be moved to another PC you own. Run slmgr /dli to see which channel your license is.
Does linking my license let me activate more PCs?
No. Linking helps reactivate the same PC after hardware changes. It doesn't let one license activate additional PCs.
Can I unlink a Windows license from my Microsoft account?
There's no unlink button for Windows licenses. When selling a PC, remove it from the devices list in your Microsoft account, sign out and reset the PC. The license stays with the hardware.
Why can't I reactivate after a repair even though my license was linked?
Common reasons are a different edition installed after the repair, such as Home instead of Pro, or signing in with a different Microsoft account. Match the edition and use the linked account.
What does "Windows is activated using your organization's activation service" mean?
A company or school activates the PC through its own licensing. Don't link a personal Microsoft account; ask your IT team about activation.
How do I check my Windows license type?
Run slmgr /dli in Terminal or Command Prompt. The window shows the license channel, such as RETAIL, OEM or VOLUME. Run slmgr /xpr to see whether Windows is permanently activated.
Do I need a product key if I reinstall Windows?
Not if the PC has a digital license. Reinstall the same edition on the same hardware, choose "I don't have a product key" during setup, and it activates once it's online. Signing in with your linked Microsoft account during setup also works.
Is linking an Office license the same as linking Windows?
No. Office and Microsoft 365 are tied to your Microsoft account and managed under Services and subscriptions. Windows licenses belong to the hardware, and the account link is a recovery aid for that PC.
If you're reading this with a "Windows isn't activated" banner and a repair bill already paid, I'm sorry; it's a miserable feeling, and it's almost never permanent. And if your PC is healthy right now, give it the two minutes. It's the cheapest insurance Windows offers. If anything here doesn't match what you see, tell me, so the next person gets it right.
📌 If you keep one line from this page
Link your license while Windows is healthy, because the fix only appears after it breaks.
Revision note. I first wrote this in November 2016, when linking was new in Windows 10. I rewrote it in September 2026 for Windows 11 25H2, after one too many repairs where nobody had linked anything. The exact Activation page wording is the first thing I'd re-check next year, since it's what you compare against. If you're the person who fixes everyone's computer in your family, link theirs next time you visit; they won't thank you until the day it matters.