Activer et gérer BitLocker pour chiffrer les disques, stocker les clés de récupération dans Active Directory et déployer la configuration via GPO.
Avant d'activer BitLocker, configurez la GPO pour que les clés de récupération soient sauvegardées dans Active Directory :
Configuration ordinateur > Stratégies > Modèles d'administration > Composants Windows > Chiffrement de lecteur BitLocker > Lecteurs du système d'exploitation
Si certaines machines n'ont pas de puce TPM :
L'activation de BitLocker se fait via l'interface graphique ou PowerShell (voir section en bas de page).
Consultez la section Version PowerShell en bas de page.
La gestion de BitLocker au quotidien se fait via l'interface graphique (Panneau de configuration → BitLocker) ou via PowerShell (voir section en bas de page).
Voici les commandes PowerShell équivalentes pour chaque étape du tutoriel.
Install-WindowsFeature BitLocker -IncludeManagementTools -Restart
Get-WindowsFeature BitLocker
# Chiffrer avec TPM
Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -TpmProtector
Add-BitLockerKeyProtector -MountPoint "C:" -RecoveryPasswordProtector
# Chiffrer sans TPM (mot de passe)
$SecurePassword = ConvertTo-SecureString "Password" -AsPlainText -Force
Enable-BitLocker -MountPoint "C:" -EncryptionMethod XtsAes256 -PasswordProtector -Password $SecurePassword
Add-BitLockerKeyProtector -MountPoint "C:" -RecoveryPasswordProtector
# Sauvegarder la clé dans AD
$BLV = Get-BitLockerVolume -MountPoint "C:"
$RecoveryProtector = $BLV.KeyProtector | Where-Object { $_.KeyProtectorType -eq "RecoveryPassword" }
Backup-BitLockerKeyProtector -MountPoint "C:" -KeyProtectorId $RecoveryProtector.KeyProtectorId
Install-WindowsFeature RSAT-Feature-Tools-BitLocker-BdeAducExt
Get-ADObject -Filter 'objectClass -eq "msFVE-RecoveryInformation"' `
-SearchBase (Get-ADComputer "PC-CIBLE").DistinguishedName `
-Properties msFVE-RecoveryPassword |
Select-Object @{N="Date";E={$_.Name.Split('{')[0]}}, msFVE-RecoveryPassword
Get-BitLockerVolume
Get-BitLockerVolume -MountPoint "C:" | Select-Object MountPoint, VolumeStatus, EncryptionPercentage
Suspend-BitLocker -MountPoint "C:" -RebootCount 1
Resume-BitLocker -MountPoint "C:"
Disable-BitLocker -MountPoint "C:"