Error 0xC004F041: Key Management Server (KMS) is not activated
This error occurs in: Windows Server 2016, Windows Server 2019, Windows Server 2022.
Cause
The KMS server itself does not have a valid activation. Before activating KMS clients, the KMS server must be activated by Microsoft.
Symptoms
- During activation, the message appears: "Key Management Server (KMS) is not activated"
- Error code:
0xC004F041 - English version: "The Key Management Server (KMS) is not activated"
Step-by-step solution
On the KMS server: run slmgr.vbs /ato (online activation) or call the Microsoft hotline for telephone activation of the KMS server.
Solution for Windows Server
- Open PowerShell as administrator
- Enter the key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- Activate:
slmgr /ato
- Check the status:
slmgr /xpr
Verification
After performing the steps, check if the activation was successful:
- Windows: Settings → System → Activation → should be "Windows is activated"
- Or:
slmgr /xprin the command line
Still not working?
If the above steps did not help:
- Check the date and time — they must be correct (an incorrect date can block activation)
- Temporarily disable antivirus and try again
- Check the internet connection — online activation requires a connection to Microsoft servers
- Contact us:
- Email: [email protected]
- Phone: 00 800 121 1654 (toll-free)
- Help center: pomoc.kluczesoft.pl