Error 0xC004F050? Key Didn’t Work – Fix It Fast (2026)

Windows licensing & activation troubleshooting · real buyer tickets + Microsoft docs, re-checked monthly
1Confirm the exact edition first: Settings > System > About — the key must match it (a Pro key on Home rejects with 0xC004F050)
2Re-enter the key: Change product key in Activation settings, or slmgr /ipk in an elevated prompt (section 03)
3Edition mismatch: switch with the generic Pro key (section 04), then activate with your own key — a spent key: replace it (section 05) ✓ done
/ipk validates before it installsQuick Answer
On this page: Why Windows Rejects a Key With 0xC004F050 → First Checks: Read What the Service Sees → Fix One: Re-Enter the Key Correctly → Fix Two: Edition Mismatch – the Home-to-Pro Route → Fix Three: When the Key Is Genuinely Spent.
• 0xC004F050 = the Software Licensing Service checked the key and found it invalid or not applicable — the key is the thing being rejected, not your PC.
• Two documented surfaces: Settings says “the product key that you entered didn’t work”; slmgr says “the product key is invalid”.
• Most common cause: edition mismatch — a Pro key on Home, or Pro vs Pro N. Check Settings > System > About before anything else.
• Command route: elevated prompt, slmgr /ipk then slmgr /ato — /ipk validates before installing and returns this exact error on a mismatch.
• Key already used on another PC, exhausted or revoked → Microsoft’s own guidance: enter a different key, or buy one that matches your edition.
| Windows 11 Pro OEM key BEST SELLER
Best for: Activation fixes that should end with a clean, permanent license
|
Check price ↗ |
| Windows 11 Home key
Best for: Home-edition PCs that just need a valid key
|
Check price ↗ |
| Office 2021 Pro Plus key
Best for: One-time Office purchase, no subscription
|
Check price ↗ |
| Windows Server IoT 2022
Best for: Appliance and fixed-purpose builds
|
Check price ↗ |
Disclosure: links go to KeyStarter products; we may earn from qualifying purchases. Prices are set at checkout.
Error 0xC004F050 is the Software Licensing Service rejecting the product key itself. The Settings dialog words it “The product key that you entered didn’t work. Check the product key and try again or enter a different one”; an elevated console words it “The Software Licensing Service reported that the product key is invalid.” The service checked your 25-character key against the installed edition and its licensing channel and found a mismatch: a typo, a wrong edition (a Pro key on a Home install, or Pro on Pro N), a key already spent on another PC, or a volume key with no volume server to answer it. Three routes fix it in order — re-enter the key correctly, switch the edition to match the key, or replace a genuinely spent key. The first two routes cost nothing.
01Why Windows Rejects a Key With 0xC004F050
Microsoft’s activation-errors page lists 0xC004F050 among the codes that appear when “You entered a product key that can’t be used to activate Windows.” The wording matters: the key is what gets rejected — not your hardware, not the network, not the license already on the machine.
What the service actually validates is documented in the official Slmgr.vbs reference: the /ipk switch “tries to install a 5×5 product key”, confirms the key is “valid and applicable to the installed operating system”, and if it is not, “an error is returned”. Applicable means two things match at once — the edition family (Home, Pro, Pro N, Enterprise) and the channel (retail, OEM, volume). A perfectly typed retail Pro key still fails on a Home install; the same key fails on Pro N, because N editions are their own family.
The same rejection shows on two surfaces: the graphical Change product key dialog in Settings, and the console when you run slmgr /ipk. Same validator behind both — the console wording is simply the one that names the code.
Bottom line. the code names the key, not your machine — the service checked the key against the installed edition and channel, and rejected it there.
02First Checks: Read What the Service Sees
Open Settings > System > About and read the edition name exactly — “Windows 11 Pro”, “Windows 11 Pro N” or “Windows 11 Home”. Your key must match that name. Most 0xC004F050 cases in Microsoft’s own Q&A threads are Home PCs being upgraded to Pro with a Pro key the install never accepted — wrong-edition rejections, not dead keys.

slmgr.vbs /xpr :: current activation state
/dlv shows the channel the running install expects and the last five characters of any key already in place — enough to spot a volume key sitting on a home PC. One more note from Microsoft’s error page: right after a large upgrade the activation servers can be busy, and the same code can appear for that reason alone — wait a bit and retry before changing anything. Licensing commands must run in an elevated Command Prompt window, per the official Slmgr.vbs documentation.
Bottom line. match first, type second: the edition name in About must equal the key’s edition before any fix route can work.
03Fix One: Re-Enter the Key Correctly
The GUI route: Settings > System > Activation > Change product key, type the 25-character key, confirm. The console route does the same job with more feedback:
:: on a rejected key, the console shows the documented text:
Error: 0xC004F050 The Software Licensing Service reported that the product key is invalid.
cscript //nologo C:\Windows\System32\slmgr.vbs /ato :: attempt online activation
Transcription is the quiet failure source here: O and 0, B and 8, I and 1 look alike in several fonts, and a stray space around a hyphen counts as a wrong character. Re-entering is safe even when a key is already installed — the official /ipk reference says an existing key is “silently replaced”. If /ipk accepts the key but /ato then fails with a different code, follow that code’s guide — the rejection moved past the key stage.

