How to fix Windows activation error 0xC004F050

Windows says the product key you entered isn't valid (0xC004F050). In most cases it is a typo or a key for a different edition, and both are quick to fix.

Updated December 2026

What error 0xC004F050 means

The Software Licensing Service checked the key you entered and found it isn't valid for the Windows installed on this PC. Nothing is wrong with your PC: the key and the installed edition don't match, or the key was typed wrong.

Check 1: typos

  • Copy and paste the key from your email or account instead of typing it.
  • Watch for letters that look alike: O and 0, B and 8, I and 1.
  • Don't include spaces before or after the key. The dashes are added for you.

Check 2: the key matches your edition

Your keyInstalled WindowsWhat happens
Windows 11 ProWindows 11 ProActivates
Windows 11 ProWindows 11 HomeWindows upgrades to Pro, then activates
Windows 11 HomeWindows 11 ProRejected: install Windows 11 Home, or get a Pro key
Windows 10 ProWindows 11 ProUsually activates: Windows 10 keys work on the same edition of Windows 11

To see your edition, open Settings › System › About. To move from Home to Pro, follow our guide to upgrade Windows 11 Home to Pro.

Check 3: enter the key with a command

If Settings keeps refusing a key you know is right, open Terminal (Admin) and install it directly. Replace the Xs with your key.

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato

You bought the Pro upgrade in the Microsoft Store

If you paid for the Windows 11 Pro upgrade in the Microsoft Store and it fails with 0xC004F050, you usually have no product key: the upgrade is a digital licence linked to your Microsoft account. Switch the edition to Pro first with Microsoft's generic Pro key, which changes the edition but doesn't activate it, then let your purchase activate Windows.

  1. Disconnect from the internet (turn off Wi-Fi or unplug the cable).
  2. Open Settings › System › Activation and select Change product key.
  3. Enter Microsoft's generic Windows 11 Pro key: VK7JG-NPHTM-C97JM-9MPGT-3V66T, and follow the steps to upgrade to Pro. The PC restarts.
  4. Reconnect to the internet. Sign in with the Microsoft account you used in the Store, open Settings › System › Activation and select Troubleshoot if Windows isn't activated within a few minutes.

The generic key only switches the edition: it never activates Windows by itself. If you bought a Pro key from a shop instead, enter that key at step 3, or follow our guide to upgrade Windows 11 Home to Pro.

If it still won't activate

  • Check that your date, time and time zone are correct and that you are online, then try again.
  • Run the Activation troubleshooter in Settings › System › Activation.
  • See all codes in our list of activation error codes.
  • If you bought the key from us, contact us with your order number and a screenshot. If the key is faulty, we replace it.

Keys mentioned in this guide

Still stuck?Send us a screenshot and your order number on the contact page. If a key we sold you won't activate, we fix it or send a replacement.