How to fix Windows activation error 0xC004F074

Error 0xC004F074 is one of the most common activation errors on Windows 11 and Windows 10. It looks scary, but it usually takes two minutes to fix.

Updated December 2026

What error 0xC004F074 means

Windows shows 0xC004F074 when it is set up for volume activation through a KMS server, the kind of activation server that companies and schools run on their own network. Your PC tries to reach that server, can't find it, and activation fails.

On a home PC there is no KMS server to find. So the fix is almost always the same: replace the volume key that is installed with your own product key, and Windows switches to normal online activation.

Why it happens

  • Windows was installed from a company or volume licensing image.
  • The PC used to belong to a business or school and was activated by its server.
  • The installed key is a generic KMS key, or a key that was sold as a volume licence.
  • An activator or script was used on this PC before and changed the activation settings.

If you are not sure which kind of key you have, check your licence type first. Our guide on retail, OEM and volume licences explains the difference.

Fix 1: enter your own key in Settings

  1. Press Windows + I and go to System › Activation.
  2. Select Change product key.
  3. Type or paste your 25-character key and select Next, then Activate.
  4. Restart the PC and check that Activation state shows Active.

Make sure the key matches your edition: a Windows 11 Pro key activates Windows 11 Pro, and a Home key activates Home.

Fix 2: reset activation with commands

If Settings still shows the error, remove the old key with three commands. Right-click the Start button, open Terminal (Admin) or Command Prompt (Admin), and run these one at a time. Replace the Xs with your own key.

slmgr /upk
slmgr /cpky
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
CommandWhat it does
slmgr /upkRemoves the key that is installed now.
slmgr /cpkyClears the old key from the registry.
slmgr /ipkInstalls your new product key.
slmgr /atoActivates Windows online with that key.

After slmgr /ato, a small window should say the product was activated successfully. Restart the PC to finish.

If it still won't activate

  • Check that your date, time and time zone are correct, then run slmgr /ato again.
  • Run the Activation troubleshooter in Settings › System › Activation.
  • If you now see a different code, look it up 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.