What does HRESULT 0x80280058 (TPM_E_BAD_HANDLE) mean?

 
Previous Next
TPM_E_DAA_WRONG_W TPM_E_BAD_DELEGATE

TPM_E_BAD_HANDLE

The supplied TPM handle is invalid for this command

TPM_E_BAD_HANDLE (0x80280058) means the numeric handle does not currently reference a valid key, session, counter, NV/resource type, or other object accepted by the command. Stale handles are common after flush, reset, or virtualization changes.

Evidence to capture

Record command ordinal, handle value/type expected, object-load/create response that produced it, flush/context operations, TPM reset events, and process/TBS context ownership.

Focused correction

Reacquire or load the intended resource and use its current handle. Do not retry a stale handle indefinitely; if handle identity is valid but saved context age is the issue, TPM_E_CONTEXT_GAP is different.

Technical references


Looking for a different code? Search another status or error code.