What does HRESULT 0x8028014A (TPM_20_E_UNINITIALIZED) mean?

 
Previous Next
TPM_20_E_NV_AUTHORIZATION TPM_20_E_NV_SPACE

TPM_20_E_UNINITIALIZED

TPM_20_E_UNINITIALIZED has two important contexts. An application can use an NV index before the index has reached the state required by its attributes and command type, or the TPM can be unable to restore state that was saved with TPM2_Shutdown(STATE). The distinction matters because the recovery action is different.

NV index context

  • A newly defined index can have a public definition but not yet contain the initialized state required for the requested operation.
  • Use the public area and NV attributes to determine whether a first authorized write, increment, extend, or other initialization operation is expected.
  • Do not infer initialization from the existence of a handle alone. A handle can be defined while its protected content has not been established.

Saved-state context

  • The TPM can return this code when state saved for a stateful shutdown cannot be restored on the next startup path.
  • Record whether the preceding shutdown and startup modes matched the application's assumptions before redefining NV storage or deleting objects.

What to collect

Capture the exact command, NV public metadata, startup and shutdown sequence, TPM firmware events, and power-cycle history. This preserves the information needed to decide whether the state should be initialized, re-created through an approved provisioning workflow, or investigated as a resume-state failure.

References: TCG TPM 2.0 Library Part 3: Commands and tpm2_nvreadpublic documentation.


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