Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the owner authorization information for a TPM if one is available in the registry. If a TPM is owned or provisioned in Windows 8 with the default settings, the TPM owner authorization information is stored in the registry and is available for use by this method.
This method is only accessible by local administrators.
Syntax
uint32 GetOwnerAuth(
[out] STRING OwnerAuth
);
Parameters
-
OwnerAuth [out]
-
The owner authorization information for a TPM, if one is available in the registry.
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