This page contains promotions.

How to Fix Windows License Activation Errors | Error Codes, Product Keys, and Digital License Diagnosis

Windowsロゴ付きキーボード

The message "Windows is not activated" appearing in the bottom-right corner of your screen — or being prompted to activate every time you open Settings — is a frustration that many Windows users encounter. The root cause varies widely depending on the error code, license type, and whether you've made any hardware changes, and targeting the wrong fix wastes a lot of time. This article walks you through the correct diagnostic approach for Windows 11 and Windows 10, with step-by-step solutions organized by symptom. One important note upfront: the dirt-cheap product keys sold online for a few dollars are almost always gray-market volume license keys (VL / MAK) diverted from corporate agreements — they can be revoked without warning. See the final section for where to get a legitimate license.

Table of Contents

  1. First: What "Windows Is Not Activated" Actually Means
    1. What Still Works — and What Gets Restricted — During the Grace Period
    2. Never Buy Gray-Market or Counterfeit Product Keys
  2. Identify Your License Type
    1. Digital License vs. Product Key: What's the Difference?
    2. Check Whether Your License Is Linked to a Microsoft Account
  3. Quick-Reference Table of Common Error Codes
  4. Run the Activation Troubleshooter
    1. Steps for Windows 11
    2. Steps for Windows 10
    3. Choosing "I Changed Hardware on This Device Recently"
  5. Re-Enter Your Product Key
    1. Re-Enter via Settings
    2. Re-Enter via Command Line (slmgr.vbs)
    3. Where to Find Your Product Key
  6. Check System Settings
    1. Set the Correct Date and Time
    2. Check Your Internet Connection, VPN, and Proxy
    3. Temporarily Disable Firewall and Security Software
  7. Activate via Command Line
    1. Online Activation with slmgr.vbs /ato
    2. Check Activation Status with slmgr.vbs /dlv
    3. Reset the Grace Period with slmgr.vbs /rearm
  8. Re-Activating After a Hardware Change
    1. Why a Motherboard Swap Breaks Activation
    2. Re-Activating Through Your Microsoft Account
  9. Activation After Upgrading from Windows 10 to Windows 11
    1. Automatic License Transfer Is the Norm
    2. What to Do If the Transfer Fails
  10. Contacting Microsoft Support
  11. Where to Buy a Legitimate License and What to Expect to Pay
    1. Trusted Sources
    2. Why You Should Avoid Cheap Keys
    3. Choosing Between Home and Pro
  12. Summary: A Step-by-Step Checklist

First: What "Windows Is Not Activated" Actually Means

Windows license activation is the process of verifying with Microsoft's servers that your copy of Windows is genuine. When activation lapses, the Settings app and the desktop watermark in the lower-right corner will display "Windows is not activated" — but your PC does not stop working immediately. Start by understanding exactly what you can still do and what will be restricted.

What Still Works — and What Gets Restricted — During the Grace Period

After activation lapses, Windows enters a grace period before enforcing restrictions.

OSApproximate Grace Period
Windows 10About 30 days
Windows 11About 7 days (some restrictions may begin immediately)

Things that continue to work during or after the grace period:

  • Booting the OS, installing, and running applications
  • Internet access and web browsing
  • Creating and saving files
  • Windows Update (security updates continue to be delivered)

Things that get restricted when activation lapses:

  • Changing the desktop wallpaper, theme, or accent color
  • A persistent "Windows is not activated" watermark on the desktop
  • Some personalization options (Start menu customization, etc.)
  • On Windows 11, the lock screen background may also be restricted

Never Buy Gray-Market or Counterfeit Product Keys

A quick web search turns up websites and marketplace listings offering Windows 11 Pro keys for just a few dollars. The vast majority of these are corporate volume license keys (VL / MAK) that have been illegally resold, or keys scraped from other users' accounts. Activation may succeed at first, but once Microsoft's servers flag the key as fraudulent it will be revoked without notice. Using such a key may also carry legal risk depending on your jurisdiction and use case. For peace of mind, stick to the official channels described in the last section of this article.

Identify Your License Type

Before diving into fixes, it's important to know which type of Windows license you have — the right solution depends heavily on this.

Digital License vs. Product Key: What's the Difference?

Windows licenses today fall into three main categories.

TypeHow It WorksTypical Source
Digital licenseTied to your Microsoft account and device hardware — no product key entry requiredWindows 10/11 upgrades, Microsoft Store purchases
Retail product keyA 25-character code you enter manually. Can be transferred to another PCMicrosoft Store, retail box at electronics stores
OEM licenseBound to the original PC it came with — cannot be transferredPre-installed on PCs from Dell, HP, Lenovo, etc.

To check your current license type:

  1. Open Settings (Win+I).
  2. Windows 11: Go to System → Activation.
  3. Windows 10: Go to Update and Security → Activation.
  4. If the Activation Status field reads "Windows is activated with a digital license linked to your Microsoft account," you have a digital license.

Check Whether Your License Is Linked to a Microsoft Account

A digital license linked to a Microsoft account can be moved between PCs. Without that link, re-activating after a hardware change becomes much harder.

To link your license:

  1. On the Activation page in Settings, look for "Add a Microsoft account" or "Windows is activated with a digital license linked to your Microsoft account."
  2. If no account is linked, click "Add a Microsoft account" and sign in.
  3. Once linked, future hardware changes can be handled through your account without needing to contact Microsoft Support.

Quick-Reference Table of Common Error Codes

If an error code appears during activation, use the table below to find the most likely cause and recommended fix.

Error CodeMost Likely CauseRecommended Fix
0xC004F074Unable to reach a KMS server (common on corporate networks)Check network connectivity; for corporate licenses, contact your IT department
0xC004F050Invalid product key (counterfeit, already used, or edition mismatch)Obtain a legitimate product key and re-enter it
0x803F7001Activation lapsed after a hardware changeUse the Activation Troubleshooter and select "I changed hardware on this device recently"
0x8007232BDNS issue preventing connection to the activation serverCheck DNS settings (try switching to 8.8.8.8)
0x80072F8FIncorrect date or time on the PCCorrect the date/time and enable automatic NTP sync
0x803F7000Temporary issue on Microsoft's activation serversWait a while and try again
0xC004C003Activation limit for this product key has been reachedContact Microsoft Support to request a license transfer
0xC004E003Software Licensing Service reported an errorRun slmgr.vbs /dlv for details; repair system files with SFC
0x8007007BInvalid file name, directory name, or volume label syntaxRe-enter the product key with slmgr.vbs /ipk
0x80070005Insufficient permissions (Access denied)Run as administrator; temporarily disable security software

Run the Activation Troubleshooter

Windows includes a built-in tool that automatically diagnoses and resolves many activation problems. Try this before resorting to manual steps — it's also the recommended approach after a hardware change.

Steps for Windows 11

  1. Press Win+I to open Settings.
  2. Go to System → Activation.
  3. Click "Activation troubleshooter."
  4. If prompted for administrator permission, click Yes.
  5. The diagnostic runs automatically.

Steps for Windows 10

  1. Press Win+I to open Settings.
  2. Go to Update and Security → Activation.
  3. Click "Troubleshoot" (this option only appears when Windows is not activated).

Choosing "I Changed Hardware on This Device Recently"

If the troubleshooter presents the option "I changed hardware on this device recently," click it. This is the most effective path for re-activating after a motherboard swap or SSD replacement.

  1. Select "I changed hardware on this device recently."
  2. Sign in with your Microsoft account (you'll be prompted if you aren't already signed in).
  3. A list of devices linked to your account appears. Select the current device and check "This is the device I'm currently using," then click Activate.
  4. When you see "Windows is activated," you're done.

Re-Enter Your Product Key

If you have a retail or OEM product key, re-entering it can resolve activation problems. This is especially useful after a Windows 10 to Windows 11 upgrade or a clean install.

Re-Enter via Settings

  1. Open Settings (Win+I).
  2. Windows 11: Go to System → Activation → Change product key.
  3. Windows 10: Go to Update and Security → Activation → Change product key.
  4. Enter your 25-character product key (hyphens are inserted automatically).
  5. Click Next, then Activate.

Re-Enter via Command Line (slmgr.vbs)

If the GUI doesn't work or throws an error, you can enter the product key directly from the command line. Open PowerShell or Command Prompt as Administrator and run:

To enter the product key:

slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

(Replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your actual product key.)

After entering the key, trigger online activation:

slmgr.vbs /ato

A dialog saying "The product was successfully activated" confirms success.

Where to Find Your Product Key

If you can't locate your product key, check these places:

  • Sticker on the bottom or back of your PC: OEM machines sometimes have a 25-character key printed there, though many PCs made after Windows 8 embed the key in the BIOS/UEFI firmware instead.
  • Original packaging: Retail (boxed) copies include the key on a card or label inside the box.
  • Order confirmation email: If you purchased from the Microsoft Store or an online retailer, the key is in your order confirmation.
  • Microsoft account order history: Sign in at account.microsoft.com and check Services and subscriptions or Order history.

Note: OEM licenses are embedded in the BIOS/UEFI, so as long as you're using the same PC, Windows will recognize the license automatically without any manual key entry.

Check System Settings

If the activation server is failing to respond, your own PC settings may be to blame. An incorrect date/time and network issues are two causes that look unrelated to activation but frequently are.

Set the Correct Date and Time

License activation communicates with Microsoft's servers over HTTPS. If your PC's clock is significantly off from the server's, SSL certificate validation fails, producing error code 0x80072F8F.

  1. Go to Settings → Time and Language → Date and Time.
  2. Turn on both "Set time automatically" and "Set time zone automatically."
  3. Click "Sync now" to force an immediate time sync.
  4. Try activating again.

Check Your Internet Connection, VPN, and Proxy

Online activation requires a working internet connection. Check the following:

  • Verify you can open a website in your browser (basic connectivity check).
  • If you're using a VPN, disconnect it before trying to activate — some VPNs block the route to Microsoft's activation servers.
  • If a proxy is configured, go to Settings → Network and Internet → Proxy and disable the manual proxy, then retry activation.

Temporarily Disable Firewall and Security Software

Third-party security software can block outbound connections to Microsoft activation endpoints like activation.sls.microsoft.com.

  • In your security software's settings, temporarily disable real-time protection (5–10 minutes) and retry activation.
  • In Windows Firewall's Advanced Settings → Outbound Rules, check that no rule is blocking activation-related traffic.
  • Be sure to re-enable protection after activation is complete.

Activate via Command Line

When the GUI troubleshooter can't resolve the problem, slmgr.vbs lets you perform activation operations directly from the command line. Open Command Prompt or PowerShell as Administrator before running any of the commands below.

Online Activation with slmgr.vbs /ato

This attempts online activation using whatever product key is currently installed. It's the most straightforward activation command.

slmgr.vbs /ato

On success, a dialog confirms "The product was successfully activated." If it fails, note the error code and cross-reference the quick-reference table above.

Check Activation Status with slmgr.vbs /dlv

This displays detailed license information: edition, activation status, days remaining in the grace period, KMS client details, and more.

slmgr.vbs /dlv

If the License Status field shows "Licensed," activation is current. "Notification" or "Unlicensed" means action is required.

To check the expiration date specifically:

slmgr.vbs /xpr

Reset the Grace Period with slmgr.vbs /rearm

If the grace period is almost up, /rearm resets the countdown. Note that this command has a limited number of uses (typically 3–5). It doesn't solve the underlying activation problem, but it buys time while you work on a real fix.

slmgr.vbs /rearm

Restart your PC after running this command — the change does not take effect until you reboot.

Re-Activating After a Hardware Change

Windows stores a "hardware fingerprint" at the time of activation — a combination of motherboard serial number, CPU information, network adapter MAC address, and other identifiers. If you swap the motherboard or significantly rebuild a custom PC, Windows treats the machine as a different device and activation lapses, even if you're using the same product key.

Why a Motherboard Swap Breaks Activation

At activation, Windows sends a "Hardware ID" derived from multiple hardware components to Microsoft's servers, where it is stored and associated with your license. Replacing the motherboard or other major components changes that ID, causing Microsoft's servers to flag the system as a new, unlicensed device.

How easy re-activation is depends on your license type:

  • Digital license (linked to a Microsoft account): The simplest re-activation path — use the Activation Troubleshooter.
  • Retail product key: Can be re-entered and re-activated, but if the activation limit has been reached, you'll need to contact Microsoft Support.
  • OEM license: Bound to the original motherboard. After a motherboard swap, you generally need to purchase a new license.

Re-Activating Through Your Microsoft Account

Follow these steps if your digital license is linked to a Microsoft account.

  1. Go to Settings → Activation → click "Troubleshoot."
  2. Select "I changed hardware on this device recently."
  3. Sign in to your Microsoft account if prompted.
  4. A list of devices linked to your account appears. Select the current device (the PC with the new motherboard).
  5. Check "This is the device I'm currently using" and click Activate.
  6. When you see "Windows is activated," you're done.

This process uses Microsoft's device license transfer feature and requires an internet connection and a signed-in Microsoft account.

Activation After Upgrading from Windows 10 to Windows 11

If you upgraded from Windows 10 to Windows 11 using the free upgrade offer, license activation carries over automatically in virtually all cases. As long as the install is on the same physical PC, you should not be prompted to reactivate.

Automatic License Transfer Is the Norm

The free upgrade grants Windows 11 as a digital license. After the upgrade, Settings → Activation should read "Windows 11 is activated with a digital license linked to your Microsoft account" — that is the expected state.

The free upgrade to Windows 11 has remained available beyond October 2025 (as of April 2026). Compatible hardware can still upgrade even after Windows 10 reaches end of support.

What to Do If the Transfer Fails

If activation is not working after the upgrade, try the following in order:

  1. Go to Settings → Activation and run "Troubleshooter."
  2. If the troubleshooter doesn't resolve it, open Command Prompt as Administrator and run slmgr.vbs /ato.
  3. If that also fails, rolling back to Windows 10 and then upgrading again sometimes clears the issue (within 10 days of the upgrade, use Settings → System → Recovery → "Go back to the previous version of Windows").
  4. Entering your Windows 10 product key in Settings → Activation may activate it as a valid Windows 11 license.

Contacting Microsoft Support

If you've exhausted all the steps above, or if your product key has hit its activation limit or you have proof of purchase, contacting Microsoft Support directly is the way to go.

What to have ready before you contact support:

  • The error code (a screenshot helps)
  • Your product key or purchase receipt/order confirmation email
  • Output of slmgr.vbs /dlv (detailed license information)

How to reach support:

  • Chat support: Visit the Microsoft Support page at support.microsoft.com, select "Contact us," then choose "Activation." Chat typically gets you the fastest response.
  • Phone support: An agent in the chat may provide a callback number or transfer you to a phone line.
  • Volume licensing (VL / SA): Contact your Microsoft volume licensing reseller or Microsoft's business support line. Consumer support agents cannot handle volume licensing cases.

If you have proof of purchase, resolution is almost guaranteed. Microsoft will re-authorize the license at no charge for customers who purchased legitimately.

Where to Buy a Legitimate License and What to Expect to Pay

If none of the activation steps above work, the license itself may not be genuine. Here's where to get a legitimate Windows license and how to tell trusted sellers from the rest.

Trusted Sources

SourceLicense TypeApproximate Price (as of 2026)Notes
Microsoft StoreDigital license (retail)Windows 11 Home: ~$139
Windows 11 Pro: ~$199
Safest option. Instantly linked to your Microsoft account
Amazon (Microsoft official store)Digital license and boxedSame as Microsoft StoreAmazon gift cards accepted. Use only the official Microsoft storefront on Amazon
Major electronics retailersBoxed copy (USB or card)Similar to Microsoft Store pricingCard format (sealed envelope with product key) is most common today
OEM pre-installed on a new PCOEM licenseIncluded in the PC price (not sold separately)Tied to that specific PC and cannot be transferred

Why You Should Avoid Cheap Keys

Product keys sold on auction sites, resale apps, and gray-market overseas storefronts for just a few dollars carry serious risks:

  • Diverted corporate volume licenses (MAK / KMS): Keys purchased as part of a corporate agreement that have been illegally resold. Microsoft detects and revokes them, often without warning.
  • Keys linked to someone else's account: Activation may work initially, but the original owner or seller can report the key, causing it to be deactivated.
  • Counterfeit or algorithmically generated keys: Many simply don't work at all.
  • Legal risk: Depending on your jurisdiction and how you use the software, using unlicensed software can create legal exposure.

"It activated fine at first but suddenly stopped working one day" and "I entered the key and now I'm getting an error" are telltale signs of a gray-market or counterfeit key.

Choosing Between Home and Pro

For most personal use, Windows 11 Home is all you need. Consider Pro if you need any of the following:

  • Joining a corporate domain (Active Directory)
  • BitLocker full-drive encryption
  • Hyper-V virtualization
  • Hosting Remote Desktop connections (the host side requires Pro)
  • Fine-grained control via Group Policy

For everyday personal use — browsing, Office, gaming, video editing — Home is the right choice.

Summary: A Step-by-Step Checklist

When "Windows is not activated" appears, work through these steps in order:

  1. Open Settings → Activation to identify your license type and note any error code.
  2. If an error code is shown, look it up in the Quick-Reference Table of Common Error Codes above.
  3. Run the Activation Troubleshooter at Settings → Activation → Troubleshooter.
  4. If you recently changed hardware, select "I changed hardware on this device recently" and re-activate through your Microsoft account.
  5. If you have a product key, re-enter it via Settings or with slmgr.vbs /ipk, then run slmgr.vbs /ato.
  6. Verify that your date and time are correct and that automatic NTP sync is enabled.
  7. Disconnect any VPN and proxy, temporarily disable security software, and retry activation.
  8. Run slmgr.vbs /dlv to review detailed license status information.
  9. If this happened after upgrading from Windows 10 to Windows 11, run the troubleshooter or execute slmgr.vbs /ato from an elevated prompt.
  10. If you have proof of purchase, contact Microsoft Support via chat or phone.
  11. If the license may not be genuine, purchase a legitimate license from the Microsoft Store or a major retailer.

Most activation problems can be solved on your own once you've identified the cause. Always check the error code first — it's the fastest way to zero in on the right fix. For other Windows issues, see the Windows Troubleshooting Guide | Solutions by Symptom. Since keeping Windows Update current can also affect activation, the Fix Failed Windows Update | Disk Space, Troubleshooter, Cache Reset, and Manual Install Checklist is worth a look as well.