0xC004F038ActivationMedium

Error 0xC004F038 — SL_E_OFFLINE_ACTIVATION | Windows Activation Fix

Windows 10Windows 11Windows Server 2016Windows Server 2019Windows Server 2022

What Does 0xC004F038 Mean?

The Software Licensing Service reported that the computer could not be activated. The count reported by the Key Management Service (KMS) is insufficient for activation.

Real-World Causes

  1. 1KMS host does not have enough client activations to meet the threshold
  2. 2KMS server has fewer than 25 unique clients (for Windows) or 5 (for Server)
  3. 3Recently deployed KMS host has not yet accumulated enough activation requests
  4. 4Client is contacting the wrong KMS host

Symptoms

  • Volume license clients fail to activate
  • slmgr /ato returns 0xC004F038
  • Event log shows KMS count below threshold
  • New KMS deployment cannot activate any clients

DIY Fix

Beginner-friendly steps you can try at home

  1. 1Wait for more clients to contact the KMS host to reach the activation threshold
  2. 2Verify KMS host is running: slmgr /dli on the KMS server
  3. 3Check that DNS SRV record exists: nslookup -type=srv _vlmcs._tcp.<domain>
  4. 4Manually point the client to KMS: slmgr /skms <kms-host>:<port>

Advanced Fix

For experienced users and IT professionals

  1. 1On the KMS host, verify the current count: slmgr /dli
  2. 2Use MAK (Multiple Activation Key) for small deployments under 25 machines
  3. 3For test environments, register the same VM multiple times with different CMIDs using slmgr /scmid
  4. 4Consider Active Directory-Based Activation as an alternative to KMS

Frequently Asked Questions

What is the KMS activation threshold?
Windows desktop editions require at least 25 unique client requests to the KMS host. Windows Server editions require only 5. Until the threshold is met, no client can activate.
Should I use KMS or MAK for a small office?
For environments with fewer than 25 Windows desktops, MAK (Multiple Activation Key) is easier to manage since it does not require a threshold. Each machine activates directly with Microsoft servers.

Related Error Codes

About the Author

Windows Troubleshooting Team

Verified against official Microsoft documentation and real-world diagnostic data. Error behavior confirmed across Windows 10, Windows 11, and Windows Server.