PowerShell Logo Small

Clear-Tpm



This is the built-in help made by Microsoft for the command 'Clear-Tpm', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Resets a TPM to its default state.

SYNTAX


Clear-Tpm [[-OwnerAuthorization] <String>] [<CommonParameters>]
Clear-Tpm -File <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Clear-Tpm cmdlet resets the Trusted Platform Module (TPM) to its default state. A reset removes the owner authorization value and any keys stored in the TPM. To reset a
TPM, you must provide a valid owner authorization value. You can enter an owner authorization value or specify a file that contains the value. If you do not provide a value,
the cmdlet attempts to use a value stored in 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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=306665
Get-Tpm
Initialize-Tpm
Unblock-Tpm

REMARKS

<

Examples


Example 1: Reset TPM

PS C:\> Clear-Tpm


TpmReady : False
TpmPresent : True
ManagedAuthLevel : Full
OwnerAuth :
OwnerClearDisabled : True
AutoProvisioning : Disabled
LockedOut : False
SelfTest : {191, 191, 245, 191...}



This command resets the TPM. The command uses the owner authorization value stored in the registry instead of specifying a value or using a value in a file.




Example 2: Reset TPM with a supplied authorization value

PS C:\> Clear-Tpm -OwnerAuthorization "vjnuW6rToM41os3xxEpjLdIW2gA="


TpmReady : False
TpmPresent : True
ManagedAuthLevel : Full
OwnerAuth : OwnerClearDisabled : True
AutoProvisioning : Disabled
LockedOut : False
SelfTest : {191, 191, 245, 191...}



This command resets the TPM by using the specified owner authorization value.




Example 3: Reset TMP using authorization value from file

PS C:\> Clear-Tpm -File "MyOwnerAuthFile.tpm"


TpmReady : False
TpmPresent : True
ManagedAuthLevel : Full
OwnerAuth :
OwnerClearDisabled : True
AutoProvisioning : Disabled
LockedOut : False
SelfTest : {191, 191, 245, 191...}



This command resets the TPM by using the owner authorization value included in the specified file.