Back to Help Center
Troubleshooting

Error 0xC004F041 — Key Management Service (KMS) is not activated

How to fix activation error 0xC004F041 (Key Management Service (KMS) is not activated). Step-by-step instructions for Windows Server 2016, Windows Server 2019, Windows Server 2022.

2 min czytania·Zaktualizowano dzisiaj

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

  1. Open PowerShell as administrator
  2. Enter the key:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
  1. Activate:
slmgr /ato
  1. 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 /xpr in the command line

Still not working?

If the above steps did not help:

  1. Check the date and time — they must be correct (an incorrect date can block activation)
  2. Temporarily disable antivirus and try again
  3. Check the internet connection — online activation requires a connection to Microsoft servers
  4. Contact us:
    • Email: [email protected]
    • Phone: 00 800 121 1654 (toll-free)
    • Help center: pomoc.kluczesoft.pl

Najczęściej zadawane pytania

The Key Management Service (KMS) server is not activated
On the KMS server: run `slmgr.vbs /ato` (online activation) or call the Microsoft hotline for phone activation of the KMS server.
In most cases, no — the error can be resolved without a new key. If the key is blocked, please contact us at `[email protected]`.
Yes — type `slui 4` in the command line and follow the phone instructions. You can also call 00 800 121 1654 for assistance.

Czy ten artykuł był pomocny?

Error 0xC004F041 — how to fix it? Instructions [2025] | Help Center