Additional Microsoft Defender tools and services that provide security across various platforms and environments
First identify whether the CPU is being consumed by Web Threat Defense Service itself or by Microsoft Defender Antivirus, because the supported remediation differs and deleting junk files will not address either condition.
1. Identify the exact executable
- Press Ctrl+Shift+Esc to open Task Manager.
- Select Details, right-click the column header, choose Select columns, and enable Command line.
- Find the entry consuming approximately 8.3% CPU:
- If it is MsMpEng.exe / Antimalware Service Executable, continue with the Defender analysis below.
- If it is svchost.exe, right-click it and select Go to service(s). Check whether Windows highlights
webthreatdefsvc.
- Observe it for several minutes while the computer is idle. Task Manager’s Processes, Details, and Services pages are intended to identify resource-heavy processes and their associated services.^1^
Do not end or permanently disable the service. Web Threat Defense is part of Enhanced Phishing Protection in Microsoft Defender SmartScreen, which provides warnings for malicious sites, password reuse, and unsafe password storage.^2^
2. If MsMpEng.exe is using the CPU
Defender can run scans after security-intelligence updates, and sustained activity can also result from repeatedly scanning particular files, processes, large archives, network folders, or unsigned binaries.^3^
Use Defender’s Performance Analyzer to find the actual scan target:
- Open Windows PowerShell as administrator.
- Run the commands below.
- Leave the computer in the state where the CPU problem occurs for two or three minutes.
- Press Enter to stop recording, then review the reported paths, files, and processes.
New-MpPerformanceRecording -RecordTo "$env:USERPROFILE\Desktop\DefenderCPU.etl"
Get-MpPerformanceReport `
-Path "$env:USERPROFILE\Desktop\DefenderCPU.etl" `
-TopFiles 10 `
-TopProcesses 10
The analyzer supports Windows 10 and Windows 11 and reports files, extensions, paths, and processes that have the greatest scan impact.^4^
Act on the result rather than adding broad exclusions:
- Update or remove an obsolete application if its files dominate the report.
- Move large
.iso,.vhd, or.vhdxfiles out of redirected, OneDrive, or network-backed profile folders if they are repeatedly scanned. - If another antivirus, EDR, VPN, or security product appears in the report, check that vendor for a documented Defender compatibility configuration.
- Avoid excluding entire user, Downloads, or Windows folders; that reduces protection.
3. If webthreatdefsvc itself remains busy
Since cleanup and subsequent updates did not help, repair the Windows component store and protected system files:
- Search for Command Prompt.
- Select Run as administrator.
- Run DISM first, wait for it to finish, and then run SFC:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
- Restart Windows and check Task Manager again.
DISM supplies repair files, while System File Checker checks protected Windows files and replaces damaged copies.^5^
If CPU consumption continues after repair and the executable is definitely svchost.exe hosting webthreatdefsvc, collect a short Windows Performance Recorder trace while the issue is occurring. Microsoft recommends limiting this advanced trace to approximately three to five minutes; it can then be supplied to Microsoft Support to identify the busy thread or component.^6^
References
- Windows 11
- WebThreatDefense Policy CSP | Microsoft Learn
- Troubleshoot performance issues - Microsoft Defender for Endpoint
- Performance analyzer for Microsoft Defender Antivirus
- Using System File Checker in Windows | Microsoft Support
- Troubleshoot Microsoft Defender Antivirus performance issues with WPRUI