+3 votes
307 views
Windows Defender High CPU usage (SOLUTION)

in Internet by (552k points)
reopened | 307 views

1 Answer

+4 votes
Best answer

1. How to configure Windows Defender from Windows PowerShell
2. How to configure Windows Defender from local Windows 10 policies
3. How to configure Windows Defender from the Windows 10 registry editor

Windows Defender is Microsoft's commitment to security issues in Windows 10 and that is why we have seen its constant evolution both in the detection and elimination of different types of threats, both local and external..

Windows Defender uses a periodic scanning system (which we can adjust according to our needs) in order to analyze the equipment allowing its integrity to always be adequate. However, in some computers this scanning task implies a high CPU consumption which has a direct negative impact on other global tasks of the operating system.

That is why TechnoWikis will then give you the right solution to prevent Windows Defender tasks from consuming more resources than necessary CPU..


1. How to configure Windows Defender from Windows PowerShell


The first method we will see involves using the Windows 10 management console and from there setting up the Windows Defender CPU usage.
Step 1

For this we access Windows PowerShell as administrators and once the console is open we will execute the following:
 Get-MpPreference | select ScanAvgCPULoadFactor 
Step 2

Get-MpPreference is a cmdlet developed in order to access preferences for Windows Defender scans and updates. When executing this command we find the percentage of CPU assigned to Windows Defender: image
Step 3

By default the value is 50%, if we want to edit this parameter we will execute the following:
 Set-MpPreference -ScanAvgCPULoadFactor <percentage> 
image

2. How to configure Windows Defender from local Windows 10 policies

Step 1

This step applies only to the Pro and Enterprise editions of Windows 10 and for use we will use the Windows + R keys and execute the following:

+ R

 gpedit.msc 

image

Step 2

Press Enter and in the policy manager we will go to the following route:
  • Equipment configuration
  • Administrative Templates.
  • Windows components
  • Windows Defender Antivirus.
  • Detection.

In the central policies we locate the policy called “Specify the maximum percentage of CPU usage during an exam”:

image
Step 3

We double click on it and in the pop-up window we activate the “Enabled” box and in the lower field we assign the desired percentage of CPU usage. We click Apply and Accept to save the changes.

image


3. How to configure Windows Defender from the Windows 10 registry editor


For this step TechnoWikis recommends that you create a system restore point or create a backup since a bad configuration can lead to general system errors.
Step 1

For this method we combine the Windows + R keys and execute the “regedit” command:

image

Step 2

Press Enter and we will go to the following route:
 HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ Windows Defender \ Scan 
There we select the DWORD value called “AvgCPULoadFactor”: image
Note
If this value is not created we can do it by right clicking and selecting the New / DWORD Value option (32 bits).
Step 3

We double click on this DWORD value and in the pop-up window we activate the “Decimal” box and assign the desired value between 5 and 100:

image

Click OK and we can exit the registry editor of Windows 10.

With any of these three methods we can configure the CPU usage for the Windows Defender analysis processes and thus manage the system resources..


by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Nov 17, 2019 in Internet by backtothefuture (552k points) | 442 views
+3 votes
1 answer
asked Feb 13, 2020 in Windows 10 by backtothefuture (552k points) | 829 views
+4 votes
1 answer
+3 votes
1 answer
+3 votes
2 answers
asked Feb 14, 2020 in Windows 10 by backtothefuture (552k points) | 1.2k 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