Windows Activation Fails with Error 0xC004F074

Farid Omar 0 Reputation points
2026-11-18T05:30:34.8033333+00:00

Hi guys,

What causes Windows activation to fail with error code 0xC004F074, and how can I troubleshoot connectivity issues between the Windows client and the Key Management Service (KMS) host, including DNS configuration, network communication, and KMS server availability?

Tqsm

Windows for business | Windows Client for IT Pros | Devices and deployment | Licensing and activation
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-18T05:31:00.54+00:00

    Error 0xC004F074 means Windows could not complete activation through Key Management Service (KMS). Common causes are:

    1. The KMS host is unavailable.
    2. The Software Protection Platform Service (sppsvc) on the KMS host is stopped.
    3. Network communication to the KMS host is blocked, commonly TCP port 1688.
    4. DNS points clients to an incorrect or old KMS host.
    5. The client and KMS host system times differ too much.
    6. For older environments, a KMS host/client version mismatch can also cause this error.

    A practical troubleshooting path is:

    1. Check the Application Event Log on the client
      Look for activation-related events, especially Event ID 12288, and use those errors to guide the next steps.
    2. Verify the KMS host service
      On the KMS host, confirm that the Software Protection Platform Service (sppsvc) is running. If it is stopped, start it.
    3. Test network connectivity to the KMS host on TCP 1688
      From the client, run:
         Test-NetConnection -ComputerName <KMS Host Server> -Port 1688
      
      Review TcpTestSucceeded:
      • True = the port is reachable.
      • False = traffic on port 1688 is blocked between the client and the KMS host.
    4. Check DNS configuration for KMS discovery
      In DNS Manager:
      • Open the domain zone.
      • Select the _tcp folder.
      • Find the _VLMCS SRV record.
      • Verify it points to the correct KMS host.
      • Then verify the KMS host’s Host (A) record in the domain zone.
      • If the IP address is wrong or outdated, update it to the current KMS host.
    5. Check time synchronization
      If the client time is too different from the KMS host time, activation can fail. Synchronize the client time with the KMS host by using NTP or Active Directory Domain Services. On the client, this command can resync time:
         w32tm /resync
      
      For the older KMS-unavailable scenario in the documentation, a time difference of more than 4 hours can trigger failure.
    6. Check for KMS host/client version mismatch in older systems
      In environments using older KMS hosts such as Windows Server 2003 or Windows Server 2008, newer clients such as Windows 7 or Windows Server 2008 R2 may require host updates before activation succeeds.
    7. If the device is an Azure Windows VM
      Additional connectivity checks apply:
      • Make sure the VM is configured to use the correct Azure KMS endpoint.
      • Clear any existing KMS configuration and set the Azure KMS server:
         slmgr.vbs /ckms
         Invoke-Expression "$env:windir\system32\cscript.exe $env:windir\system32\slmgr.vbs /skms azkms.core.windows.net:1688"
      
      • Test connectivity:
         Test-NetConnection azkms.core.windows.net -port 1688
      
      • If the VM uses custom DNS, make sure it can resolve azkms.core.windows.net.
      • If outbound traffic is routed through Azure Firewall, add a rule to allow TCP 1688 to the KMS endpoint and verify firewall logs for denies or rule mismatches.
      • Forced tunneling, network virtual appliances, or an internal load balancer can block activation traffic if outbound routing is not configured correctly.
    8. Retry activation
      After fixing service, DNS, network, or time issues, run:
         slmgr /ato
      

    If more data is needed for escalation, collect diagnostics by following Gather information by using TSS for deployment-related issues.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Jason Nguyen Tran 30,745 Reputation points Independent Advisor
    2026-11-18T06:12:49.1766667+00:00

    Hi Farid Omar,

    Based on my understanding, error 0xC004F074 typically occurs when a Windows client cannot successfully communicate with the Key Management Service (KMS) host or when the KMS activation process cannot be completed. This can happen due to DNS configuration issues, network connectivity problems, firewall restrictions, incorrect KMS configuration, or an unavailable KMS server.

    My first recommendation is to verify that the client can resolve the KMS host correctly through DNS and that network communication between the client and the KMS server is functioning normally. I would also confirm that the Software Protection Platform service is running and review the Windows Application Event Log for activation-related events that may provide additional details about the failure. If a recent network, firewall, or Group Policy change occurred, compare an affected device with a successfully activated one to identify any differences.

    It is also worth checking whether the KMS host has reached its activation threshold and is responding properly to activation requests. Reviewing activation status on both the client and the KMS host can help determine whether the issue lies with connectivity, name resolution, licensing configuration, or server availability. In many environments, the root cause turns out to be DNS records or communication interruptions between the client and the KMS service rather than a licensing problem.

    From a troubleshooting perspective, I would focus on DNS resolution, network connectivity, KMS service health, and activation-related event logs before making configuration changes. This approach usually identifies the source of the error while preserving the existing licensing infrastructure.

    I hope the response provided some helpful insight. If you find this answer useful, please hit “accept answer” so I know it addressed your concern.

    Jason

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.