disable pre-activated bitlocker
Sur les portables Dell, bitlocker est pre-activaté avec XtsAes128
D'ou l'erreur au moment du chiffrement de c: => Enable-BitLockerInternal : La valeur n'est pas comprise dans la plage attendue.
Il faudrait faire un test, déchiffrer, attendre la fin du déchiffrement pour activé le chifremment XtsAes256
Par exemple
if ( ((Get-BitLockerVolume $Env:SystemDrive).VolumeStatus -eq "FullyEncrypted" ) -And ((Get-BitLockerVolume $Env:SystemDrive).ProtectionStatus -eq "Off") -And ((Get-BitLockerVolume $Env:SystemDrive).EncryptionMethod -eq "XtsAes128") ) {
Disable-BitLocker -MountPoint $env:SystemDrive
While ( (Get-BitLockerVolume -MountPoint $env:SystemDrive).EncryptionPercentage -gt 0 ) {
Start-Sleep -Seconds 20
}
}