Set-TpmOwnerAuth

Windows Server 2012 R2 and Windows 8.1

Set-TpmOwnerAuth

Changes the TPM owner authorization value.

구문

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

Parameter Set: NewFile OwnerAuth
Set-TpmOwnerAuth [[-OwnerAuthorization] <String> ] -NewFile <String> [ <CommonParameters>]

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

Parameter Set: NewOwnerAuth OwnerAuth
Set-TpmOwnerAuth [[-OwnerAuthorization] <String> ] -NewOwnerAuthorization <String> [ <CommonParameters>]




자세한 설명

The Set-TpmOwnerAuth cmdlet changes the current owner authorization value of the Trusted Platform Module (TPM) to a new value. You can specify the current owner authorization value or specify a file that contains the current owner authorization value. If you do not specify an owner authorization value, the cmdlet attempts to read the value from the registry.

Use the ConvertTo-TpmOwnerAuth cmdlet to create an owner authorization value. You can specify a new owner authorization value or specify a file that contains the new value.

An owner authorization file is not a simply a password. It is generated for a specific system. 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.

매개 변수

-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.


별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewFile<String>

Specifies a file that contains the new owner authorization value for a TPM.


별칭

nf

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-NewOwnerAuthorization<String>

Specifies a new owner authorization value for a TPM.


별칭

no

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

-OwnerAuthorization<String>

Specifies the current owner authorization value for a TPM.


별칭

o

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • String

    The owner authorization value for the TPM.


출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • 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.


예제

Example 1: Replace imported owner authorization value

This command replaces the current owner authorization value with the specified owner authorization value. The command does not specify the current owner authorization value, so the cmdlet attempts to find it in the registry. This command does not import the owner authorization value into the registry. After you run this command, you can use the Import-TpmOwnerAuth cmdlet to import the new value into the registry, if necessary.


PS C:\> Set-TpmOwnerAuth -NewOwnerAuthorization "h4FCmNeWVNp5IMHxRfFL9QEq4vM="

Example 2: Replace owner authorization value with value in file

This command replaces the current owner authorization value with the owner authorization value in the specified file.


PS C:\> Set-TpmOwnerAuth -NewFile "NewOwnerAuth.tpm"

Example 3: Replace owner authorization value

This command replaces the specified owner authorization value with a new owner authorization value.


PS C:\> Set-TpmOwnerAuth -OwnerAuthorization "oaVq17hNcFS2KSnHwpZa4AlrWBo=" -NewOwnerAuthorization "h4FCmNeWVNp5IMHxRfFL9QEq4vM="

관련 항목

커뮤니티 추가 항목

추가
표시: