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

Error 0xC004F034: Fix Windows License Not Found or Invalid

Error 0xC004F034 means Windows found no valid license to present at activation time: either the registered key is unusable, or it is a volume key waiting for a company activation server (KMS) that it cannot reach. The most common cause outside a corporate domain: a GVLK (KMS client key) inherited from a company image or from a PC retired from a corporate fleet, with no KMS server to answer it. Nothing needs reinstalling: we will diagnose the key in place, restore communication with KMS if needed, then install a clean key.

What does error 0xC004F034 mean?

The full message reads: “The Software Licensing Service reported that the license could not be found or was invalid.” Windows did start the activation request, but when it came to presenting its license, it had nothing acceptable. The documented causes:

  • A KMS client key (GVLK) with no KMS server: the PC looks for an activation host on the local network and cannot find one.
  • An unreachable KMS server: missing _vlmcs._tcp DNS record, TCP port 1688 filtered, VPN disconnected, host shut down.
  • A key that does not match the installed edition: an Enterprise key on Pro, a Pro key on Home, a key for another version.
  • A damaged license store (tokens.dat, data.dat) or the “Software Protection” service (sppsvc) stopped.
  • A pirate activator neutralized by Defender or by a cumulative update.
Your situation Where to start
Work PC on a domain DNS, VPN, port 1688 (fix 3)
Second-hand PC from a corporate fleet Orphaned GVLK key: new key (fix 4)
Error appeared after an update License store (fix 5)
An activator was used before Legal license (fix 6)

The fixes, from the simplest to the most drastic

1. A 30-second diagnosis

Open Terminal as administrator (right-click the Start menu).

  1. Type slmgr /dlv and press Enter.
  2. Read the Description line: if it contains VOLUME_KMSCLIENT, the PC has a GVLK key and is looking for a KMS server. If it says RETAIL or OEM, the problem lies with the key or the store, not the network.
  3. If needed, follow up with slmgr /dli for a short summary.
  4. Note the license status and the last 5 characters of the partial product key.

2. Activation troubleshooter, licensing service and clock

  1. Run the troubleshooter: Settings > System > Activation > Troubleshoot.
  2. Check the date, time and time zone: a clock that is out of sync makes the exchange with the activation server fail (w32tm /resync).
  3. Restart the service: net stop sppsvc then net start sppsvc, and reboot.
  4. Run activation again: slmgr /ato.

3. Company setting: restore communication with the KMS server

If the diagnosis returns VOLUME_KMSCLIENT on a company PC, let the IT department know before you do anything.

  1. Check that the host is published in DNS: nslookup -type=srv _vlmcs._tcp.yourdomain.local.
  2. Test the port in PowerShell: Test-NetConnection kms.yourdomain.local -Port 1688.
  3. When working remotely, connect the VPN: a KMS client does not activate over the internet.
  4. Force the host: slmgr /skms kms.yourdomain.local:1688 then slmgr /ato.
  5. To go back to automatic discovery: slmgr /ckms.

If the machine is no longer attached to the company, none of these commands will be enough: the GVLK key no longer has a server to authenticate it.

Key refused for good, or nowhere to be found?

No point losing hours over it: a new, genuine license settles the matter. Windows 11 Pro for 9,90€ — instant email delivery and lifetime replacement of a defective key.

4. Uninstall the faulty key and install a valid one

The operation that settles most cases outside a domain:

  1. slmgr /upk: uninstalls the current key.
  2. slmgr /cpky: clears the leftover key from the registry.
  3. slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX: installs your key, hyphens included.
  4. slmgr /ato: starts online activation.
  5. Graphical alternative: slui 3 to enter the key, slui 4 for phone activation.

Careful: a Pro key does not install on a Home edition. Our Windows activation guide explains how to deal with the edition, Home to Pro upgrade included, and the Windows 11 installation guide takes you through everything from the start.

5. Repair the license store

  1. sfc /scannow, then DISM /Online /Cleanup-Image /RestoreHealth.
  2. slmgr /rilc to reinstall the system license files.
  3. If the error persists: net stop sppsvc, rename tokens.dat and data.dat to .bak in C:\Windows\System32\spp\store\2.0, restart, then redo slmgr /ipk and slmgr /ato.

6. If an activator has been used on this PC

Let’s be frank: a pirate activator emulates a fake local KMS server. As soon as Defender or an update neutralizes it, the PC is left with a GVLK key and no server, and 0xC004F034 appears. No legitimate command will repair this setup, which is both illegal and risky. The clean way out: uninstall the activator, apply steps 4 and 5, and install a genuine Windows 11 key.

When nothing has worked

There is one case where no command will change anything: the key is dead. A revoked volume key, a key refused by Microsoft’s activation server, an exceeded activation quota, an OEM key tied to a motherboard that has since been replaced: slmgr will repeat the same code indefinitely. This is no longer a technical problem, but a question of usage rights. Two ways out:

  • Microsoft support, if your case is legitimate: purchase invoice, key never used elsewhere, linked Microsoft account. Phone activation (slui 4) sometimes allows a reactivation after a hardware change.
  • A new license: Windows 11 Pro for 9,90€, a genuine key with instant email delivery, lifetime replacement of a defective key and email support 7 days a week, with a reply within 2 hours on average.

Frequently asked questions

Can 0xC004F034 appear on a personal PC that is not on a domain?

Yes, and it is common. All it takes is for Windows to come from a company image, or for the machine to be a former work PC: the GVLK key stays registered and looks for a KMS server that does not exist in your home. The remedy is step 4.

Why does the error come back when Windows had been activated for months?

A KMS activation is not permanent: it lasts 180 days and renews itself invisibly as long as the PC can see its server. The day the PC leaves the network or the KMS host is shut down, the renewal fails and the code appears. A retail key, by contrast, never needs renewing.

Do I need to reinstall Windows to fix 0xC004F034?

No, in the vast majority of cases. Reinstalling changes nothing if the same key is entered again, and it does not repair a revoked key. The slmgr /upk, /ipk and /ato commands are enough, without touching your data.

To go further: our general guide to Windows and Office activation errors, and two neighboring codes from the same context, error 0xC004F025 and error 0xC004F035.

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