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
- Press Windows + I and go to System › Activation.
- Select Change product key.
- Type or paste your 25-character key and select Next, then Activate.
- 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| Command | What it does |
|---|---|
| slmgr /upk | Removes the key that is installed now. |
| slmgr /cpky | Clears the old key from the registry. |
| slmgr /ipk | Installs your new product key. |
| slmgr /ato | Activates 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
- Windows 11 Pro $24.99
- Windows 11 Home $19.99