Enable method of the Win32_Tpm class
The Enable method of the Win32_Tpm class allows the TPM owner to enable or resume the TPM.
To run this method, the TPM must already have an owner. To enable a TPM that does not already have an owner, use the SetPhysicalPresenceRequest method.
uint32 Enable( [in, optional] string OwnerAuth );
OwnerAuth [in, optional]
A string that identifies the TPM owner. This string must be a base64-encoded string that contains exactly 20 bytes of binary data. Use the ConvertToOwnerAuth method to translate a passphrase to this expected format. The OwnerAuth parameter is read from the registry if none is provided.
All TPM errors as well as errors specific to TPM Base Services can be returned.
The following table lists some of the common return codes.
||The method was successful.
||The provided owner authorization value cannot perform the request.
||The TPM is defending against dictionary attacks and is in a time-out period. For more information, see the ResetAuthLockOut method.
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2008 [desktop apps only]