Allow security intelligence updates when running on battery power
Autoriser les mises à jour de la veille de sécurité lors du fonctionnement sur batterie
Explanation
This policy setting allows you to configure security intelligence updates when the computer is running on battery power.
If you enable or do not configure this setting, security intelligence updates will occur as usual regardless of power state.
If you disable this setting, security intelligence updates will be turned off while the computer is running on battery power.
Ce paramètre de stratégie vous permet de configurer les mises à jour de la veille de sécurité lorsque l’ordinateur fonctionne sur batterie.
Si vous activez ce paramètre ou que vous ne le configurez pas, les mises à jour de la veille de sécurité ont lieu comme d’habitude quel que soit l’état d’alimentation.
Si vous désactivez ce paramètre, les mises à jour de la veille de sécurité sont désactivées pendant que l’ordinateur fonctionne sur batterie.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Signature Updates- Value name
DisableScheduledSignatureUpdateOnBattery
| 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_DisableScheduledSignatureUpdateonBattery
$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 'DisableScheduledSignatureUpdateOnBattery' -Value 0 -Type DWordDisable
# Disable: WindowsDefender/SignatureUpdate_DisableScheduledSignatureUpdateonBattery
$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 'DisableScheduledSignatureUpdateOnBattery' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefender/SignatureUpdate_DisableScheduledSignatureUpdateonBattery
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates'
Remove-ItemProperty -Path $k -Name 'DisableScheduledSignatureUpdateOnBattery' -ErrorAction SilentlyContinue