Bottom line. an elevated prompt plus /ipk + /ato is the documented install-and-activate pair — validation happens inside /ipk, so a mismatch fails there, with this exact code.
04Fix Two: Edition Mismatch – the Home-to-Pro Route
The most common real scenario, straight from Microsoft’s Q&A threads: a Windows 11 Home PC, a Windows 11 Pro key, and the Store’s own upgrade flow stalling partway with this code. The route Microsoft support advisors walk users through: switch the edition first with the generic Pro install key VK7JG-NPHTM-C97JM-9MPGT-3V66T — it changes Home to Pro without activating anything — then reboot, reconnect to the internet, and activate with your purchased key (/ipk + /ato, or sign in and let the troubleshooter do it).
Two cautions from the same pages: a Pro key will not activate Pro N — N editions are a separate family and need an N-key. And after an edition switch, run Settings > System > Activation > Troubleshoot: it re-links a digital license tied to your Microsoft account. The full walkthrough lives in our guide: upgrade Windows Home to Pro.
Bottom line. when editions disagree, the generic-key switch changes the edition without activating — your own key then activates the matching install.
05Fix Three: When the Key Is Genuinely Spent
Microsoft’s own guidance for a key that cannot be used is blunt: enter a different one, or buy one that matches the edition. Three honest cases sit behind a 0xC004F050 that survives the checks above: the key was already used on another device under its license terms; it is a volume key whose activation pool ran out; or it came from a gray-market listing and was revoked. Commands cannot revive any of those — the key is the problem, and replacement is the fix.
One special case deserves its own line: a motherboard replacement can sever the digital license that tied Windows to the device. That is not a key-invalidity problem — the documented route is phone activation: run SLUI 04 and complete re-activation with Microsoft on the phone.

Bottom line. a key that is used up, exhausted or revoked is a replacement problem, not a command problem.
06Command quick reference
slmgr.vbs /dlv :: detailed license info – channel and partial key
slmgr.vbs /xpr :: current activation state
cscript //nologo C:\Windows\System32\slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX :: install – validates first
:: on a rejected key, the console shows the documented text:
Error: 0xC004F050 The Software Licensing Service reported that the product key is invalid.
cscript //nologo C:\Windows\System32\slmgr.vbs /ato :: attempt online activation
Commands exactly as documented in this guide — run in an elevated prompt. Outputs vary by edition and licence state; the table below maps each command to its job.
| Command / surface | What it does |
|---|---|
slmgr.vbs /dlv |
Detailed license info — channel and partial key; shows what the service currently sees |
slmgr.vbs /ipk <5x5 key> |
Installs the key after validating it — returns 0xC004F050 when the key is not valid or not applicable |
slmgr.vbs /ato |
Prompts Windows to try online activation — run after the key installs |
| Settings > Activation > Change product key | GUI equivalent of /ipk — same validation, same rejection |
Bottom line. /dlv reads, /ipk writes, /ato activates — if /ipk returns 0xC004F050, no later command can rescue that key on that edition.
07Frequently asked questions
Does 0xC004F050 mean my Windows license is gone?
Does 0xC004F050 mean my Windows license is gone?
No. The code rejects the key you entered, not the license state of the machine. If Windows was activated before as a digital license tied to your Microsoft account, the Activation Troubleshooter can re-link it — the key you typed may simply be the wrong one for this edition.
Can I fix 0xC004F050 without paying anything?
Can I fix 0xC004F050 without paying anything?
Yes in the common cases: fix a transcription error, match the edition with the generic-key switch (section 04), or wait out busy activation servers after a large upgrade. Money only enters when the key itself is spent or revoked — then a matching replacement is the documented endpoint.
How is 0xC004F050 different from 0xC004C008?
0xC004C008 means the key is recognized but hit its activation limit — installed on more PCs than its terms allow, so a slot must be freed on the old device. 0xC004F050 means the key is not valid for this install at all. The first can be fixed by moving the key; the second needs a matching key.
Why does activation fail after I replaced my motherboard?
A motherboard change can sever the digital license that tied Windows to the device. That failure has its own path: run SLUI 04 and complete phone activation — Microsoft’s documented route for hardware-change re-activation.
Where can I get a key that will not hit 0xC004F050?
From a source that states the edition and channel upfront — the listing should say exactly “Windows 11 Pro” or “Home”. A matching edition from our Windows 11 Pro listing activates with /ipk + /ato the same day.
Is the generic Pro key legal to use?
Yes — Microsoft publishes generic keys for edition switching and its own support advisors recommend this route. A generic key changes the edition without activating anything; Windows stays unlicensed until your real key activates it.
08External References
Related: the all activation failure causes and fixes hub, the 0xC004C008 unlock-limit fix, the 0x80070422 service-disabled fix, and the slmgr not recognized fix — plus Windows 11 Pro keys when the key itself is the dead end.
- Microsoft Support: Get help with Windows activation errors
- Microsoft Learn: Slmgr.vbs options (official reference)
- Microsoft Q&A: Win11 Pro upgrade failed with 0xc004f050
- Microsoft Q&A: 0xc004f050 – the product key you entered didn’t work
- Microsoft Q&A: 0xC004F050 Software Licensing Service transfer case
- Microsoft Learn — activation techniques and slmgr
- Microsoft Support — Windows activation errors
- Microsoft Learn — licensing and activation troubleshooting
- Microsoft Support — Activate Windows
Written by the KeyStarter Technical Team — AI-assisted drafting, human-verified against the linked Microsoft documentation. Updated November 06, 2026. Applies to: Windows 10 and Windows 11 client editions; steps re-checked monthly.
Disclosure. KeyStarter is an independent third-party reseller of genuine Microsoft licenses (Windows, Office, Server) and is not affiliated with or endorsed by Microsoft. Product names are trademarks of their respective owners. Prices are set at checkout.