| Previous | Next |
| STATUS_TPM_BAD_ATTRIBUTES | STATUS_TPM_KEY_OWNER_CONTROL |
STATUS_TPM_INVALID_STRUCTURE
STATUS_TPM_INVALID_STRUCTURE is a Windows NTSTATUS value in the TPM facility. For STATUS_TPM_INVALID_STRUCTURE, it belongs to the TPM 1.2 error family and is normally surfaced through the Windows TPM stack, such as TPM Base Services, rather than by ordinary file, registry or network APIs.
TPM commands exchange binary structures with tags, versions and fixed layout rules. This status means the TPM rejected a structure because its header or versioning is internally inconsistent.
It often indicates a serialization bug, endian/packing mismatch, truncated blob or an attempt to feed a TPM 2.0-style object into a TPM 1.2 command path. The buffer may be nonempty and correctly sized but still structurally invalid.
Diagnostic focus
- Dump the structure tag, version and length before encryption or authorization wrapping.
- Verify that the software stack did not mix TPM 1.2 and TPM 2.0 layouts.
- Compare with STATUS_TPM_BAD_TYPE, which is more about the wrong object type for the specific identity operation.
References for STATUS_TPM_INVALID_STRUCTURE
Looking for a different code? Search another status or error code.