---
name: "tpm_clear"
section: "8"
platform: "linux"
package: "tpm-tools"
version: "1.3.9.2-0.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tpm_clear"
---

# tpm\_clear(8)

return the TPM to the default state (unowned, disabled, inactive)

TPM Management - tpm\_clear

## NAME

tpm\_clear - return the TPM to the default state (unowned, disabled, inactive)

## SYNOPSIS

**tpm\_clear** \[**OPTION**\]

## DESCRIPTION

**tpm\_clear** requests that the system's TPM perform a clear   (via the TPM\_OwnerClear API) wiping out all ownership information, in effect invalidaing all keys and data tied to the TPM, as well as disabling and deactivating the TPM.  This operation will prompt for the owner password.  The **--force**  option relies on Phyiscal Presence to authorize the command (via the TPM\_ForceClear API) skipping the owner password prompt. The TPM OwnerClear API can be disabled until the current owner is cleared, requiring use of the **--force** with tpm\_setclearable command.   The TPM\_ForceClear API can be disabled for the current boot cycle with the tpm\_setclearable command.  This command requires a reboot to complete the operation.

- **-h**, **--help**

  Display command usage info.

- **-v**, **--version**

  Display command version info.

- **-l**, **--log** \[none\|error\|info\|debug\]

  Set logging level.

- **-u**, **--unicode**

  Use TSS UNICODE encoding for passwords to comply with applications using TSS popup boxes

- **-f**, **--force**

  Rely on Physical Presence for authorization; therefore, do not prompt for owner password.

- **-z**, **--well-known**

  Authenticate using 20 bytes of zeros as owner password (the default TSS Well Known Secret), instead of prompting for an owner password.

## SEE ALSO

[**tpm\_version**(1)](/tpm_version/1.md), [**tpm\_takeownership**(8)](/tpm_takeownership/8.md), [**tpm\_setclearable**(8)](/tpm_setclearable/8.md), [**tpm\_setactive**(8)](/tpm_setactive/8.md), [**tpm\_setenable**(8)](/tpm_setenable/8.md), [**tcsd**(8)](/tcsd/8.md)

## REPORTING BUGS

Report bugs to \<trousers-users@lists.sourceforge.net\>
