Windows activation

Windows activation error 0xC004F050: the product key is invalid

Error 0xC004F050 means the Software Protection Service rejected the product key as invalid, often a typo, a key for another edition or a Beta key. The fix.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

0xC004F050 comes from the Software Protection Service on the PC, which checks a product key before activation: "The Software Protection Service reported that the product key is invalid." Microsoft's activation error reference gives two causes, a typo, or trying to use a Beta key on a generally available version of the operating system, and says the error can appear with a MAK, with KMS, or on a KMS client.

Microsoft's consumer activation help page lists the code in a large group of key-related errors. For that group it gives three reasons: you entered a product key that can't be used to activate Windows; you upgraded to Windows but the activation servers were busy; or you used the free upgrade offer and Windows isn't activated after a reinstall.

Common causes

  • A typing mistake in the 25-character key, or hyphens replaced by em dashes when the key was pasted.
  • A key for a different version or edition of Windows, including the wrong KMS client key for that version.
  • A Beta or preview key used on a released version of Windows.
  • Busy activation servers straight after an upgrade.
  • After a reinstall of a free upgrade, especially after significant hardware changes such as a new motherboard.

How to fix it

1. Re-enter the key carefully

Select Start, Settings, System, Activation, then Change product key, and type the key again. Microsoft says to make sure you have entered the correct characters and numbers, and if you copy and paste the key, make sure the Clipboard didn't replace the hyphens with em dashes. Typing the key by hand avoids that problem.

2. Use a key that matches the installed edition

Microsoft's fix is to enter a different product key or buy a new one if the current key can't be used. Check the edition shown on the Activation page and make sure the key is for that edition. If you need to find the key that came with the PC, see finding your Windows 11 product key and checking activation.

3. Wait and activate again after an upgrade

If you just upgraded and the activation servers were busy, Microsoft says an upgrade from an activated earlier copy of Windows activates automatically, or you can wait a while and then select Activate. After reinstalling a free upgrade, Windows should activate automatically as long as there were no significant hardware changes.

4. Admins: install the correct KMS client key

Microsoft says to make sure you're installing the correct KMS key on the corresponding version of Windows. The Generic Volume License Keys (GVLKs) for each version are published in Microsoft's KMS client activation and product keys article, and Microsoft notes they can't be used with retail editions. Install the right key from an administrative command prompt:

slmgr /ipk <product key>

If nothing works

If a correctly typed key that matches the edition still returns 0xC004F050, Microsoft's activation page says to contact customer support. On a managed work device, ask the help desk, since the organization controls which volume key the device should use.

What we checked

Three Microsoft pages were read on 2026-11-21. The Microsoft Learn article Troubleshoot Windows activation error codes defines 0xC004F050, names the typo and Beta key causes and gives the correct-key and em dash advice. The support.microsoft.com page Get help with Windows activation errors lists the code in its product key group with the three reasons quoted above. The Microsoft Learn article on KMS client activation and product keys was read for the GVLK and slmgr /ipk details. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does 0xC004F050 mean?

The Software Protection Service on the PC decided the product key is invalid. Microsoft says this happens after a typo or when a Beta key is used on a generally available version of Windows.

I pasted the key and it still fails. Why?

Microsoft warns that copying and pasting can replace the hyphens in a key with em dashes. Type the key by hand, checking each character and number.

Can a KMS client key activate a retail copy of Windows?

No. Microsoft says KMS client keys (GVLKs) are for volume licensing and can't be used with retail editions; a retail copy needs a retail license or a MAK.

  • 0xC004C003 (Windows activation)

    Error 0xC004C003 means the activation server rejected the product key as not valid or blocked, often because it was used on several devices. What to do next.

  • 0xC004C008 (Windows activation)

    Error 0xC004C008 means the activation server rejected the key because it was already used elsewhere or hit its activation limit. Fixes for PCs and KMS hosts.

  • 0x803F7001 (Windows activation)

    Error 0x803F7001 means Windows could not find a valid license for this PC, often after a hardware change or reinstall. Here is how to reactivate it safely.

  • 0x8007232B (Windows activation)

    Error 0x8007232B means a KMS client could not find the KMS host records in DNS. Fixes for home PCs with the wrong key and for admins troubleshooting KMS DNS.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.