Trusted Platform Module (TPM) technology is designed to provide hardware-based, security-related functions. A TPM chip is a secure crypto-processor that is designed to carry out cryptographic operations. The chip includes multiple physical security mechanisms to make it tamper resistant, and malicious software is unable to tamper with the security functions of the TPM.
Windows 11 requires a Trusted Platform Module (TPM) version 2.0.
See also: Windows 11 enables security by design from the chip to the cloud | Microsoft Security Blog
The TPM Diagnostics tool is an optional feature in Windows 11 that allows you to retrieve diagnostic information about the Trusted Platform Module (TPM).
This tutorial will show you how to install or uninstall the TPM Diagnostics tool in Windows 11.
You must be signed in as an administrator to install or uninstall the TPM Diagnostics tool.
EXAMPLE: TPM Diagnostics tool command usage details
TpmDiagnostics.exe GetCapabilities command will list the capabilities and settings of the installed TPM.
Install or Uninstall TPM Diagnostics Tool in Settings
Open Settings (Win+I).
Click/tap on Apps on the left side, and click/tap on Optional features on the right side. (see screenshot below)
Do step 4 (install) or step 5 (uninstall) below for what you want.
4 To Install TPM Diagnostics Tool
A) Click/tap on the View features button to the right of Add an optional feature. (see screenshot below)
B) Type TPM into the search box, check TPM Diagnostics, and click/tap on Next. (see screenshot below)
C) Click/tap on Install, and go to step 6. (see screenshot below)
5 To Uninstall TPM Diagnostics Tool
This is the default setting.
A) Under Installed features on the right side, click/tap on TPM diagnostics to expand it open. (see screenshot below)
B) Click/tap on Uninstall, and go to step 6.
When the install or uninstall has finished, restart the computer to apply if required. (see screenshots below)
Install or Uninstall TPM Diagnostics Tool in Command Prompt
Open Windows Terminal (Admin), and select Command Prompt.
Copy and paste the command below you want to use into the elevated command prompt, and press . (see screenshots below)
(Install TPM Diagnostics)
DISM /Online /Add-Capability /CapabilityName:Tpm.TpmDiagnostics~~~~0.0.1.0
(Uninstall TPM Diagnostics - Default)
DISM /Online /Remove-Capability /CapabilityName:Tpm.TpmDiagnostics~~~~0.0.1.0
When prompted, type Y into the elevated command prompt to restart the computer.