+3 votes
640 views
Limit CPU usage Windows Defender Windows 10 | PowerShell, GPO, or Registry

in Windows 10 by (552k points)
reopened | 640 views

1 Answer

+4 votes
Best answer

1. Limit Windows Defender CPU usage from PowerShell
2. Limit Windows Defender CPU usage from GPO
3. Limit Windows Defender CPU usage from Registry Editor

Windows Defender is the protection mechanism integrated in Windows 10 to prevent threats at the level of viruses, malware and other threats, for this reason Windows Defender runs a series of scans in the background, which can cause high processor usage, affecting all other active processes or jobs in the system. It is for this reason that we can limit the use of CPU or processor for Windows Defender, there are some options that we will see in detail with TechnoWikis..

 

It is important to control the use of the Windows 10 CPU since in most cases it is the reason for a saturation of the computer, thus giving problems such as bugs or significant slowdowns of the system. We can limit the Windows 10 CPU usage of a program like Windows Defender and thus control its demand on resources.

 

 

Ted also left the video tutorial to know how to limit the use of CPU Windows 10 Defender..

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 


1. Limit Windows Defender CPU usage from PowerShell

 

PowerShell has been integrated into Windows 10 as a modern and dynamic console that integrates hundreds of cmdlets that allow much more direct work on all the components of the system.

 

Step 1

To limit the CPU use for Windows Defender, from this method we access the console as administrators and first we execute the following command:
 Get-MpPreference | select ScanAvgCPULoadFactor 
Step 2

This command will display the maximum percentage of CPU use that can be allocated for Windows Defender:

 

 

image

 

Step 3

In this case we can see that up to 50% of the CPU is destined for Windows Defender analysis and detection tasks, to reduce this percentage, for example, to 25%, we will execute the following:
 Set-MpPreference -ScanAvgCPULoadFactor 25 
Step 4

After executing this order we enter again “Get-MpPreference | select ScanAvgCPULoadFactor ”to confirm the changes:
 Get-MpPreference | select ScanAvgCPULoadFactor 
image

 


2. Limit Windows Defender CPU usage from GPO

 

Step 1

These group policies are only available for Windows 10 in its Pro and Enterprise editions, to make use of them we access Run and enter the following command:
 gpedit.msc 

image

 

Step 2

We click OK or press the Enter key and in the editor we will go to the following path:
  • Equipment Configuration
  • Administrative Templates
  • Windows components
  • Microsoft Defender Antivirus
  • Detection

 

Step 3

In the central part we locate the policy called "Specify the maximum percentage of CPU use during an exam":

 

image

 

 

Step 4

We double-click on this policy and in the pop-up window we activate the “Enabled” box and in the “Specify the maximum percentage of CPU usage during an exam” field we enter the desired percentage: We click Apply and OK to save the changes.

 

image

 

 


3. Limit Windows Defender CPU usage from Registry Editor

 

Step 1

Before using this method we must create a backup of the logs or create a system restore point in case something fails, then we open Run and enter:
 regedit 

image

 

 

Step 2

In the editor we will go to the following route:
 HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ Windows Defender 
Step 3

We right click on "Windows Defender" and select "New - Password":

 

 

image

 

 

Step 4

This key will be called "Scan", now we right-click on Scan and select "New - DWORD Value (32 bits)":

 

image

 

 

Step 5

We will call this DWORD value “AvgCPULoadFactor”:

 

image

 

Step 6

We double click on it and in the "Value information" field we assign the desired percentage of CPU usage, but we must activate the "Decimal" box. We click OK to save the changes.

 

 

image

 

With these methods it will be possible to set the CPU usage limit for Windows Defender in Windows 10..

 


by (3.5m points)

Related questions

+5 votes
1 answer
+3 votes
1 answer
asked Oct 3, 2019 in Windows 10 by backtothefuture (552k points) | 249 views
+5 votes
1 answer
+4 votes
1 answer
+3 votes
1 answer
asked Jan 7, 2020 in Internet by backtothefuture (552k points) | 306 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users