How do I disable or uninstall the anti-spam agents on a Hub Transport for MS Exchange 2010?


This solution is for Exchange Servers running without an Edge Transport Server. The solution below is for uninstalling the anti-spam agents on a Hub Transport Server.


You can disable each antispam agent by using the corresponding Set command. For example, to disable the Content Filter agent


To remove the antispam agents completely

  1. Start the Exchange Management Shell (EMS)
  2. Navigate to the \Exchange Server\Scripts folder (by default C:\Program Files\Microsoft\Exchange Server\Vxx\Scripts)

Run the Uninstall-AntispamAgents script: