Skip to content
Activation error

0xC004F074

No Key Management Service (KMS) could be contacted

The Software Protection Service could not reach a Key Management Service (KMS) host to complete activation. This affects volume-licensed copies of Windows and Office that activate against an organization's KMS server rather than Microsoft's public activation servers.

Symptoms

  • slmgr.vbs /ato returns "No Key Management Service (KMS) could be contacted"
  • Office KMS activation (ospp.vbs /act) reports the same 0xC004F074 code
  • The Application Event Log shows activation events with Event ID 12288 errors

Causes

  • The KMS host system is offline or the Software Protection Platform service (sppsvc) is not running on it
  • TCP port 1688 between the client and the KMS host is blocked by a firewall
  • The DNS SRV record (_vlmcs) for the KMS host is missing, stale, or points at an old server

How to fix it

1

Verify network connectivity to the KMS host

From an elevated PowerShell prompt run Test-NetConnection <kmshost> -Port 1688. If TcpTestSucceeded is False, the port is blocked — open it on the firewall between the client and the KMS host.

2

Check DNS SRV records

KMS clients discover the host by querying DNS for _vlmcs SRV records inside their membership zone. Confirm the record exists and points at a live KMS host (nslookup -type=srv _vlmcs).

3

Confirm the KMS host service is running

On the KMS host, check that the Software Protection Platform service (sppsvc) is running and that the host itself is activated — an unactivated KMS host cannot activate clients.

4

Review the Application Event Log

Open the Application event log and find events associated with the activation attempt that have Event ID 12288. The detail message for each event identifies which part of the KMS exchange failed.

Still need help?

If error 0xC004F074 keeps blocking activation after these steps, our support team can check your key and license channel directly.

Contact support

Genuine licenses

Genuine licenses that activate cleanly

Related searches

KMS activation troubleshootingTCP 1688 firewallDNS SRV record _vlmcs

From the blog

Help & guides