How do I disable or uninstall the anti-spam agents on a Hub Transport for MS Exchange 2007?
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
Set-ContentFilterConfig -Enabled $false
You may need to do thist temporarily when you're troubleshooting an antispam issue.
To remove the antispam agents completely
- Start the Exchange Management Shell (EMS)
- Navigate to the \Exchange Server\Scripts folder (by default C:\Program Files\Microsoft\Exchange Server\Vxx\Scripts)
- Run the Uninstall-AntispamAgents script: