Windows activation error 0xC004F050 (product key invalid): how to fix it
0xC004F050 is a licensing error: Windows rejected the product key as invalid, usually while upgrading an edition (Home to Pro) or activating after an upgrade. Check that the key matches your exact edition or, for a Microsoft Store purchase, that you are signed in with the buying Microsoft account. Then retry later, and repair Windows with an in-place install if it persists.
On this page
What it means
Despite how it is often described, 0xC004F050 is not a setup failure. It is a licensing error: the product key is invalid for this installation. Microsoft's wording is that the key can't be used to activate Windows.
People most often meet it when typing a key under Change product key during a Home to Pro upgrade, or after a purchased Store upgrade fails. Microsoft's own page for this code covers Windows 10. The Windows 11 details here rest on one community Q&A thread, so the wording on your screen may differ a little.
The Activation page is at Settings > System > Activation on Windows 11, and at Settings > Update & Security > Activation on Windows 10. The steps below give both.
Symptoms and causes
You are likely dealing with this problem if:
- A message like "Check your product key and try again, or select Change product key" together with 0xC004F050.
- The error appears right after you enter a key in the Activation settings.
- A Home to Pro upgrade bought from the Microsoft Store fails, and you never received a 25-character key.
The usual causes, most common first:
- Wrong key
- A typo, or a key for a different edition or version.
- No traditional key exists
- A Store-purchased upgrade is a digital license tied to your Microsoft account, not a typed key. Being signed in with a different account, or typing something that is not a key, can trigger the error.
- Activation servers busy or unreachable
- Microsoft notes that the servers can be busy during or just after an upgrade, so a valid key may be rejected temporarily.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Check the Microsoft account and activation state
If you bought the upgrade in the Store, the license lives on your Microsoft account, so the wrong account is a common reason for rejection.
- Find the purchase confirmation email and note which Microsoft account made the purchase.
- Open Settings > System > Activation (Windows 11) or Settings > Update & Security > Activation (Windows 10) and check the activation state and which account is signed in.
- If it is the wrong account, sign in with the purchasing account and check activation again.
2.Re-enter a valid key for your exact edition
Microsoft's own guidance for this error is to use a valid key.
- Go to Settings > System > Activation (Windows 11) or Settings > Update & Security > Activation (Windows 10) and select Change product key.
- Type the 25-character key carefully, making sure it is for the edition you are upgrading to, then continue.
- If the key is still rejected, it is invalid for this install. Use a different valid key or buy a new one from Microsoft.
3.Wait and try activating again
The activation servers can be busy during or just after an upgrade.
- Wait a while, then open Settings > System > Activation (Windows 11) or Settings > Update & Security > Activation (Windows 10) and select Activate again.
- If you upgraded from Windows 7 or 8.1, Windows 10 should activate on its own; if it does not, select Activate and retry.
4.Run the Activation troubleshooter
It can detect license problems tied to your account or hardware. It is mentioned in community guidance, not on Microsoft's Windows 10 page for this code.
- Open Settings > System > Activation (Windows 11) or Settings > Update & Security > Activation (Windows 10).
- Select Troubleshoot.
- Follow the prompts and restart if asked.
5.Do a repair install (in-place upgrade) with the Media Creation Tool
It reinstalls Windows while keeping your files and apps, which can clear a damaged licensing state. This approach also comes from the same community answer.
Before you start: Back up your important files before starting. Choose the option to keep files and apps when setup asks.
- On a working PC, download the Media Creation Tool from microsoft.com/software-download/windows11 and create USB installation media.
- On the problem PC, disconnect any USB or Bluetooth devices you do not need.
- Open the USB drive and run
Setup.exe, choose to install, and keep personal files and apps. - When it finishes, check the Activation page (Settings > System > Activation).
6.Contact Microsoft support
If the key and account are right and nothing worked, only Microsoft can check the purchase and license on their side.
- Have your proof of purchase and the error code 0xC004F050 ready.
- Use the contact options in Microsoft's activation help article, and only Microsoft's official pages.
Check that it worked
- The Activation page (Settings > System > Activation on Windows 11, Settings > Update & Security > Activation on Windows 10) shows Windows as activated.
- The edition shown under Settings > System > About is the one you paid for (for example Windows 11 Pro).
- Changing the product key no longer returns 0xC004F050.
If it still fails
- Confirm that the key really matches your edition and was bought from a legitimate source. Keys from unofficial sellers are a common cause of persistent rejection.
- Contact Microsoft support with proof of purchase and the error code.
- Avoid activators, KMS tools and key-changing scripts found online. They do not fix a licensing problem and can put malware on your PC.
Questions
Does Microsoft document 0xC004F050 for Windows 11?
Not on the page I could read. Microsoft's support page for this code covers Windows 10. The Windows 11 Home to Pro case here comes from a community Q&A thread, so check the wording on your own screen.
I bought Pro from the Store but never got a key. Is that normal?
Yes, it can be. A Store purchase is usually a digital license linked to your Microsoft account, so check you are signed in with the account that bought it.
Sources
- Windows 10 activation error 0xC004F050Official · Microsoft Support
- Windows upgrade failed (Home to Pro, 0xC004F050) · Microsoft Q&A