Windows Defender, integrated into Windows 10, runs in the background and scans your files for malware. To improve performance for tasks like compiling code or running virtual machines, you can add an exclusion and Windows Defender will never scan those files.
Exclusions can also help if you’re running into false positives where Windows Defender marks legitimate files as malware.
Warning: Be careful about what you exclude. Windows Defender won’t scan your excluded files and directories for malware. You wouldn’t want to exclude everything in your Downloads folder, for example!
First, we need to launch Windows Security to change some settings. Open the Start menu and type “Windows Security.” Then, select the “Windows Security” app.
In Windows Security, navigate to “Virus & Threat Protection.” Then, click “Manage Settings.”
In “Virus & Threat Protection Settings,” scroll down to the very bottom of the page, and click “Add or Remove Exclusions.”
On the Exclusions page, you can add or remove files that you want to exclude from Windows Defender scans. To add an exclusion, click the “Add An Exclusion” button beside the large plus symbol (+).
A small menu will pop up allowing you to define your exclusion by File, Folder, File type, or Process.
What you choose depends on what type of exclusion you are trying to make. Here’s what each choice does.
- File: If you select this, a box will pop up allowing you to browse your computer to select a single file that will be excluded from future scans. Select the file you’d like, then click “Open.”
- Folder: Like the File option, this will let your browse your computer for a specific folder to exclude from scans. The folder’s contents and subfolders will be excluded as well.
- File type: A box will pop up asking you to enter a file extension (e.g., “.MID”) representing the file type that you’d like to exclude. All files of that type will be excluded from future scans. This one is dangerous because you might accidentally exclude a large class of potentially hazardous files, such as PDF or DOC files.
- Process: A pop-up will ask you to enter the name of a process (a running program, i.e., “explorer.exe”) to exclude from scans. If a certain program you know is safe keeps getting flagged by Defender, you can enter it here.
Select one of these options and make the necessary selections in the pop-up dialog that follows.
Once you add an exclusion, it will show up in a list on the Exclusions page.
If you’d like to remove an exclusion you’ve already defined, hover your mouse cursor over the item until the downward-pointing carat arrow appears, then click the “Remove” button that pops up.
When you’re all done, close Windows Security and your settings will be saved. The next time your system does a Defender scan, the items you added to the exclusions list will no longer cause trouble.
- › ChatGPT Is an Impressive AI Chatbot That Can’t Stop Lying
- › Google Pixel Watch Will Add Popular Apple Watch Feature
- › How to Fix Brightness on iPhone When Your Screen Is Too Dark
- › 7 PowerPoint Features You Should Use During Presentations
- › The Pixel 7 Now Has a Free Built-in VPN
- › Windows 10 Really Wants You to Upgrade Already