Applies ToSecurity Windows 11 Windows 10

If you trust a file, file type, folder, or a process that Windows Security has detected as malicious, you can stop Windows Security from alerting you or blocking the program by adding the file to the exclusions list. 

Only do this for files that you're confident are safe. Adding an exclusion for an unsafe program could expose your systems and data to increased risk.

  1. Select Start  , then open Settings  . Under Privacy & security  , select Virus & threat protection.

  2. Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions.Where to add an exclusion in the Windows Security app.

  3. Select Add an exclusion, and then select from files, folders, file types, or process. A folder exclusion will apply to all subfolders within the folder as well.

  1. Go to Start  > Settings  > Update & Security  > Windows Security > Virus & threat protection.

  2. Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions.

  3. Select Add an exclusion, and then select from files, folders, file types, or process. A folder exclusion will apply to all subfolders within the folder as well.

See also

How to add a file type or process exclusion to Windows Security

Microsoft security help and learning

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.