TPM 1.2 or 2.0 enable via cmd or powershell

Birhanu Kassa 41 Reputation points
2022-08-09T15:37:55.063+00:00

Trying to find any resource that tells me if I can enable TPM via cmd or powershell trying not to remote into each user but create a script to enable tpm if the IsActivated_IntialValue = False for Windows 10 pro machines

Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2022-08-09T15:56:08.93+00:00

    Bear in mind that TPM requires both a BIOS flag and Windows as well. BIOS changes probably cannot be done remotely unless the motherboard supports making the change via WMI or something.

    As for doing this via PS then you can use MS's TPM cmdlets. You can check the status and enable provisioning but it is unclear to me whether any of this actually enables it.

    Alternatively here's a link to a script that uses WMI to enable it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.