Prevent memory overwrite on restart
Empêcher le remplacement des données en mémoire au redémarrage
Explanation
This policy setting controls computer restart performance at the risk of exposing BitLocker secrets. This policy setting is applied when you turn on BitLocker. BitLocker secrets include key material used to encrypt data. This policy setting applies only when BitLocker protection is enabled.
If you enable this policy setting, memory will not be overwritten when the computer restarts. Preventing memory overwrite may improve restart performance but will increase the risk of exposing BitLocker secrets.
If you disable or do not configure this policy setting, BitLocker secrets are removed from memory when the computer restarts.
Ce paramètre de stratégie gère les performances du redémarrage de l’ordinateur, au risque d’exposer les secrets BitLocker. Ce paramètre est appliqué lorsque vous activez BitLocker. Les secrets BitLocker sont notamment les éléments essentiels servant à chiffrer les données. Ce paramètre de stratégie s’applique uniquement lorsque la protection BitLocker est activée.
Si vous activez ce paramètre de stratégie, les données en mémoire ne sont pas remplacées au redémarrage. En l’absence de réécriture des données en mémoire, les performances du redémarrage peuvent être supérieures, mais le risque de révéler les secrets BitLocker augmente d’autant.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les secrets BitLocker sont supprimés de la mémoire au redémarrage de l’ordinateur.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE- Value name
MorBehavior
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: VolumeEncryption/MorBehavior_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MorBehavior' -Value 1 -Type DWordDisable
# Disable: VolumeEncryption/MorBehavior_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MorBehavior' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": VolumeEncryption/MorBehavior_Name
$k = 'HKLM:\Software\Policies\Microsoft\FVE'
Remove-ItemProperty -Path $k -Name 'MorBehavior' -ErrorAction SilentlyContinue