Compartir a través de


ChangeOwnerAuth method of the CIM_TPM class

Changes the owner authorization credential of the TPM device.

Note

This method requires the old and new owner authorization passwords. For more information, see Section 17 Changing AuthData of Spec #3.

Syntax

uint32 ChangeOwnerAuth(
  [in] string OldOwnerAuth,
  [in] string NewOwnerAuth
);

Parameters

OldOwnerAuth [in]

The old owner authorization credential that is required to take ownership of the TPM device.

Note

This parameter might require that the CIM_SharedCredential.Secret of the CIM_SharedCredential class contains a non-NULL value.

NewOwnerAuth [in]

The new owner authorization credentials required to take ownership of the TPM device.

Note

This parameter might require that the CIM_SharedCredential.Secret of the CIM_SharedCredential class contains a non-NULL value.

Return value

The possible return values are:

Completed with No Error (0)

Not Supported (1)

Unknown/Unspecified Error (2)

DMTF Reserved (3 4095)

Method Reserved (4096 32767)

Vendor Specified (32768 65535)

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_TPM