What does NTSTATUS 0xC0290019 (STATUS_TPM_BAD_PARAM_SIZE) mean?

 
Previous Next
STATUS_TPM_WRONGPCRVAL STATUS_TPM_SHA_THREAD

STATUS_TPM_BAD_PARAM_SIZE

The TPM command paramSize field is incorrect

STATUS_TPM_BAD_PARAM_SIZE is a Windows NTSTATUS value mapped from the TPM facility. in this package the code belongs to TPM 1.2 style command processing, where Windows software, TBS, the TPM driver, and the hardware device all may be visible in the same failure path.

The relevant area is TPM command framing. TPM command and response packets include a total-size field. This status means the declared size is inconsistent with the command layout that the TPM expects.

This is a packet framing error, not a semantic problem with a single decoded parameter. It often points to endian mistakes, structure packing, missing fields, or sending TPM 2.0-style buffers through a TPM 1.2 command path.

Diagnostic focus

  • Dump the raw command bytes, tag, paramSize, ordinal, and actual buffer length.
  • Check byte order and structure packing before investigating authorization failure.
  • Compare the encoded command with the TCG command structure for that ordinal.

References for STATUS_TPM_BAD_PARAM_SIZE


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