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.
May 20, 2014
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.
About the Author
You May Also Like