The Windows Defender program can both scan and monitor almost the entire folder on a Windows 10 computer. So if you have a folder that may have files that could trigger an alarm to Windows Security, then it would be better if you add an exclusion to Windows Security.
Note that it is okay to do this as long as you’re certain that the contents of the folder you want to exclude are safe and that Windows Defender is only throwing out warnings for nothing. This way, Windows Defender won’t scan those folders in the future. And besides, there are also some Windows folders and files that you may exclude from the Antivirus scans, especially if you want to save your scan time. This kind of feature also comes in handy when you trust a file type or folder or any process that you believe is safe but the Windows Security considers as malicious.
To exclude a folder or a file or process or a file type from the Windows Security scan, here are some steps you can follow. Make sure to do them carefully.
Step 1: Search for “Windows Security” in the Search box and then click on it from the search results to open it.
Step 2: Next, click on Virus & threat protection > Manage settings > Add or remove exclusions.
Step 3: After that, on the next screen, click on Add an exclusion > Folder. It will show you a list that includes File, Folder, File Type, and Process.
Step 4: Now click on “+Add and exclusion” on the next window and then select a folder you want to exclude and click OK to add it in the Exclusions list.
Step 5: Click on the down arrow button to remove it and then click on the Remove button.
Note: If you want to only ignore a few file types, it’s better if you configure your antivirus program to ignore these files with a specific extension. This way, it will ignore all of them no matter what their location is. Also keep in mind that when you select a folder, all the subfolders in it will also be excluded from the scan. Thus, you need to understand what you’re about to do. Once you’re done excluding the folder, it is recommended that you protect the folder using the Controlled Folder Access since this folder is not monitored for threat. The Controlled Folder Access will ensure that an external program does not alter it. This way, you can be sure that even though this folder is not included in the scan, it is still secure.