| Previous | Next |
| TPMAPI_E_ENCRYPTION_FAILED | TPMAPI_E_INVALID_MIGRATION_AUTHORIZATION_BLOB |
TPMAPI_E_INVALID_KEY_PARAMS
TPMAPI_E_INVALID_KEY_PARAMS is a Windows TPM API result. It indicates that the key parameter structure contains unsupported or inconsistent values.
What to check for TPMAPI_E_INVALID_KEY_PARAMS
- Initialize the whole structure to the documented version before setting individual fields.
- Check algorithm, usage, authorization, PCR, and size fields as one coherent key template.
- Compare the request with a template created successfully on the same TPM generation.
Microsoft documentation for TPMAPI error codes
Diagnostic interpretation
This result has the HRESULT value 0x80290111. AllStat records the condition as “The key parameters structure was not valid”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the tpmapi / key / params operation.
- compare the failing machine with a working one at the same configuration boundary: component version, policy, registration, identity, and target resource.
Retry and recovery
Retry this result only when the owning API documents a transient state or after the condition described as “The key parameters structure was not valid” has changed.
Looking for a different code? Search another status or error code.
