Cart0

Guide · 3 min read

0xC004F041 Activation Error: The KMS Host Is Not Activated

Published

0xC004F041 Activation Error: The KMS Host Is Not Activated

Short answer: The 0xC004F041 activation error says the Key Management Server is not activated. The fix is on the KMS host: install the organisation's KMS host key and activate it with Microsoft, online or by phone. On a home PC, I'd replace the volume key with a retail or OEM key.

The 0xC004F041 activation error shows up when the KMS server exists and answers, but hasn’t been activated itself. A host that isn’t activated can’t activate anyone else.

Who you are What to do
Administrator of the KMS host Install the KMS host key and activate the host, online or by phone
User of a company PC Report the code to IT; nothing on your PC fixes it
Home user Your PC is asking somebody’s KMS server; replace the volume key

Clients can only wait. The administrator has a short job to do.

What 0xC004F041 stands for

The message: “The Software Protection Service determined that the Key Management Server is not activated. KMS needs to be activated.”

Microsoft’s activation error codes reference gives the cause without detours. The KMS host hasn’t been activated.

The solution is equally short. Activate the KMS host by using online or telephone activation.

Causes

Cause Detail
New host, setup not finished The host key was installed and the activation step was skipped
Host can’t reach Microsoft Servers often sit behind a proxy or without internet access
Host rebuilt or moved New hardware or a new virtual machine, and the old activation didn’t come along
Host key out of activations A KMS host key can only be activated a limited number of times
Wrong machine answers Clients reach a test server that was never meant to go live

How to fix the 0xC004F041 activation error

All of it happens on the KMS host, in an administrator Command Prompt.

  1. Run the detailed license line and read the license status of the host.
  2. If no KMS host key is installed, install the organisation’s key with the install line.
  3. With internet access on the host, run the activation line.
  4. Without internet access, show the installation ID and call the Microsoft Licensing Activation Centers.
  5. Enter the confirmation ID you get with the phone activation line.
  6. Run the detailed license line again; the status should read Licensed.
  7. On a client, run the activation line to test.
slmgr /dlv
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
slmgr /dti
slmgr /atp CONFIRMATION-ID
Line What it does on the host
slmgr /dlv Shows the license status, the KMS status and the current count
slmgr /ipk Installs the KMS host key
slmgr /ato Activates the host online
slmgr /dti Shows the installation ID for telephone activation
slmgr /atp Activates the host with the confirmation ID
Four steps for the 0xC004F041 activation error: check the host's status, install the KMS host key, activate online or by phone, test a client
Status, host key, activation, then a client to test.

The key for this job is the KMS host key from the organisation’s volume licensing portal. A KMS client key won’t do. That one is public and belongs on the clients.

Host key and client key

The two get mixed up more than anything else in volume activation.

KMS host key KMS client key
Where it comes from The organisation’s volume agreement Published by Microsoft, the same for everyone
Where it goes On the KMS host only On every client
Activates against Microsoft, online or by phone The organisation’s KMS host
How often A limited number of times As often as needed
Two columns comparing a KMS host key with a KMS client key: where each comes from, where it is installed and what it activates against
The host key goes to Microsoft once. The client keys go to the host.

When a host key has used up its activations, Microsoft reports that under 0xC004C008. The request for more goes to the Licensing Activation Centers.

After the host is activated

Clients don’t jump to “activated” at once. Two more things have to be true.

  • The host’s count has to reach its floor: 25 Windows clients or 5 servers.
  • Each client has to ask again. They retry by themselves, and the activation line speeds it up.

Below the floor, clients get 0xC004F038. That’s progress. The host is answering as it should.

On a home PC

You don’t run a KMS host, so this message isn’t about a server of yours. Windows holds a KMS client key and found some server to ask.

Whoever runs that server never activated it properly. I wouldn’t wait for them.

slmgr /ckms
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato

Clear the server name, install a retail or OEM key for the same edition and activate.

Need the key? Ours are genuine and arrive instant to email: Windows 11 Pro and Windows 10 Pro. The steps in Settings are in how to activate Windows 11.

Neighbouring codes

Code What it says
0xC004F041 The KMS host isn’t activated
0xC004F039 KMS didn’t respond to the request
0xC004F042 The host can’t activate this product
0xC004F074 No KMS host could be contacted
0xC004F038 The host’s count is too low

Everything outside KMS is in our list of Windows 11 activation errors.

Where these steps apply

System Notes
Windows Server as KMS host All host steps; server key types are in our Windows Server 2022 activation guide
Windows 11 and Windows 10 as clients Only the last step; the fix is on the host
Office KMS hosts Same idea with the Office host key and the Office volume license pack

Volume, retail and preinstalled licenses are compared in Retail vs OEM vs Volume license.

Mistakes we see most

  • Installing a KMS client key on the host.
  • Installing the host key on clients.
  • Forgetting the activation step after the key goes in.
  • Trying to fix it from a client.
  • Expecting clients to activate before the count is reached.

Terms used on this page

Term Meaning
KMS host The server that activates the organisation’s PCs
KMS host key The organisation’s key that turns a server into a KMS host
KMS client key A public volume key for the PCs that ask the host
Installation ID The number the host shows for telephone activation
Confirmation ID The number Microsoft gives back
Count How many different machines contacted the host recently

FAQ

What does error 0xC004F041 mean?

The KMS host that answered hasn't been activated itself. The message says KMS needs to be activated. Until that's done, we see every client request to this host fail the same way.

How do I fix 0xC004F041?

On the KMS host, install the KMS host key and activate it. Microsoft's solution names online or telephone activation. Then I'd run the activation line on a client to test.

Can I fix it from the client PC?

No. The client did its part and reached a host. Only the host's administrator can activate the host. On a work PC, I'd report the code to IT.

Which key activates a KMS host?

The organisation's KMS host key from its volume licensing portal. The public KMS client keys are for clients and won't work here. Mixing the two up is the mistake we see most.

The host is activated now, and clients still fail. Why?

Probably the count. A host needs 25 Windows clients or 5 servers before it activates anyone. Below that, clients get a different code. I'd check the count on the host.

Can a KMS host be activated without internet?

Yes, by telephone. The host shows an installation ID, Microsoft's activation center returns a confirmation ID, and one line enters it. Many servers are activated that way.

Why does my home PC show this error?

Windows holds a KMS client key and reached somebody's KMS server that isn't activated. That server isn't yours to fix. I'd clear its name and install a retail or OEM key.