Allow offline scan from trusted Windows Recovery Environment
Autoriser l’analyse hors connexion à partir de l’Environnement de récupération Windows approuvé
Explanation
Requirements: Windows 10
Description: This policy setting controls whether offline scan should be allowed from a trusted Windows Recovery Environment.
If you enable this policy setting, offline scan will execute without prompting for BitLocker recovery key, as long as the Windows Recovery Environment is trusted by BitLocker.
If you disable or do not configure this policy setting, offline scan will prompt the user for BitLocker recovery key to unlock the OS volume. If user skips unlock the OS volume, offline scan will not execute. This is the default setting.
Configuration requise : Windows 10
Description : ce paramètre de stratégie contrôle si l’analyse hors connexion peut être autorisée à partir d’un Environnement de récupération Windows approuvé.
Si vous activez ce paramètre de stratégie, l’analyse hors connexion s’exécute sans demander la clé de récupération BitLocker, tant que BitLocker fait confiance à l’Environnement de récupération Windows.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’analyse hors connexion requête à l’utilisateur(-trice) la clé de récupération BitLocker pour déverrouiller le volume du système d’exploitation. Si l’utilisateur(-trice) ignore le déverrouillage du volume du système d’exploitation, l’analyse hors connexion ne s’exécute pas. Il s’agit du paramètre par défaut.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WinRE- Value name
AllowTrustedOfflineScan
| 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: ReAgent/AllowTrustedOfflineScan
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowTrustedOfflineScan' -Value 1 -Type DWordDisable
# Disable: ReAgent/AllowTrustedOfflineScan
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowTrustedOfflineScan' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ReAgent/AllowTrustedOfflineScan
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE'
Remove-ItemProperty -Path $k -Name 'AllowTrustedOfflineScan' -ErrorAction SilentlyContinue