About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Activation fails with 0xC004F014 when the Software Protection Service reports that the product key is not available. Microsoft’s cause is direct: no product keys are installed on the system. The fix is to install a MAK, or for KMS activation to install the KMS Setup key from installation media.
What the symptom means
Microsoft’s message:
The Software Protection Service reported that the product key is not available.
Activation type in the summary table: MAK / KMS client.
Prove the cause before changing anything
These steps only read.
1. Confirm the activation UI or script output shows 0xC004F014. Check licence status with Microsoft’s slmgr options (/dlv displays detailed licence information; it does not by itself prove the last activation error code):
cscript c:\windows\system32\slmgr.vbs /dlv
Write down, in a note you keep with the change record (for example act-c004f014-dlv-before.txt): License Status, Partial Product Key (or that none is shown), Channel, and today’s date.
2. Decide MAK versus KMS from your volume-licence design, not from guesswork on a single PC.
3. If KMS: locate Pid.txt under the \sources folder on matching installation media and write down the Setup key presence (not the key itself in tickets if policy forbids).
Fix
MAK: install the organisation’s MAK
Write down, in a note you keep with the change record (for example act-c004f014-mak-before.txt): the Partial Product Key from /dlv (or that none was shown), the MAK escrow location name, and today’s date.
Risk: the next command installs a product key (/ipk silently replaces any key already present). A mistyped MAK can leave the system unactivated until you install the correct key from escrow again.
cscript c:\windows\system32\slmgr.vbs /ipk <MAK-from-escrow>
Then, as its own step:
cscript c:\windows\system32\slmgr.vbs /ato
To undo it: if act-c004f014-mak-before.txt recorded a previous Partial Product Key, run /ipk with the full matching key from escrow. If the note recorded that none was shown, there is nothing to put back—the newly installed MAK stays; Microsoft’s /upk uninstalls the current product key and leaves the system unlicensed after restart if you must clear it.
KMS client: install the Setup key from media
Microsoft’s steps: check Pid.txt in the installation media \sources folder for a KMS Setup key, then install the key.
Write down, in a note you keep with the change record (for example act-c004f014-kmssetup-before.txt): the Partial Product Key from /dlv (or that none was shown), media build label, that Pid.txt was read, and today’s date.
Risk: installing the wrong edition’s Setup key fails activation. Our own advice: confirm the Setup key matches this edition before you run /ipk.
cscript c:\windows\system32\slmgr.vbs /ipk <KMS-Setup-key-from-Pid.txt>
Then activate against your KMS host:
cscript c:\windows\system32\slmgr.vbs /ato
To undo it: if the note recorded a previous Partial Product Key, run /ipk with the full matching previous key from escrow, then /ato. If none was shown before, there is nothing to put back—the Setup key stays; use /upk only if you must clear it and accept an unlicensed state after restart.
Confirm the fix
/dlvshows a Partial Product Key and a licensed state without 0xC004F014.- KMS clients show a successful contact with the host after the Setup key is present.
- MAK machines activate online without returning 0xC004F014.
What to watch afterwards
- 0xC004F050 is an invalid key, not a missing one.
- 0xC004C003 is a blocked MAK at the activation server.
Read next
Related articles you may want next.
- TroubleshootingWindows activation error 0xC004F050: "The Software Protection Service reported that the product key is invalid"Windows activation 0xC004F050: the product key is invalid. Check the typed key, the Windows version it belongs to and pasted dashes before replacing it.Read article
- TroubleshootingWindows activation error 0xC004C008: KMS host product key could not be usedWindows activation 0xC004C008: product key could not be used. KMS host key exceeded its limit—contact Volume Licensing or point Azure VMs at azkms.Read article
- TroubleshootingWindows activation error 0xC004C003: "The activation server determined the specified product key is blocked"Windows activation 0xC004C003: the activation server says the product key is blocked. Confirm the installed key, then get a replacement as Microsoft says.Read article
Risks and limits
These steps have not been lab-tested.
Never paste production keys into public tickets. Keep MAK and Setup keys in your secret store; this article uses placeholders only.
Sources
- Troubleshoot Windows activation error codes — Microsoft Learn, accessed 4 December 2026
- Activation slmgr.vbs options — Microsoft Learn, accessed 4 December 2026 (
/dlv,/ipk,/upk)
This article was originally published on .