Skip navigation
Windows Gatekeeper QA
<p><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: &quot;Times New Roman&quot;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Windows Gatekeeper Q&amp;A</span></p>

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

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:\\root\cimv2\security\microsofttpm
  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:\\root\cimv2\security\microsofttpm
  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.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish