Win32_Tpm::GetPhysicalPresenceConfirmationStatus method

Indicates if confirmation from a physically present user is required for a given physical presence operation.

This method is only accessible by local administrators.

Syntax

uint32 GetPhysicalPresenceConfirmationStatus(
  [in]  uint32 Operation,
  [out] uint32 ConfirmationStatus
);

Parameters

Operation [in]

An integer value that specifies the requested TPM operation that requires physical presence. Vendor specific commands are supported as well.

The Operation parameter may consist of the following values.

Value Meaning
1
Enable
2
Disable
3
Activate
4
Deactivate
5
Clear
6
Enable + Activate
7
Deactivate + Disable
8
SetOwnerInstall_True
9
SetOwnerInstall_False
10
Enable + Activate + SetOwnerInstall_True
11
SetOwnerInstall_False + Deactivate + Disable
12
Deferred Physical PresenceunownedFieldUpgrade
14
Clear + Enable + Activate
15
SetNoPPIProvision_False
16
SetNoPPIProvision_True
17
SetNoPPIClear_False
18
SetNoPPIClear_True
19
SetNoPPIMaintenance_False
20
SetNoPPIMaintenance_True
21
Enable + Activate + Clear
22
Enable + Activate + Clear + Enable + Activate

 

ConfirmationStatus [out]

Returns the confirmation status for physical presence command.

The ConfirmationStatus parameter may consist of the following values.

Value Meaning
0
Not implemented
1
BIOS only.
2
Blocked for the operating system by the BIOS configuration.
3
Allowed and physically present user required.
4
Allowed and physically present user not required

 

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
S_OK
0 (0x0)
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
Win32_tpm.mof
DLL
Win32_tpm.dll

See also

Win32_Tpm