On Windows 10, the Windows Defender Antivirus is your default anti-malware engine to protect your device and data from viruses, roolkits, ransomware, and other security threats.
Although for the most part the built-in Windows 10 antivirus does a pretty good job, it may flag a file or folder that you trust as malicious. If you want to prevent this type of behavior from happening, Windows Defender Antivirus includes an option to exclude files and folders, as well as file types and processes from getting scanned and blocked.
In this Windows 10 guide, we walk you through the steps to exclude specific items and locations from Windows Defender Antivirus scans.
How to prevent Windows Defender from scanning specific files
If you have certain files, folders, file types, and processes that you want to exclude from Windows Defender Antivirus scans, use the following steps:
- Open Windows Defender Security Center.
- Click Virus & threat protection.
Click the Virus & threat protection option.
- Under "Exclusions," click the Add or remove exclusions option.
Click the Add an exclusion button.
Select the content you want to exclude from Windows Defender Antivirus, such as:
- File — Excludes only one file per exclusion.
- Folder — Excludes a folder and its content, including sub-folders.
- File type — Instead of excluding files and folder locations, you can configure the antivirus to ignore files with a specific extension no matter their location.
- Process — Excludes background processes by name.
Continue with the on-screen directions to add the new exclusion depending on your selection. (For example, if you select File, you simply need to browse and select the file you want to exclude. Or if you select the File type option, you only need to enter the extension of the file format to skip during scans.)
Once you complete these steps, you may need to repeat the instructions to exclude other items you don't want the antivirus to scan to avoid false positives.
At any time, you can remove an exclusion using the same instructions, but on step No. 5, make sure to select the item and click the Remove button.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
We may earn a commission for purchases using our links. Learn more.
Check out how the Surface Neo keyboard could work in this patent
A patent reveals designs from Microsoft on how to make a detachable keyboard work with touchscreen devices like the Surface Neo. If this patent is what's used in the Neo, then it's a clever pairing of two pieces of hardware that make the system work.
Does Dell's XPS 13 or Acer's Swift 5 work better for you? We compare.
The late-2019 refresh of Acer's 14-inch Swift 5 is mostly a winner, but how does it match up to the latest Dell XPS 13 9300 model that's better than ever? We pit the two against each other to help you pick a winner.
Microsoft's 'Project Catnip' PWA for Windows Insiders is dead
Microsoft has killed off its plans for "Project Catnip," a Progressive Web App (PWA) for Windows Insiders to keep up on the latest news going on with the Insider program. The company says it's still exploring options for some of the features explored in the PWA.
These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.