Myth: turn off Microsoft Defender to make Windows faster — via Microsoft Support
Turning off real-time protection in Windows Security is only temporary (it switches back on by itself), and while it's off, files you open or download aren't scanned. If Defender really slows down a particular job, measure it instead of switching protection off.
What to do instead
- Find out what Defender is actually scanning: in an administrator PowerShell run
New-MpPerformanceRecording -RecordTo C:\Temp\defender.etl, reproduce the slow task, press Enter, then runGet-MpPerformanceReport -Path C:\Temp\defender.etl -TopFiles 10. - If a trusted folder (for example a big code or build folder) is the culprit, consider a narrow exclusion for just that folder. Microsoft warns that exclusions reduce protection.
The performance analyzer needs Defender platform 4.18.2108 or later, and it needs administrator rights.
Sources
- Turn off Defender antivirus protection in Windows Security — by Microsoft Support
- Performance analyzer for Microsoft Defender Antivirus — by Microsoft Learn
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me
Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.