Win32_Tpm::IsAutoProvisioningEnabled method
Indicates if auto provisioning of the TPM is enabled. By default, auto provisioning is enabled for Windows 8 and Windows Server 2012.
This method is only accessible by local administrators.
Syntax
uint32 IsAutoProvisioningEnabled(
[out] BOOL IsAutoProvisioningEnabled
);
Parameters
-
IsAutoProvisioningEnabled [out]
-
Set to TRUE if the TPM auto provisioning is enabled.
Return value
All TPM errors as well as errors specific to TPM Base Services can be returned.
Common return codes are listed below.
Return code/value | Description |
---|---|
|
The method was successful. |
Remarks
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).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Namespace |
\\.\root\CIMV2\Security\MicrosoftTpm |
MOF |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for