- On the computer when the MSA is installed, stop the following services:
- Trend Micro Messaging Security Agent EUQ Monitor
- Trend Micro Messaging Security Agent Master Service
- Trend Micro Messaging Security Agent Remote Configuration Server
- Trend Micro Messaging Security Agent System Watcher
- Remove the ScanMail transport agent from Exchange 2010/2007:
- Click Start > All Programs > Microsoft Exchange Server 2010/2007 > Exchange Management Shell.
- Type the following commands:
Uninstall-TransportAgent -Identity "ScanMail SMTP Receive Agent"
Uninstall-TransportAgent -Identity "ScanMail Routing Agent" -
Type "Y".
- Execute this command to make sure that the ScanMail transport agent has been removed:
get-transportagent
- Run the following commands to unregister the COM DLLs from command prompt:
regsvr32 -u "C:\Program Files\Trend Micro\Messaging Security Agent\hookSMTP.dll"
regsvr32 -u "C:\Program Files\Trend Micro\Messaging Security Agent\perfSmexPerfMonMgr.dll" - Delete the following registry keys:
Product installer keys:
- Under HKEY_CLASSES_ROOT\Installer\Products, look for Trend Micro Messaging Security Agent” under HKEY_CLASSES_ROOT\Installer\Products.
- If there was an instance, note down the product GUID value in HKEY_CLASSES_ROOT\Installer\Products\Product_GUID
For example:
If the key value is HKEY_CLASSES_ROOT\Installer\Products\F70EF35BF7A593C43BB129845842F61C
then the product GUID is F70EF35BF7A593C43BB129845842F61C. - Remove the registry key entry in HKEY_CLASSES_ROOT\Installer\Products\Product_GUID that you found in Step 2.
- Search entire registry key for the product GUID (e.g. F70EF35BF7A593C43BB129845842F61C) and remove all of them.
Product registry keys:
For 32 bit: HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\ScanMail for Exchange
For 64 bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Trend Micro\ScanMail for Exchange
Service registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ScanMail_Master
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ScanMail_RemoteConfig
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ScanMail_SystemWatcher
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RIFRemoteInstallAgent (This key only exists if installation stopped unexpectedly.)
Exchange hook registry keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\VirusScan
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\MSExchangeIS\VirusScan
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\MSExchangeIS\VirusScan
Exchange mailbox registry hook keys:
HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\MSExchangeIS\
<Computer_Name or VS_Name>\<Store_Name>\VirusScanBackgroundScanning
HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\MSExchangeIS\
<Computer_Name or VS_Name>\<Store_Name>\VirusScanEnabled
HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\MSExchangeIS\
<Computer_Name or VS_Name>\<Store_Name>\VirusScanProactiveScanning
Uninstall Entry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\
SMEX_{PRODUCT_ID} registry key.
- Delete the Web Server Configurations:
- Launch the Internet Information Services (IIS) Manager console.
- Expand Web Sites and then right-click SMEX Web Site.
- Select Delete.
- For WFBS 9.0, run the following commands to delete the EAS hook from IIS:
- For Exchange 2007, execute the command:
C:\Windows\System32\inetsrv\appcmd.exe list module /module.name:SMSEXActiveSyncHook /app.name:"Default Web Site/Microsoft-Server-ActiveSync"
- For Exchange 2010 and 2013, execute the command:
C:\Windows\System32\inetsrv\appcmd.exe list module /module.name:SMSEXActiveSyncHook /app.name:"Exchange Back End/Microsoft-Server-ActiveSync"
- For Exchange 2007, execute the command:
- Delete the Trend Micro Messaging Security Agent shortcut from the Start > Programs > Menu.
- Go to C:\Program Files\Trend Micro\Messaging Security Agent\ and delete MSA product directory and its components
- Remove the MSA from the Security Server:
- Open the WFBS Advanced console on the Security Server.
- Click the Security Settings tab and then choose the offline Messaging Security Agent from the client management tree.
- Click Remove and then choose the Remove the selected inactive agent(s) option.
- Click Apply.
- Restart the computer.
During the MSA installation, the Active Directory (AD) security group "SMEX Admin Group" and the user account "SMX_<Server_Name>" are created in the Global Catalog in the server. If you want to remove these, do the following:
If you want to remove the SMEX Admin Group, make sure that it has no other account members.- Click Start > Programs > Administrative Tools > Active Directory Users and Computers.
- Right-click SMEX Admin Group and then click Delete.
- Right-click SMX_<Server_Name> and then click Delete.
When the user account is deleted, manually remove the user profile from the server:
- On your desktop, right-click the My Computer icon then click Properties.
- On the System Properties window, go to the Advanced tab.
- Under the User Profiles section, click Settings.
- Select SMX_<Server_Name> from the list.
- Click Delete.
For 64-bit OS: If you want to uninstall the SQL Server, click Start > Settings > Control Panel > Add/Remove Programs.
If you need technical assistance, contact Trend Micro Technical Support.