How to Whitelist a Folder in Windows Security Guide

Windows Security, also known as Microsoft Defender, helps protect your PC from malware, suspicious files, and unwanted software...
How to Whitelist a Folder in Windows Security

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.

Important: Only whitelist folders you fully trust. Files inside excluded folders will not be scanned by Windows Security.

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

  1. Click the Start Menu.
  2. Search for Windows Security.
  3. Open the Windows Security app.

Step 2: Go to Virus & Threat Protection

  1. Click Virus & threat protection.
  2. Scroll down to Virus & threat protection settings.
  3. Click Manage settings.

Step 3: Open Exclusions

  1. Scroll down until you see Exclusions.
  2. Click Add or remove exclusions.
  3. Allow the administrator permission if Windows asks.

Step 4: Add Your Folder

  1. Click Add an exclusion.
  2. Select Folder.
  3. Choose the folder you want to whitelist.
  4. Click Select Folder.

After this, the selected folder will be added to the Windows Security exclusion list.

How to Remove a Whitelisted Folder

  1. Open Windows Security.
  2. Go to Virus & threat protection.
  3. Click Manage settings.
  4. Open Add or remove exclusions.
  5. Select the folder from the list.
  6. 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

Join Our Discord

Get updates, support, announcements, and connect with our community.

Join Discord
Download
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content