How to Enable/Disable Malware feature in Exchange Server 2013

Share this:

In this Tutorial we are going over the process do enable and disable malware feature in Exchange Server 2013. We can manage malware features during the installation process and also after the product is installed.

Solution


During the installation process using the graphical user interface, we have the option to enable/disable in the Malware Protection Settings page.

If your favorite method is using the command line, then the switch /DisableAMFiltering should be used to disable the malware agent.

How to validate the Malware feature…

The malware feature is a Transport Agent, and when we run the cmdlet below we can see an entry Malware agent and if it shows True is because the feature is enabled on the system.

Get-TransportAgent

image[8]

How to disable the Malware feature…

In order to disable it, open Exchange management Shell and run these following cmdlets, the results are shown in the figure below.

cd $EXScripts

.Disable-AntimalwareScanning.ps1

image[2]

After disabling the component, we need to restart the Transport Service to refresh the settings. The cmdlet and the results are listed below.

Restart-Service MSExchangeTransport

image[5]

If we run Get-TransportAgent we will notice that Malware Agent has the value False which means that is no longer in use in the current server.

image[11]

Enabling the Malware feature…

The process to enable it is straight forward, using Exchange Management Shell we need to run these two cmdlets and the results will be shown in the Figure below.

cd $EXScripts

.Enable-AntimalwareScanning.ps1

image[14]

After disabling the component, we need to restart the Transport Service to refresh the settings. The cmdlet and the results are listed below.

Restart-Service MSExchangeTransport

image[17]

Conclusion


We went over the process to enable and disable the malware agent using the setup during the installation of the product and afterwards as well.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Creating multiple mailboxes using Exchange Managem... In Today’s Tutorial we are going over a simple task which is to create several mailboxes using Exchange Management Shell. This Tutorial may be useful ...
How to enable Quarantine for Mobile devices in Exc... In this Tutorial we are going over the process to enable quarantine for mobile devices in Exchange Server 2013. This is really nice feature where a s...
How to rebuild Exchange Server 2013 search catalog In this Tutorial we are going over the required steps to reset the Exchange Server 2013 search catalog. Depending of your environment the process to r...
How to.. list Mailbox Databases from previous vers... If you run Get-MailboxDatabase in an Exchange Server 2013 you will receive a list of all your Mailbox Databases running on Exchange Server 2013 which ...