| Previous | Next |
| SL_E_TKA_SOFT_CERT_INVALID | E_RM_UNKNOWN_ERROR |
SL_E_TKA_CERT_CNG_NOT_AVAILABLE
Where this licensing result is produced
SL_E_TKA_CERT_CNG_NOT_AVAILABLE identifies a specific point in token-based activation: certificate-backed token activation for approved volume-licensing scenarios in isolated or high-security environments. Its diagnostic consequence is that the certificate depends on a CNG provider or algorithm unavailable to this Windows version or activation process.
Telemetry should retain 0xC004F313, this result, and the affected Activation ID. The same computer can expose several licensing products, and a state read from the wrong instance can contradict the operation that actually failed.
A reproducible troubleshooting path
- Begin with the operation that emitted this result and its target Activation ID.
- Inventory token issuance license, challenge, grant, certificate chain, private key, thumbprint, TPID, smart card and target SKU; this establishes whether the request was aimed at the intended product and activation channel.
- Use events and tool output to demonstrate: record certificate public-key algorithm, KSP/provider name, OS/build, provider load error, architecture and private-key accessibility.
- Rule out the adjacent case: the certificate may exist and match policy, but the cryptographic implementation cannot be loaded.
- After the targeted fix, verify both the immediate HRESULT and the persistent licensing state after service restart or reboot when relevant.
Signals that separate this case from its neighbors
Record certificate public-key algorithm, KSP/provider name, OS/build, provider load error, architecture and private-key accessibility. Before changing the system, add the following context:
- Product identity: target Activation ID and SKU.
- Activation context: installed token issuance license identity.
- State at failure: certificate thumbprint, subject, issuer and validity interval.
- Correlation evidence: private-key provider and exportability flag.
- Change history: challenge/grant correlation and relevant licensing event IDs.
This result should be read against these rules: Token-based activation is a specialized volume activation method; the issuance license describes certificate criteria and is not interchangeable with a KMS host key or MAK. Certificate discovery, chain validation, challenge matching, grant parsing, and policy matching are distinct stages, so a generic certificate reinstall can conceal the failing stage.
Important distinctions
| Result | Different condition |
|---|---|
SL_E_TKA_SOFT_CERT_INVALID | Different condition: a software certificate is rejected because its private key is exportable, contrary to token-activation policy. |
SL_E_TKA_SOFT_CERT_DISALLOWED | Different condition: the activation policy requires a hardware-backed credential and rejects a software-stored certificate. |
SL_E_TKA_TPID_MISMATCH | Different condition: the certificate trust-point identifier does not match the TPID required by the token issuance license. |
Do not infer the cause of it from the activation UI alone. The certificate may exist and match policy, but the cryptographic implementation cannot be loaded. Keep the exact HRESULT in user-facing diagnostics instead of collapsing it into a generic activation failure.
What a safe fix looks like
Recovery should preserve entitlement and state rather than erase symptoms. In this case, use a supported provider/certificate or update the platform according to the deployment requirements; then query the same product instance and retain the post-fix it HRESULT and status.
Representative failure: A certificate issued with a newer CNG provider is deployed to an older isolated Windows image.
Actions that usually make this harder to diagnose
- Avoid exporting or replacing private keys before preserving certificate and provider evidence.
- Avoid switching to a weaker certificate merely to bypass issuance-license criteria.
Verification after the change
Verification should include a failing fixture for “the certificate depends on a CNG provider or algorithm unavailable to this Windows version or activation process” and a passing fixture after the targeted fix. Reboot or restart only when the documented mechanism requires it, and confirm that the state persists afterward.
Technical references
- Plan for volume activation — platform behavior relevant to this HRESULT.
- Slmgr.vbs token-activation options — diagnostic and operational context.
- Microsoft token-activation event guidance — supported tools and state fields used to verify the resulting state.
- SoftwareLicensingProduct WMI class — Microsoft guidance for the activation mechanism represented by this HRESULT.
Looking for a different code? Search another status or error code.