Turn on scan after security intelligence update
Activer l’analyse après la mise à jour de l’emplacement de la veille de sécurité
Explanation
This policy setting allows you to configure the automatic scan which starts after a security intelligence update has occurred.
If you enable or do not configure this setting, a scan will start following a security intelligence update.
If you disable this setting, a scan will not start following a security intelligence update.
Ce paramètre de stratégie vous permet de configurer l’analyse automatique qui démarre après une mise à jour de la veille de sécurité.
Si vous activez ce paramètre ou que vous ne le configurez pas, une analyse démarre à la suite d’une mise à jour de la veille de sécurité.
Si vous désactivez ce paramètre, aucune analyse ne démarre à la suite d’une mise à jour de la veille de sécurité.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Signature Updates- Value name
DisableScanOnUpdate
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/SignatureUpdate_DisableScanOnUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableScanOnUpdate' -Value 0 -Type DWordDisable
# Disable: WindowsDefender/SignatureUpdate_DisableScanOnUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableScanOnUpdate' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefender/SignatureUpdate_DisableScanOnUpdate
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates'
Remove-ItemProperty -Path $k -Name 'DisableScanOnUpdate' -ErrorAction SilentlyContinue