Avec ce script, les valeurs de la BitLocker et TPM WMI est stocké dans le registre d'identification: «jeu de puces TPM requête wmi1 = mis wmi1.ExecQuery TPM = ("SELECT * FROM Win32_Tpm") Set TPM_Import TPM.ItemIndex = (0) Set WshShell = WScript.CreateObject ("WScript.Shell") WshShell.RegWrite "HKLM \ Software \ Bitlocker \ spécification TPM" , TPM_Import.SpecVersion Dim TPM_INIT TPM_INIT = TPM_Import.IsEnabled_InitialValue Si TPM_INIT = "True" Puis WshShell.RegWrite "HKLM \ Software \ Bitlocker \ initialisation du TPM", "1" Si TPM_INIT = "False" Puis [...]
