Activation Error Codes

Common 0xC004xxxx and 0x8007xxxx codes reported by the Software Protection Platform

The Software Protection Platform reports activation failures using HRESULT codes in the 0xC004xxxx range, with additional Windows error codes in the 0x8007xxxx range surfaced by the underlying networking and cryptographic APIs. The codes are documented by Microsoft Learn under the volume activation and Office activation troubleshooting topics.

Each code carries a symbolic name beginning with SL_E_ (for Software Licensing errors) and a short text description. Codes can be retrieved by running slmgr.vbs /dlvon Windows or cscript ospp.vbs /dstatus on Office; the code surfaces both the immediate failure (for example, network reachability) and the underlying cause (for example, an invalid product key).

See also: Activation Troubleshooting, slmgr Command Reference, Software Protection Platform.

History

The 0xC004 facility code was assigned to the Software Licensing service when it was introduced in Windows Vista. The same code space is shared by Windows and Office volume activation and has been preserved across all subsequent Windows and Office releases.

Technical details

The most general inspection command is slmgr.vbs /dlv, which prints the SKU, the partial product key, the licence status, the configured KMS host (if any), and the last activation result code. Office equivalents are cscript ospp.vbs /dstatus and cscript ospp.vbs /ddescr:<ErrorCode>, the latter of which prints the symbolic description for a given code.

Error code table

CodeSymbolic nameMeaning
0xC004F074SL_E_NO_KEY_MANAGEMENT_SERVICEThe client could not reach a KMS host.
0xC004F038SL_E_KMS_LICENSE_COUNT_INSUFFICIENTThe KMS count is below the activation threshold.
0xC004F042SL_E_KMS_INVALID_SKUIDThe KMS host does not support this client SKU.
0xC004F015SL_E_PRODUCT_SKU_NOT_INSTALLEDThe SKU is not present on the KMS host.
0xC004C003SL_E_PRODUCT_KEY_BLOCKEDThe product key has been blocked by the activation server.
0xC004C008SL_E_ACTIVATION_COUNT_EXCEEDEDActivation count for this MAK has been exceeded.
0xC004F050SL_E_PKEY_NOT_INSTALLEDThe product key is invalid.
0xC004F00FSL_E_HARDWARE_ID_BINDING_LEVEL_TOO_HIGHThe hardware ID binding is beyond the level of tolerance.
0xC004F035SL_E_INVALID_USE_OF_VOLUME_KEY_TO_KMS_ACTIVATIONVolume key cannot activate a non-volume edition.
0xC004E003SL_E_LICENSE_VALIDATION_FAILEDThe Software Licensing service reported that the licence evaluation failed.
0x8007007BThe file name, directory name, or volume label syntax is incorrect (often KMS hostname resolution).
0x80072EE7The server name or address could not be resolved.
0x8007232BDNS name does not exist (no _vlmcs._tcp SRV record).

Common diagnostic scenarios

  • 0xC004F074 + 0x8007232B. No KMS host is published in DNS; verify with nslookup -type=srv _vlmcs._tcp.<domain>.
  • 0xC004F038. Count below threshold; verify slmgr.vbs /dlv on the host shows a count of at least 25 for clients or 5 for servers / Office.
  • 0xC004F042. Host key too old for the client SKU; install a newer KMS Host key published by Microsoft for that client release.
  • 0xC004C008. MAK pool exhausted; request additional activations through the volume licensing portal.
  • 0xC004F00F. A hardware change has invalidated a digital licence; re-link the Microsoft account and run the Activation Troubleshooter.

References

  1. Resolve Windows activation error codeshttps://learn.microsoft.com/en-us/windows-server/get-started/activation-error-codes
  2. Volume activation error codes (legacy)https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/volume-activation-error-codes
  3. Troubleshoot Office activation errorshttps://learn.microsoft.com/en-us/office/troubleshoot/activation/activation-error-codes
  4. OfficialKMSAuto — KMS tools and error code noteshttps://officialkmsauto.com/downloads
  5. Slmgr.vbs options for volume activationhttps://learn.microsoft.com/en-us/windows-server/get-started/activation-slmgr-vbs-options