Windows

How to Exclude Files from Microsoft Defender on Windows 11

Richard
Written by
Richard
Oct 24, 2021 Updated Apr 14, 2026 2 min read
How to Exclude Files from Microsoft Defender on Windows 11

Microsoft Defender keeps your computer safe by scanning for viruses. Sometimes, it might slow down your work by scanning files you know are safe, like virtual machines or specific development folders. This guide shows you how to tell Defender to skip those files.

Why should you use exclusions?

If your computer feels slow while running a specific program, excluding that folder can help speed things up. It stops Defender from constantly checking those files.

What happens when you are done?

Once you finish these steps, Defender will stop scanning the items you chose. Keep in mind that if a virus hides in an excluded folder, Defender will not find it. Only exclude files you trust.

Note: You must have administrator privileges to change these settings.

How to add exclusions in Windows 11

First, open the Windows Security app Windows Security app. Click the Start button, type “Windows Security,” and select it from the list.

Windows Security app open on Windows 11

Inside the app, click on Virus & threat protection. Then, look for Manage settings under the “Virus & threat protection settings” section.

Virus and threat protection settings in Windows Security

Scroll down to the bottom of the page. Click the link that says Add or remove exclusions.

Adding an exclusion in Windows Security on Windows 11

On this page, you can manage your list. Click the Add an exclusion button with the plus sign to get started.

Add an exclusion option in Windows Security app

You can pick from these options:

  • File: Pick a single file to skip.
  • Folder: Pick a folder to skip everything inside it.
  • File type: Type an extension like .txt to skip all files of that type.
  • Process: Type the name of a program, such as explorer.exe, to stop scanning that active task.
Exclusion settings for Microsoft Defender on Windows 11

When you are finished, just close the Windows Security window. Your changes are saved automatically.

Summary

Adding exclusions is a great way to help your computer run faster during specific tasks. Just remember that anything you exclude is no longer being watched for threats. Make sure to only add files you trust, and check your list every now and then to keep your computer secure.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2468 articles → Twitter

📚 Related Tutorials

How to Activate Microsoft Defender in Windows 11
Windows How to Activate Microsoft Defender in Windows 11
How to Check Microsoft Defender Updates in Windows 11
Windows How to Check Microsoft Defender Updates in Windows 11
How to Optimize Microsoft Defender CPU Usage in Windows 11
Windows How to Optimize Microsoft Defender CPU Usage in Windows 11

Leave a Reply

Your email address will not be published. Required fields are marked *