Checking the Status of the Trusted Platform Module from the Command Line

With the Windows Management Instrumentation command-line utility, you can check whether the Trusted Platform Module is activated and enabled.

Jan De Clercq

May 20, 2014

1 Min Read
Windows Gatekeeper QA
Windows Gatekeeper Q&A

Q: Is there a command-line tool I can use to check whether the Trusted Platform Module (TPM) on a Windows machine is activated and enabled?

A: You can use the Windows Management Instrumentation (WMI) command-line utility, wmic.exe, to check whether the TPM is activated and enabled. Wmic.exe is included in the Windows OS default installation. To check whether the TPM is enabled, run the following command from an elevated command prompt:

wmic /namespace:\rootcimv2securitymicrosofttpm  path win32_tpm get IsEnabled_InitialValue

(Although the command wraps here, you'd enter it all on one line.) To check whether the TPM is activated, run the following command from an elevated command prompt:

wmic /namespace:\rootcimv2securitymicrosofttpm  path win32_tpm get IsActivated_InitialValue

(Although the command wraps here, you'd enter it all on one line.) Both commands will return a value of True or False, depending on the computer's TPM status.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like