skip to Main Content

Exchange Server Antivirus exclusions update

Microsoft updated the Exchange Server Antivirus exclusions list with a couple of changes. They removed 2 processes and 2 folder paths from the exclusion list. So it’s important that you remove these 4 exclusions in total from your Exchange Server. Every Exchange Server must exclude the recommended folders, processes, and extensions. If you have not done that, you should do this now.

In this article, you will learn which 4 Exchange Server Antivirus exclusions are removed and how to export all the exclusions you need, and to set in your Antivirus product with a PowerShell script.

Remove Exchange Server Antivirus exclusions

Check your Antivirus exclusion list and remove the below 4 exclusions on the Exchange Server.

Remove the following 2 Folders:

%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files

Remove the following 2 Processes:


Here is the complete Microsoft Exchange Server Antivirus exclusions list.

Exchange Antivirus exclusions PowerShell script

To make it easier for you and to have the recommended exclusions, it’s best to run the Exchange Antivirus PowerShell script on the Exchange Server.

The Exchange Antivirus PowerShell script works for:

  • Exchange Server 2013
  • Exchange Server 2016
  • Exchange Server 2019

The script creates a text file that you can open with Notepad. After that, add the exclusions to your third-party antivirus product.

Suppose you have Microsoft Defender Antivirus, the script will add the Exchange Server exclusions to Windows Defender.

Note: Download the script from Antivirus exclusions for Exchange Server.


You learned about the Exchange Server Antivirus exclusion update. It’s essential to stay up to date with all the security changes in today’s world, which means you have to update the exclusions. The good thing is that you have an Exchange Antivirus exclusions PowerShell script that scans the Exchange Server and tells you exactly which folders, processes, and extensions you need to add to the Antivirus exclusion list.

Did you enjoy this article? You may also like Configure pagefile in Exchange Server. Don’t forget to follow us and share this article.



ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has One Comment

Leave a Reply

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