Skip to main content
Daybreak
Error code

0xC004F042

The specified Key Management Service (KMS) cannot be used.
WindowsKMS clientChecked 2026-10-20
Official message
Microsoft original
The Software Protection Service determined that the specified Key Management Service (KMS) cannot be used.

What this means

The KMS host this client is contacting is not accepted by the current license. This is common when the setup crosses organizations or points at a test environment.

Common causes

  • The client and the host are not in the same licensing boundary.
  • The host address points at the wrong environment.
Do this first

Check that the KMS address the client uses was provided by your organization.

What to do next

  1. 1Ask IT to confirm the correct KMS host address.
Continue diagnosis from this code

Take what you know into the KMS diagnosis. It will ask a few more questions to narrow this down.

Start the diagnosis

Sources

Related articles

About this data
The meaning and the original message come from the documents listed above. The same error code can have more than one cause. This site gives an order of checks. It does not decide your exact situation from the code alone.
Back to error codes