Check for the latest virus and spyware security intelligence before running a scheduled scan
Rechercher la veille de sécurité de virus et de logiciels espions avant l’exécution d’une analyse planifiée
Explanation
This policy setting allows you to manage whether a check for new virus and spyware security intelligence will occur before running a scan.
This setting applies to scheduled scans, but it has no effect on scans initiated manually from the user interface or to the ones started from the command line using "mpcmdrun -Scan".
If you enable this setting, a check for new security intelligence will occur before running a scan.
If you disable this setting or do not configure this setting, the scan will start using the existing security intelligence.
Ce paramètre de stratégie vous permet de gérer si une nouvelle recherche de veille de sécurité de virus et de logiciels espions est effectuée avant l’exécution d’une analyse.
Ce paramètre s’applique aux analyses planifiées, mais n’a aucun effet sur les analyses lancées manuellement à partir de l’interface utilisateur ou celles initiées à partir de la ligne de commande en utilisant « mpcmdrun -Scan ».
Si vous activez ce paramètre, une recherche de nouvelle veille de sécurité est effectuée avant l’exécution d’une analyse.
Si vous désactivez ce paramètre ou que vous ne le configurez pas, l’analyse démarre avec la veille de sécurité existante.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan- Value name
CheckForSignaturesBeforeRunningScan
| 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: WindowsDefender/CheckForSignaturesBeforeRunningScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CheckForSignaturesBeforeRunningScan' -Value 1 -Type DWordDisable
# Disable: WindowsDefender/CheckForSignaturesBeforeRunningScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'CheckForSignaturesBeforeRunningScan' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefender/CheckForSignaturesBeforeRunningScan
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
Remove-ItemProperty -Path $k -Name 'CheckForSignaturesBeforeRunningScan' -ErrorAction SilentlyContinue