CPU throttling type
Type de limitation de l'unité centrale
Explanation
This policy setting determines whether the maximum percentage CPU utilization permitted during a scan applies only to scheduled scans, or to both scheduled and custom scans (but not real-time protection). The maximum CPU utilization limit is also referred to as CPU throttling, or a CPU usage limit.
The default value for this policy setting is True, which means CPU throttling is applied only to scheduled scans.
If you either enable or do not configure this setting, CPU throttling will apply only to scheduled scans.
If you disable this setting, CPU throttling will apply to scheduled and custom scans.
Ce paramètre de stratégie détermine si le pourcentage maximal d’utilisation du processeur autorisé pendant une analyse s’applique uniquement aux analyses planifiées ou aux analyses planifiées et personnalisées (mais pas à la protection en temps réel). La limite d’utilisation maximale de l’UC est également appelée limitation de l’UC ou limite d’utilisation de l’UC.
La valeur par défaut de ce paramètre de stratégie est True, ce qui signifie que la limitation de l’UC est appliquée uniquement aux analyses planifiées.
Si vous activez ou ne configurez pas ce paramètre, la limitation de l’UC s’applique uniquement aux analyses planifiées.
Si vous désactivez ce paramètre, la limitation de l’UC s’applique aux analyses planifiées et personnalisées.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Scan- Value name
ThrottleForScheduledScanOnly
| 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/Scan_ThrottleForScheduledScanOnly
$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 'ThrottleForScheduledScanOnly' -Value 1 -Type DWordDisable
# Disable: WindowsDefender/Scan_ThrottleForScheduledScanOnly
$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 'ThrottleForScheduledScanOnly' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsDefender/Scan_ThrottleForScheduledScanOnly
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan'
Remove-ItemProperty -Path $k -Name 'ThrottleForScheduledScanOnly' -ErrorAction SilentlyContinue