How to Limit Microsoft Defender CPU Usage on Windows 10

To reduce the CPU used by eligible Microsoft Defender Antivirus scans on Windows 10, set a lower scan average CPU target in an elevated PowerShell window. For example, a value of 30 asks the scanning engine to aim for an average CPU load of 30 percent. This is guidance rather than a hard cap, and it does not throttle real-time protection scans.

What the CPU setting changes

The PowerShell preference is ScanAvgCPULoadFactor. Microsoft documents a default value of 50 and accepts values from 5 through 100; a value of 0 disables CPU throttling. A lower number can reduce the impact of eligible scans, but it can also make them take longer. Start with a moderate value such as 30, then adjust it upward if scheduled scans are taking too long.

The setting does not control every Defender task. Real-time protection continues checking files as they are accessed. Manual scans can also ignore the CPU target when the device is configured to throttle scheduled scans only. Therefore, this command is most useful for reducing CPU pressure from scheduled scans; it is not a way to cap all activity from MsMpEng.exe.

Set a lower scan CPU target

  1. Open Start, search for Windows PowerShell, right-click the result, and choose Run as administrator. Approve the User Account Control prompt. An administrator account is required.
  2. In the elevated PowerShell window, enter the command below. Replace 30 with an integer from 5 to 100 that suits your PC.
Windows 10 Start menu with Windows PowerShell selected and Run as administrator in its context menu.
Illustration of the Start menu context menu with the elevated PowerShell option.
Windows 10 User Account Control prompt asking whether Windows PowerShell can make changes to the device.
Illustration of the User Account Control prompt shown after choosing Run as administrator.
Set-MpPreference -ScanAvgCPULoadFactor 30
Administrator Windows PowerShell console with Set-MpPreference -ScanAvgCPULoadFactor 30 entered.
Illustration of elevated PowerShell with the command entered.

PowerShell normally returns to the prompt without printing a success message. Do not use 0 if you are trying to reduce CPU use: zero turns throttling off. A value of 5 is the lowest documented setting, though a very low target can lengthen a scan considerably.

Make the target apply to idle scheduled scans

There is an important exception. Windows Defender can be configured to run scheduled scans only when the PC is idle, and the separate DisableCpuThrottleOnIdleScans preference is enabled by default. When both idle-only scanning and this preference are enabled, the scan average CPU target is ignored during those idle scans.

If you want the target to apply during idle scheduled scans too, run this additional command in the same administrator window:

Set-MpPreference -DisableCpuThrottleOnIdleScans $false

This tells Defender to throttle scheduled scans while the device is idle. It can make those scans last longer, so leave the default alone if you prefer the scan to finish faster when you are away. On a work-managed PC, Group Policy or Intune may enforce a different value.

Check the saved preferences

Use Get-MpPreference to confirm what Defender reports. To show the relevant settings together, run:

Get-MpPreference | Select-Object ScanAvgCPULoadFactor, DisableCpuThrottleOnIdleScans, ScanOnlyIfIdleEnabled, ThrottleForScheduledScanOnly
PowerShell output showing ScanAvgCPULoadFactor at 30 and DisableCpuThrottleOnIdleScans set to False.
Illustration of PowerShell output with the example values 30 and False.

For the example above, ScanAvgCPULoadFactor should show 30. If you also ran the idle-scan command, DisableCpuThrottleOnIdleScans should show False. The other properties help explain why a particular scan may behave differently. If the value reverts or PowerShell reports that access is denied, check whether the PC is managed by an organization and whether a policy controls Defender settings.

If Defender still uses a lot of CPU

First identify what is running. If the spike happens during a manual full scan, the scheduled-scan CPU target may not apply. If it occurs during real-time protection, changing this scan preference will not stop that work. Avoid disabling Defender or adding broad exclusions just to lower CPU use; either action can reduce protection.

For recurring scan slowdowns, Microsoft’s Defender Antivirus Performance Analyzer can record scan activity and help identify files, extensions, or processes that contribute to scan time. Use its findings to investigate a specific workload instead of guessing at exclusions. Microsoft generally recommends scheduled quick scans rather than routine scheduled full scans; full scans may take hours or days depending on the amount and type of data.

Windows 10 support status

Support for standard Windows 10 editions ended on October 14, 2025. Microsoft says enrolled consumer devices can receive Extended Security Updates through October 12, 2027; other editions have their own servicing terms. Changing a Defender CPU preference does not extend Windows support or provide missing security updates.

References: Set-MpPreference reference; schedule scans with PowerShell; Defender scan best practices; Defender Performance Analyzer; Windows 10 end of support.

Leave a Comment

How to Automatically Restart a Crashed App on Windows 10

How to Automatically Restart a Crashed App on Windows 10

Set up a PowerShell watcher and Task Scheduler task to relaunch a Windows 10 desktop app after it closes, then learn how to test and stop it.

How to Show All System Tray Icons on Windows 10

How to Show All System Tray Icons on Windows 10

Keep app icons out of the hidden overflow in Windows 10. Turn on the all-icons option, then manage system icons separately if one is still missing.

How to Update Network Login Credentials in Windows 10

How to Update Network Login Credentials in Windows 10

Change the saved username or password Windows uses for a mapped drive or shared folder through Credential Manager, then reconnect to verify access.

How to Limit Microsoft Defender CPU Usage on Windows 10

How to Limit Microsoft Defender CPU Usage on Windows 10

Set a lower Defender scan CPU target in PowerShell, handle the idle-scan exception, and verify which Windows 10 scans the setting affects.

How to Install a Minecraft Add-On on Windows 10

How to Install a Minecraft Add-On on Windows 10

Import a Bedrock .mcpack or .mcaddon on Windows 10, activate it for a new or existing world, and avoid confusing add-ons with Java mods.

How to Fix “We Can’t Set Up Mobile Hotspot” in Windows 10

How to Fix “We Can’t Set Up Mobile Hotspot” in Windows 10

Restore the Windows 10 hotspot by checking the internet source and wireless adapter, repairing its driver, and saving Network reset for last.

How to Change Screen Brightness by Time of Day on Windows 10

How to Change Screen Brightness by Time of Day on Windows 10

Set daytime and nighttime brightness levels on Windows 10 with ClickMonitorDDC 7.2, and learn about DDC/CI limits and the Night light alternative.

How to Adjust Left/Right Balance for Bluetooth Headphones in Windows 10

How to Adjust Left/Right Balance for Bluetooth Headphones in Windows 10

Find Windows 10’s left/right balance controls for Bluetooth headphones, with a cautious registry workaround when volume controls stay linked.

How to Automatically Shut Down Windows 10 When It’s Idle

How to Automatically Shut Down Windows 10 When It’s Idle

Set up Task Scheduler’s On idle trigger to shut down Windows 10 with a one-minute cancellation window, and learn how Windows defines idle.

How to Burn a Disc Image to an SD Card in Windows 10

How to Burn a Disc Image to an SD Card in Windows 10

Learn how to burn a disc image to an SD card on Windows 10 with balenaEtcher, verify the target drive, and check whether the finished card can boot.