Most Windows activation errors point to one of five causes: the key does not match the edition, the key has hit its activation limit, the PC cannot reach the activation server, the hardware changed, or the key is the wrong type. The error code tells you which one. Find your code in the table below, then follow the fix.
The codes at a glance
| Error code | What it means | First thing to try |
|---|---|---|
| 0xC004F050 | The key is not valid, or not valid for this edition | Re-enter the key and check the edition |
| 0xC004C003 | The activation server says the key is blocked | Ask the seller for a replacement |
| 0xC004C008 | The key was used on more PCs than allowed | Contact the seller, or move the license first |
| 0xC004F074 | No key management server was found | Install a retail key with slmgr /ipk |
| 0xC004F211 | Windows detected a hardware change | Run the Activation troubleshooter |
| 0x80072F8F | A date, time or secure connection problem | Fix the clock, then activate again |
0xC004F050: invalid key or wrong edition
This code means Windows did not accept the key. The two usual reasons are a typing mistake and an edition mismatch, such as a Home key entered on a Pro install.
Check Settings, System, About to see your edition, then enter the key again by copying and pasting it. Make sure you are online, because a key that is correct can still fail if the device cannot reach the activation service. If the key is right and the edition matches, ask the seller to check it.
0xC004C003: the key is blocked
The activation server refused this key because it is blocked. A blocked key cannot be fixed on your PC. At Webdigikey, a key that does not activate is replaced, so send us your order number and the error code.
0xC004C008: the key has been used too many times
Each key can be activated on a limited number of PCs. This message appears when that limit is reached, often because the key was already used elsewhere. If you own the key and you moved to a new PC, the old install has to stop using it. Read Can you transfer a Windows license to a new PC? and then try phone activation with slui 4.
0xC004F074: no key management server
This code belongs to volume licensing, where Windows looks for a company server to activate. If you see it on a PC with a retail key, a volume or generic key is installed instead of yours. Open a terminal as administrator and run:
slmgr /ipkfollowed by your retail key.slmgr /ato.
That replaces the installed key with yours and asks Microsoft's servers to activate it.
0xC004F211: hardware change detected
Windows ties a license to the hardware, and a new motherboard counts as a different PC. After a big change, go to Settings, System, Activation, choose Troubleshoot and select I changed hardware on this device recently. If your license is linked to a Microsoft account, sign in with that account and pick the device.
0x80072F8F: date, time or connection
This code appears when the PC cannot make a secure connection to Microsoft, and a wrong clock is the most common cause. Set the date, time and time zone to automatic, run Windows Update, and try again. If you use a VPN or a strict firewall, turn it off for a minute while you activate.
When nothing works, activate by phone
Press Windows + R, type slui 4 and press Enter. Choose your country, call the number shown, and read out the installation ID. You receive a confirmation ID to type in. The same method for Office is covered in How to activate Office by phone.
For the full activation steps, see How to activate Windows 11 Pro with a product key. Microsoft also publishes the meaning of each error on its Windows activation support pages.
If you need a working license, Windows 11 Pro from Webdigikey comes with a replacement if activation fails, and you can browse every edition in the Windows category.
Frequently asked questions
Does a clean install remove the license?
No. A clean install does not delete your license. Enter the same key again, or let a digital license activate automatically after you sign in.
Can a virus cause an activation error?
It can corrupt licensing files, but it is rare. If the codes above do not fit, run sfc /scannow in an administrator terminal and try activation again.
Why did Windows deactivate by itself?
The usual causes are a hardware change, a key that was blocked, or an edition change. The Activation page tells you which one applies.
Should I use an activation script from the internet?
No. Those scripts can install malware and break your license. Use your own key, or contact the seller for a replacement.
Microsoft, Windows, Office and other product names are trademarks of their respective owners.