FACILITY_TPM_SERVICES: the Trusted Platform Module services.
The source of the error code is the Trusted Platform Module services.
  : An internal exception occurred while executing the method or property.
 : The object is already associated with an ink object and cannot be reassociated.
 : The operation cannot be performed while the user is actively inking.
 : The interface pointer points to an object that is incompatible with the Ink API
 : The window handle must be set before ink collection can occur.
 : The InkCollector must be gesture mode for gesture features,
and single tablet mode for single tablet features.
 : The operation cannot be performed while the InkCollector is enabled.
 : There are no strokes for the recognizer to process.
 : There are no strokes for the recognizer to process.
 : "The window input rectangle overlaps with an enabled InkCollector's window input rectangle."
 : This is an error mask to convert TPM hardware errors to win errors.
 : Authentication failed.
 : The index to a PCR, DIR or other register is incorrect.
 : One or more parameter is bad.
 : An operation completed successfully but the auditing of that operation failed.
 : The clear disable flag is set and all clear operations now require physical access.
 : Activate the Trusted Platform Module (TPM).
 : Enable the Trusted Platform Module (TPM).
 : The target command has been disabled.
 : The operation failed.
 : The ordinal was unknown or inconsistent.
 : The ability to install an owner is disabled.
 : The key handle cannot be interpreted.
 : The key handle points to an invalid key.
 : Unacceptable encryption scheme.
 : Migration authorization failed.
 : PCR information could not be interpreted.
 : No room to load key.
 : There is no Storage Root Key (SRK) set.
 : An encrypted blob is invalid or was not created by this TPM.
 : The Trusted Platform Module (TPM) already has an owner.
 : The TPM has insufficient internal resources to perform the requested action.
 : A random string was too short.
 : The TPM does not have the space to perform the operation.
 : The named PCR value does not match the current PCR value.
 : The paramSize argument to the command has the incorrect value .
 : There is no existing SHA-1 thread.
 : The calculation is unable to proceed because the existing SHA-1 thread has already encountered an error.
 : The TPM hardware device reported a failure during its internal self test. Try restarting the computer to resolve the problem. If the problem continues, check for the latest BIOS or firmware update for your TPM hardware. Consult the computer manufacturer's documentation for instructions.
 : The authorization for the second key in a 2 key function failed authorization.
 : The tag value sent to for a command is invalid.
 : An IO error occurred transmitting information to the TPM.
 : The encryption process had a problem.
 : The decryption process did not complete.
 : An invalid handle was used.
 : The TPM does not have an Endorsement Key (EK) installed.
 : The usage of a key is not allowed.
 : The submitted entity type is not allowed.
 : The command was received in the wrong sequence relative to TPM_Init and a subsequent TPM_Startup.
 : Signed data cannot include additional DER information.
 : The key properties in TPM_KEY_PARMs are not supported by this TPM.
 : The migration properties of this key are incorrect.
 : The signature or encryption scheme for this key is incorrect or not permitted in this situation.
 : The size of the data (or blob) parameter is bad or inconsistent with the referenced key.
 : A mode parameter is bad, such as capArea or subCapArea for TPM_GetCapability, phsicalPresence parameter for TPM_PhysicalPresence, or migrationType for TPM_CreateMigrationBlob.
 : Either the physicalPresence or physicalPresenceLock bits have the wrong value.
 : The TPM cannot perform this version of the capability.
 : The TPM does not allow for wrapped transport sessions.
 : TPM audit construction failed and the underlying command was returning a failure code also.
 : TPM audit construction failed and the underlying command was returning success.
 : Attempt to reset a PCR register that does not have the resettable attribute.
 : Attempt to reset a PCR register that requires locality and locality modifier not part of command transport.
 : Make identity blob not properly typed.
 : When saving context identified resource type does not match actual resource.
 : The TPM is attempting to execute a command only available when in FIPS mode.
 : The command is attempting to use an invalid family ID.
 : The permission to manipulate the NV storage is not available.
 : The operation requires a signed command.
 : Wrong operation to load an NV key.
 : NV_LoadKey blob requires both owner and blob authorization.
 : The NV area is locked and not writtable.
 : The locality is incorrect for the attempted operation.
 : The NV area is read only and can't be written to.
 : There is no protection on the write to the NV area.
 : The family count value does not match.
 : The NV area has already been written to.
 : The NV area attributes conflict.
 : The structure tag and version are invalid or inconsistent.
 : The key is under control of the TPM Owner and can only be evicted by the TPM Owner.
 : The counter handle is incorrect.
 : The write is not a complete write of the area.
 : The gap between saved context counts is too large.
 : The maximum number of NV writes without an owner has been exceeded.
 : No operator AuthData value is set.
 : The resource pointed to by context is not loaded.
 : The delegate administration is locked.
 : Attempt to manage a family other then the delegated family.
 : Delegation table management not enabled.
 : There was a command executed outside of an exclusive transport session.
 : Attempt to context save a owner evict controlled key.
 : The DAA command has no resources availble to execute the command.
 : The consistency check on DAA parameter inputData0 has failed.
 : The consistency check on DAA parameter inputData1 has failed.
 : The consistency check on DAA_issuerSettings has failed.
 : The consistency check on DAA_tpmSpecific has failed.
 : The atomic process indicated by the submitted DAA command is not the expected process.
 : The issuer's validity check has detected an inconsistency.
 : The consistency check on w has failed.
 : The handle is incorrect.
 : Delegation is not correct.
 : The context blob is invalid.
 : Too many contexts held by the TPM.
 : Migration authority signature validation failure.
 : Migration destination not authenticated.
 : Migration source incorrect.
 : Incorrect migration authority.
 : Attempt to revoke the EK and the EK is not revocable.
 : Bad signature of CMK ticket.
 : There is no room in the context list for additional contexts.
 : The command was blocked.
 : The specified handle was not found.
 : The TPM returned a duplicate handle and the command needs to be resubmitted.
 : The command within the transport was blocked.
 : The command within the transport is not supported.
 : The TPM is too busy to respond to the command immediately, but the command could be resubmitted at a later time.
 : SelfTestFull has not been run.
 : The TPM is currently executing a full selftest.
 : The TPM is defending against dictionary attacks and is in a time-out period.
 : An internal error has occurred within the Trusted Platform Module support program.
 : One or more input parameters is bad.
 : A specified output pointer is bad.
 : The specified context handle does not refer to a valid context.
 : A specified output buffer is too small.
 : An error occurred while communicating with the TPM.
 : One or more context parameters is invalid.
 : The TBS service is not running and could not be started.
 : A new context could not be created because there are too many open contexts.
 : A new virtual resource could not be created because there are too many open virtual resources.
 : The TBS service has been started but is not yet running.
 : The physical presence interface is not supported.
 : The command was canceled.
 : The input or output buffer is too large.
 : A compatible Trusted Platform Module (TPM) Security Device cannot be found on this computer.
 : The TBS service has been disabled.
 : No TCG event log is available.
 : The caller does not have the appropriate rights to perform the requested operation.
 : The TPM provisioning action is not allowed by the specified flags. For provisioning to be successful, one of several actions may be required. The TPM management console (tpm.msc) action to make the TPM Ready may help. For further information, see the documentation for the Win32_Tpm WMI method 'Provision'. (The actions that may be required include importing the TPM Owner Authorization value into the system, calling the Win32_Tpm WMI method for provisioning the TPM and specifying TRUE for either 'ForceClear_Allowed' or 'PhysicalPresencePrompts_Allowed' (as indicated by the value returned in the Additional Information), or enabling the TPM in the system BIOS.)
 : The Physical Presence Interface of this firmware does not support the requested method.
 : The requested TPM OwnerAuth value was not found.
 : The TPM provisioning did not complete. For more information on completing the provisioning, call the Win32_Tpm WMI method for provisioning the TPM ('Provision') and check the returned Information.
 Sources https://msdn.microsoft.com/en-us/library/cc231198.aspx winerror.h from Windows SDK 10.0.14393.0 tpcerror.h from Windows SDK 10.0.14393.0