Com este script, os valores do BitLocker e WMI TPM é armazenado na identificação do registro: 'chip TPM consulta definida wmi1 = TPM = conjunto wmi1.ExecQuery ("SELECT * FROM Win32_Tpm") Definir TPM_Import TPM.ItemIndex = Set (0) WshShell = WScript.CreateObject ("WScript.Shell") WshShell.RegWrite "HKLM \ software \ Bitlocker \ especificação TPM" , TPM_Import.SpecVersion Dim TPM_INIT TPM_INIT = TPM_Import.IsEnabled_InitialValue Se TPM_INIT = "True" Então WshShell.RegWrite "HKLM \ software \ Bitlocker \ Inicialização do TPM", "1" se TPM_INIT = "false" Então, [...]
