| Previous | Next |
| STATUS_TPM_BAD_TYPE | STATUS_TPM_NOTFIPS |
STATUS_TPM_INVALID_RESOURCE
STATUS_TPM_INVALID_RESOURCE is a Windows NTSTATUS value in the TPM facility. For STATUS_TPM_INVALID_RESOURCE, 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 1.2 has distinct resource classes such as keys, authorization sessions, transport sessions and counters. This status means the caller identified a resource as one class while the TPM found another class behind the handle or context.
The most useful logs include the resource handle, the requested resource type and the operation that saved or restored the context. Without those fields, this status is easy to confuse with a missing handle.
Diagnostic focus
- Trace handle allocation and context save/load boundaries in the same process.
- Flush stale handles after errors instead of reusing them across independent TPM sessions.
- Compare with STATUS_TPM_RESOURCEMISSING, where the context points to a resource that is not loaded at all.
References for STATUS_TPM_INVALID_RESOURCE
Looking for a different code? Search another status or error code.