Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Import-TpmOwnerAuth

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Import-TpmOwnerAuth

Imports a TPM owner authorization value to the registry.

Syntax

Parameter Set: File
Import-TpmOwnerAuth -File <String> [ <CommonParameters>]

Parameter Set: Owner Auth
Import-TpmOwnerAuth [-OwnerAuthorization] <String> [ <CommonParameters>]




Detailed Description

The Import-TpmOwnerAuth cmdlet imports a valid Trusted Platform Module (TPM) owner authorization value to the registry.

For more information on TPM, see the Trusted Platform Module Technology Overview in the Technet library at http://technet.microsoft.com/en-us/library/jj131725.aspx.

Parameters

-File<String>

Specifies a file that contains the current owner authorization value for the TPM. You can use the TPM Management Console to create this file.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-OwnerAuthorization<String>

Specifies the current owner authorization value for the TPM.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • String

    The owner authorization value for the TPM.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • TpmObject

    A TpmObject object contains the following information:

    -- TpmReady. Whether a TPM complies with Windows Server® 2012 standards.
    -- TpmPresent. Whether there is a TMP on the current computer.
    -- ManagedAuthLevel. The level at which the operating system manages the owner authorization. Possible values are Legacy, Balanced, and Full.
    -- OwnerClearDisabled. Whether TPM can be reset. If this value is True, the TPM cannot be reset through the operating system by using the owner authorization value. If this value is False, the TPM can be reset through the operating system.
    -- AutoProvisioning. Whether the computer can use auto-provisioning. Possible values are NotDefined, Enabled, Disabled, and DisabledForNextBoot.
    -- LockedOut. Whether a TPM is locked out.
    -- SelfTest. Information returned by a test that TPM runs.


Examples

Example 1: Import an owner authorization value

This command imports the specified owner authorization value to the registry.


PS C:\> Import-TpmOwnerAuth -OwnerAuthorization "Qn2sdCFQmvjf+tBtSWH4GT87sQs="
TpmReady           : False
TpmPresent : True
ManagedAuthLevel : Full
OwnerAuth : Qn2sdCFQmvjf+tBtSWH4GT87sQs=
OwnerClearDisabled : True
AutoProvisioning : DisabledForNextBoot
LockedOut : False
SelfTest : {191, 191, 245, 191...}

Example 2: Import an owner authorization value from a file

This command imports the owner authorization value in the specified file to the registry.


PS C:\> Import-TpmOwnerAuth -File "OwnAuthFile.tpm"
TpmReady           : False
TpmPresent : True
ManagedAuthLevel : Full
OwnerAuth : OwnerClearDisabled : True
AutoProvisioning : DisabledForNextBoot
LockedOut : False
SelfTest : {191, 191, 245, 191...}

Related topics

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.