Back to Help Center
Troubleshooting

Error 0xC004F039 — Key Management Service (KMS) is not enabled

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

2 min czytania·Zaktualizowano dzisiaj

Error 0xC004F039: Key Management Service (KMS) is not enabled

This error occurs in: Windows Server 2016, Windows Server 2019, Windows Server 2022.

Cause

The KMS client has reached the KMS server, but the KMS server is not activated or is not configured to handle this type of activation.

Symptoms

  • During activation, the message appears: "Key Management Service (KMS) is not enabled"
  • Error code: 0xC004F039
  • English version: "The Key Management Service (KMS) is not enabled"

Step-by-step solution

On the KMS server, run: slmgr.vbs /ato to activate the server. Check if the software protection service is running: services.msc > Software Protection.

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:
    • E-mail: [email protected]
    • Phone: 00 800 121 1654 (toll-free)
    • Help center: pomoc.kluczesoft.pl

Najczęściej zadawane pytania

The Key Management Service (KMS) is not enabled
On the KMS server, run: `slmgr.vbs /ato` to activate the server. Check if the Software Protection service is running: `services.msc` > Software Protection.
In most cases, no — the error can be resolved without a new key. If your 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 us on `00 800 121 1654` for assistance.

Czy ten artykuł był pomocny?

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