In this post, you’ll learn about the error “TPM_E_BAD_MODE 0x8028002C” that is returned when working with COM based APIs or libraries in Windows.
COM Error Message
TPM_E_BAD_MODE 0x8028002C
What is COM?
Microsoft’s COM stands for Component Object Model. Component Object Model (COM) is a networked, object-oriented framework for building interoperable binary software components. Microsoft’s OLE (compound documents), ActiveX (Internet-enabled components), and other products are built on the COM base technology.
Error Description
Below is the description of this COM Error.
A mode parameter is bad, such as capArea or subCapArea for TPM_GetCapability, phsicalPresence parameter for TPM_PhysicalPresence, or migrationType for TPM_CreateMigrationBlob.