With this script, the values of the Bitlocker and TPM WMI is stored in the registry identification: 'query TPM chip set wmi1 = TPM = wmi1.ExecQuery set ("SELECT * FROM Win32_Tpm") Set TPM_Import TPM.ItemIndex = (0) Set WshShell = WScript.CreateObject ("WScript.Shell") WshShell.RegWrite "HKLM \ software \ Bitlocker \ TPM specification" , TPM_Import.SpecVersion Dim TPM_INIT TPM_INIT = TPM_Import.IsEnabled_InitialValue If TPM_INIT = "True" Then WshShell.RegWrite "HKLM \ software \ Bitlocker \ TPM Initialization", "1" if TPM_INIT = "false" Then [...]
