European company based in France Excellent4.9/5Trustpilot1,800+ reviews Lifetime replacement guarantee Email support 24/7
TUTORIAL 22 July 2026 Euroshopkey

Error 0xC004F041: Reactivate Windows Without a KMS Server

Error 0xC004F041 becomes crystal clear once you decode it: your PC did find a KMS activation server, but that server is not itself activated with Microsoft. On a home computer, the cause is almost always the same: the system is running on a generic volume license key (GVLK) — a corporate ISO or a “free” activator — and is looking for a KMS server that does not exist. We are going to identify the installed license with a single command, clear the phantom KMS pointer, then reactivate Windows properly.

What does error 0xC004F041 mean?

The full message displayed by Windows reads: “The Software Licensing Service determined that the Key Management Service (KMS) is not activated.” KMS is a corporate mechanism: an internal server, activated by Microsoft with a host key, in turn activates the computers on the network for renewable 180-day periods. If it has never been activated, it obviously cannot activate anything: the problem lies upstream, not on your computer.

The documented causes of this code:

  • The KMS host has never been activated: missing host key, server with no internet access, expired activation.
  • The PC points to a fake KMS server set up by a pirate activator (often 127.0.0.1:1688) and since neutralized by Microsoft Defender.
  • Windows is running on a GVLK (VOLUME_KMSCLIENT channel) with no KMS infrastructure: the classic case of an “Enterprise / VL” ISO on a personal machine.
  • A leftover setting — a stored slmgr /skms value or an outdated _vlmcs._tcp DNS record — sends requests to a server that is out of service.
  • A work PC used outside the company network, with a KMS host that is misconfigured on the IT side.

The fixes, from the simplest to the most drastic

All the commands are run from a command prompt as administrator (right-click the Start menu, then “Terminal (Admin)”). Follow this order.

1. Identify the license that is actually installed

This thirty-second step determines everything else:

Command What it tells you
slmgr /dli Edition, license channel and last 5 characters of the key
slmgr /dlv Full details: KMS host queried, port, service status
slmgr /xpr Activation expiry date (180 days with KMS, permanent with a retail key)

If the description shows VOLUME_KMSCLIENT, the verdict is final: your Windows is waiting for a corporate server. A key of this type never activates on its own over the internet, by design.

2. Company PC: the fix is on the server side

If the machine belongs to a company, 0xC004F041 is a server incident. The administrator has to activate the KMS host (slmgr /ipk then slmgr /ato on the server) and open port 1688. On your side, reconnect to the network or the VPN, then run slmgr /ato again. Do not remove the key from a managed computer: you would break the company’s licensing compliance.

3. Clear the KMS pointer and force a direct activation

  1. slmgr /ckms: removes the stored KMS server and restores automatic discovery.
  2. net stop sppsvc then net start sppsvc: restarts the Software Protection service.
  3. slmgr /ato: starts a new activation attempt.
  4. slui 4: opens phone activation, useful if your key is legitimate but the online channel fails.

Follow up with the built-in troubleshooter: Settings > System > Activation > Troubleshoot. It switches the computer back to the digital license linked to your Microsoft account if Windows has already been activated on this hardware — see our guide to Windows activation errors.

Key refused for good, or nowhere to be found?

No point losing hours over it: a genuine license is delivered by email within minutes. Windows 11 Pro for 9,90€ — instant activation and lifetime replacement of a defective key.

4. You used a “free” activator: clean up the machine

Let’s be frank: KMSPico, AutoKMS and their equivalents install a fake local KMS server. As soon as Microsoft Defender or an update neutralizes it, 0xC004F041 appears. These tools are illegal, often carry malware, and nothing will make them last. The cleanup:

  1. Uninstall the tool and delete its scheduled tasks.
  2. Run a full scan with Microsoft Defender.
  3. slmgr /upk then slmgr /cpky: uninstalls the current key and purges it from the registry.
  4. sfc /scannow then DISM /Online /Cleanup-Image /RestoreHealth: repairs the system files these utilities have altered.
  5. Install a genuine key (next step).

5. Install a genuine key and activate for good

  1. slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your genuine product key.
  2. slmgr /ato to activate online.
  3. slmgr /xpr to confirm the message “The machine is permanently activated.”

The key must match the edition: a Pro key entered this way on a Home edition will be refused. To change edition without reinstalling, go through Settings > System > Activation > Change product key. Our Windows 11 activation guide details each step, and our Windows 11 keys page lists the editions available.

If nothing has worked

Let’s be honest: no command brings a dead key back to life. A key refused by the activation servers, revoked after a fraudulent sale or with its activation quota used up will stay refused, however many times you run slmgr /ato. And nothing will turn a GVLK into a standalone license: it only works with an activated KMS host.

Two ways out remain. Contact Microsoft support first, which makes sense if your case is legitimate: an OEM sticker on the case, a digital license linked to your account, an invoice to back it up. Otherwise, start over with a new license: at 9,90€, a genuine Windows 11 Pro key costs less than an evening spent troubleshooting a server that is not even there.

Frequently asked questions

Can Windows be activated without a KMS server?

Yes — in fact, that is how a personal PC normally works. A retail or OEM key activates directly with Microsoft’s servers, with no local infrastructure, and remains valid for life. KMS is only meant for fleets of several dozen computers.

Does error 0xC004F041 mean my key is fake?

Not necessarily. It points at the activation server being queried, not at the key itself: a perfectly official GVLK triggers this code if no activated KMS host answers. If you do not know where your key came from, slmgr /dli shows its license channel.

Do I need to reinstall Windows to get out of KMS mode?

No. As long as the edition does not change, the sequence slmgr /upk, slmgr /ipk, slmgr /ato is enough to switch from a volume license key to an individual key without losing any files or applications. A reinstall is only needed to move down an edition (from Pro to Home, for example), or if an activator has damaged the system too badly.

Neighboring codes that often show up during this kind of troubleshooting: error 0xC004F039, when the KMS service cannot be reached, and error 0xC004F050, when the key does not match the installed edition.

Related Articles

Deepen your knowledge with our other expert guides

Windows & Office Activation Errors: Complete 2026 Guide
TUTORIAL

Windows & Office Activation Errors: Complete 2026 Guide

8 min read Read more
Remove the “Activate Windows” Watermark: Activation Fix
TUTORIAL

Remove the “Activate Windows” Watermark: Activation Fix

8 min read Read more
Windows Key Not Working: Fix Activation Error 0xC004F050
TUTORIAL

Windows Key Not Working: Fix Activation Error 0xC004F050

8 min read Read more

🚀 Office 2024 Available + All Our Authentic Microsoft Licenses

Low prices: Office 2024 • Windows 11 Pro • Office 2021
Instant delivery, email support and lifetime replacement guarantee included.

Premium Support – priority assistance 24/7 (5 years)

€6.90
Official price: €14.90
Buy Now
PACK

Windows 11 Pro – 5 PCs

€39.90
Official price: €745
Buy Now
PACK

Microsoft Office 2024 Pro Plus – 3 PCs

€39.90
Official price: €597
Buy Now
100% Authentic Licenses
5-minute delivery
Email support 24/7
Lifetime replacement guarantee
Euro Shop Key