Windows Security, also known as Microsoft Defender, helps protect your PC from malware, suspicious files, and unwanted software. Sometimes, a trusted folder may be detected or removed by mistake. In that case, you can add the folder to the exclusions list.
Why Whitelist a Folder?
- To prevent trusted files from being removed
- To avoid false positive detections
- To stop Windows Security from scanning a specific folder
- To keep certain tools or applications from being quarantined
Step 1: Open Windows Security
- Click the Start Menu.
- Search for Windows Security.
- Open the Windows Security app.
Step 2: Go to Virus & Threat Protection
- Click Virus & threat protection.
- Scroll down to Virus & threat protection settings.
- Click Manage settings.
Step 3: Open Exclusions
- Scroll down until you see Exclusions.
- Click Add or remove exclusions.
- Allow the administrator permission if Windows asks.
Step 4: Add Your Folder
- Click Add an exclusion.
- Select Folder.
- Choose the folder you want to whitelist.
- Click Select Folder.
After this, the selected folder will be added to the Windows Security exclusion list.
How to Remove a Whitelisted Folder
- Open Windows Security.
- Go to Virus & threat protection.
- Click Manage settings.
- Open Add or remove exclusions.
- Select the folder from the list.
- Click Remove.
Common Issues
Cannot Add an Exclusion
Make sure you are using an administrator account. Some school, work, or managed devices may block exclusion changes.
Folder Still Gets Detected
Check if the file is actually inside the excluded folder. Also make sure you do not have another antivirus program scanning the same folder.
Final Words
Whitelisting a folder in Windows Security is useful when trusted files are being flagged by mistake. Always be careful when adding exclusions because excluded folders are not checked by Microsoft Defender.
COMMENTS