Quick fix: Open Command Prompt (Admin). Run: slmgr /ato to manually activate. Or slmgr /upk to remove current key, then slmgr /ipk [your-key] to install fresh key, then slmgr /ato. For digital license: slmgr /dli to view current state; if a digital license exists, ensure correct Microsoft account is signed in.
Windows 11 asks for activation despite having a valid license. Cause: digital license/key not properly registered, hardware change broke license link, or Microsoft account mismatch. The slmgr commands re-register and activate.
Affects: Windows 11.
Fix time: ~10 minutes.
What causes this
Windows 11 activation uses: OEM key (in firmware), digital license (linked to Microsoft account), or retail key (entered manually). Activation issues:
- Digital license not synced after Microsoft account sign-in.
- Hardware change (motherboard, CPU) reset the digital license link.
- Reactivation servers temporarily unreachable.
- Slow activation rollout after reinstall.
- License expired (rare for normal users).
Method 1: Check status and manually activate
The standard route.
- Open Command Prompt as Admin.
- Check current status:
slmgr /xprShows: “Windows is activated permanently” (if activated) or “Notification mode” (if inactive).
- For detailed info:
slmgr /dli slmgr /dlvShows license details, edition, channel.
- Manually try activation:
slmgr /atoForces activation. May succeed or report error code (look up code at Microsoft support).
- For activation server timeout: wait a few minutes, retry. Microsoft activation servers occasionally lag.
- If success message: Windows activated. Restart and verify.
This is the standard fix.
Method 2: Re-link Microsoft account digital license
For digital license issues.
- Open Settings → System → Activation.
- Click Add an account (or sign in to your Microsoft account if local).
- Sign in with the Microsoft account that holds the Windows license.
- Activation troubleshooter: click Troubleshoot.
- Pick I changed hardware on this device recently if applicable.
- Walk through wizard. Pick the Windows install on the list (Microsoft remembers your linked devices).
- Click Activate. May require login confirmation.
- For hardware change: Microsoft activates if hardware change is within tolerance. Major hardware change (new motherboard, new CPU) may require contacting support to transfer.
- For account mismatch: ensure same account that originally activated.
This is the digital license route.
Method 3: Reset and reinstall key
For corrupted key state.
- Get current product key (for reference):
wmic path softwarelicensingservice get OA3xOriginalProductKeyFor OEM firmware key. Save in case.
- For retail key: have your key on hand.
- Remove current installed key:
slmgr /upk - Clear product key from registry:
slmgr /cpky - Install new key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXXReplace X with actual key.
- Activate:
slmgr /ato - Verify:
slmgr /xpr. Should show permanent activation. - Reboot.
This is the key reinstall.
How to verify the fix worked
- Settings → System → Activation shows: Windows is activated with a digital license or … linked to your Microsoft account.
slmgr /xprshows permanent.- No more activation pop-ups or watermark.
- System restrictions (no personalization) gone.
If none of these work
If still asks to activate: Hardware change beyond tolerance: contact Microsoft support: 1-800-642-7676 or chat at support.microsoft.com. Activation tech can help reset. For OEM PCs sold without proper firmware key: rare; OEM may have miscoded. Contact OEM. For self-built PCs: retail key required; OEM key violates terms. For pirated keys: won’t work. Buy legitimate. For Windows 11 specific to Insider Channel: Insider builds need active Insider enrollment. Settings → Windows Insider Program. For volume license PCs (corporate): KMS server unreachable. Contact IT. For specific .ato errors (0xC004F074, etc.): look up code at support.microsoft.com. Each has specific fix. Last resort: clean install and re-activate: Reset This PC → Cloud download. Sign in with same Microsoft account — digital license re-applies.
Bottom line: slmgr /ato to force activation. Use Settings → Activation → Troubleshoot for hardware changes. Re-link Microsoft account for digital license. slmgr /upk + slmgr /ipk + slmgr /ato for key reinstall.