How to Fix Windows Activation Error 0xC004F012 (Licensing Data Unavailable)

Softkeyworld Team · 09 October 2026

Quick answer: Error 0xC004F012 means the Software Licensing Service couldn't find the licensing value it needed, which usually points to a missing or corrupted licence store (tokens). Restart the Software Protection service, rebuild the licence files with slmgr /rilc, repair system files with SFC and DISM, then reinstall your key and activate.

The full message is often “The Software Licensing Service reported that the call has failed because the input key's value was not found.” In plain terms, Windows asked its own licence store for information and the entry was missing.

Why the Licence Store Breaks

Windows keeps activation state in a protected store managed by the Software Protection service. Forced shutdowns during updates, disk errors, cleaners that delete “unneeded” files, and activator tools can all damage it. The result is 0xC004F012 even with a perfectly valid key.

Cause Fix
Software Protection service stopped or disabled Fix 1
Licence definitions damaged Fix 2
Wider system file corruption Fix 3
Key no longer registered Fix 4

How to Fix Error 0xC004F012

Fix 1: Restart the Software Protection service

sc config sppsvc start= delayed-auto net stop sppsvc net start sppsvc

If the service refuses to start, note the error. Access denied points to permissions, which our 0x80070005 guide covers.

Fix 2: Rebuild the licence files

slmgr /rilc

Restart the PC afterwards. This reinstalls the licence definitions Windows needs to recognise editions and keys.

Fix 3: Repair system files

sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth

Fix 4: Reinstall the key and activate

slmgr /upk slmgr /cpky slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX slmgr /ato

If you use a digital licence and do not know the key, skip /ipk and use Settings > System > Activation > Troubleshoot after signing in with your Microsoft account.

Fix 5: In-place repair upgrade

If the store keeps failing, an in-place upgrade with official media rebuilds licensing completely while keeping apps and files. Our Windows 11 Pro install guide shows where to get official media.

What the Licence Store Contains

Windows keeps activation data in C:\Windows\System32\spp\store, protected so only the Software Protection service can change it. It holds the installed licences, your key information and the current activation state. When a file inside is damaged or removed, the service cannot answer requests for licence values and returns 0xC004F012. Deleting this folder manually, advice found in some forums, can make things worse and should be avoided; the steps above rebuild it safely.

Office Users: Same Service, Same Error

Microsoft Office on Windows uses the same Software Protection service for volume editions. If Office also reports licensing errors at the same time, the shared licence store is the likely cause. Fixing Windows licensing first usually clears both; reopen Office afterwards and check File > Account.

Diagnosis Checklist

Check Command Healthy result
Service status sc query sppsvc STATE RUNNING or STOPPED (it starts on demand)
Licence status slmgr /dlv Shows an edition, channel and licence status
System files sfc /scannow No integrity violations
Component store DISM /Online /Cleanup-Image /ScanHealth No component store corruption

If slmgr /dlv itself fails with 0xC004F012, the store is definitely damaged and Fix 2 should be your first step.

Prevention

  • Avoid PC cleaners that offer to remove “unused system files”.
  • Let updates finish before shutting down.
  • Do not use activator tools, which rewrite the licence store.

Frequently Asked Questions

Is 0xC004F012 caused by a bad product key?

Usually not. It indicates missing or damaged licensing data on the PC. Once the licence store is rebuilt, the same key typically activates.

Is slmgr /rilc safe?

Yes. It reinstalls built-in licence files and does not remove your personal data or apps.

Can a PC cleaner cause 0xC004F012?

Yes. Some cleaners delete files in protected system folders, including licensing data. Avoid aggressive “deep clean” options.

Will I lose my digital licence?

No. The digital licence lives on Microsoft's servers. Rebuilding the local store lets Windows read it again.

What if the service still won't start?

Run SFC and DISM, then consider an in-place repair upgrade. Permission problems are covered in our 0x80070005 guide.

Windows 11 Pro KeyWindows 10 Pro Key

Helpful Resources

Type Resource Why it helps
Internal Error 0x80070005 guide Service permission problems
Internal Windows 11 Pro install guide Official media for repair upgrades
Internal Windows 11 Pro key Retail licence
External Microsoft: Get help with Windows activation errors Official Microsoft guidance
External Microsoft Learn: Troubleshoot activation error codes Official Microsoft guidance

Still stuck after working through every fix? Email support@softkeyworld.com with the exact error text, your Windows edition (from winver) and the output of slmgr /dli, and our team will tell you whether the key, the edition or the system is the problem.

Need a genuine licence key? Shop licences