You must update Exchange Server to a newer CU build to get the latest security…
It is crucial to have the right Antivirus exclusions for Exchange Server 2013/2016/2019. Antivirus/Security will slow down the Exchange Server. Think about excluding the correct folders, processes, and extensions for Exchange Server. Yes, that is a bunch to exclude, but don’t you want the Exchange Server performing fast? In this article, you will learn which Antivirus exclusions need to be made on the Exchange Server.
Table of contents
Download Antivirus exclusions for Exchange script
Download the appropriate script for Exchange Server 2013/2016/2019. Place the PowerShell script in path C:\scripts on the Exchange Server and not on any other server.
Run Exchange Management Shell as administrator. Change the directory to the scripts folder and then run the script.
[PS] C:\>cd C:\scripts\ [PS] C:\scripts>.\Get-Exchange2016AVExclusions.ps1 Done.
You will see the output Done. The script finished.
Antivirus exclusions for Exchange result
Browse to the C:\scripts\ folder, and you will see three generated text output files:
Open the text files to check the exact exclusions that need to be made for the Exchange Server.
Exclude the extensions, the paths of the directories, and the process that shows in the text file in the Antivirus/Security application.
Exclude Exchange Server exclusions in Windows Defender
Suppose you have Windows Defender as your security product. You can run the script with the -ConfigureWindowsDefender switch, and it will add the exclusions to Windows Defender.
[PS] C:\scripts>.\Get-Exchange2019AVExclusions.ps1 -ConfigureWindowsDefender Windows Defender PowerShell module available. Done.
The Exchange Server exclusions are successfully added in Windows Defender.
Verify Exchange Server exclusions
After adding the exclusions to the Antivirus/Security product, check Exchange Antivirus exclusions are set correctly.
You learned about Antivirus exclusions for Exchange 2013/2016/2019. Remember to add the exclusions in the Antivirus/Security product. Do this after installing the Exchange Server and configuring the mailbox databases. Do you already have an Exchange Server installed in production? Configure the Antivirus exclusions right now.
Did you enjoy this article? You may also like Turn off Windows Defender in Windows 11 permanently. Don’t forget to follow us and share this article.