This tutorial will show you how to install or uninstall the TPM Diagnostics tool in Windows 11.
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).
You must be signed in as an administrator to install or uninstall the TPM Diagnostics tool.
Contents
- Option One: Install or Uninstall TPM Diagnostics Tool in Settings
- Option Two: Install or Uninstall TPM Diagnostics Tool in Command Prompt
EXAMPLE: TPM Diagnostics tool command usage details
The TpmDiagnostics.exe GetCapabilities
command will list the capabilities and settings of the installed TPM.
1 Open Settings (Win+I).
2 Perform one of the available options below: (see screenshots below)
- Click/tap on Apps on the left side, and click/tap on Optional features on the right side.
- Click/tap on System on the left side, and click/tap on Optional features on the right side.
3 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.
6 When the install or uninstall has finished, restart the computer to apply if required. (see screenshots below)
1 Open Windows Terminal (Admin), and select Command Prompt.
2 Copy and paste the command below you want to use into the elevated command prompt, and press Enter. (see screenshots below)
(Install TPM Diagnostics)
DISM /Online /Add-Capability /CapabilityName:Tpm.TpmDiagnostics~~~~0.0.1.0
OR
(Uninstall TPM Diagnostics - Default)
DISM /Online /Remove-Capability /CapabilityName:Tpm.TpmDiagnostics~~~~0.0.1.0
3 When prompted, type Y into the elevated command prompt to restart the computer.
That's it,
Shawn Brink
Last edited: