How to Add Exceptions in Microsoft Defender on Windows

Microsoft Defender, the built-in antivirus for Windows, offers reliable protection against viruses and malware. However, it can occasionally block files or programs you know to be safe. In such cases, you can add exceptions for specific files, folders, or programs. Here’s how to do this in Microsoft Defender on Windows.

Step 1: Open Microsoft Defender Settings

First, you’ll need to access the Windows Defender settings. To open them:

  • Click Start and select Settings.
  • Go to the Update & Security section.
  • In the left menu, choose Windows Security.
  • Click on Open Windows Security.

Step 2: Go to the "Virus & Threat Protection" Section

In the Windows Security window, navigate to the Virus & Threat Protection section. Here, you’ll find all settings related to antivirus protection.

Step 3: Configuring Exception Settings

Now you need to add exceptions for files, folders, or programs:

  1. Click on Manage settings under the Virus & Threat Protection settings section.
  2. Scroll down to Exclusions and select Add or remove exclusions.
  3. Click Add an exclusion and select the appropriate type:
    • File: to exclude a specific file.
    • Folder: if you want to exclude an entire folder.
    • File Type: to exclude a specific file type, such as .exe or .docx.
    • Process: to exclude a specific process.

Step 4: Adding the Exception

After selecting the type of exclusion, locate the file, folder, or process on your computer and confirm your choice. The item will then be added to the exclusions list, and Microsoft Defender will no longer scan it for threats.

Security Tips

When adding exclusions, be cautious and only exclude files and programs you trust. Adding too many exclusions may reduce your system’s overall protection.