Views:

To remove SMEX manually:

  1. Stop the following ScanMail-related services:
    • ScanMail for Microsoft Exchange Master Service
    • ScanMail for Microsoft Exchange Remote Configuration Server
    • ScanMail for Microsoft Exchange System Watcher
    • Microsoft Exchange Transport Service
  2. Remove the ScanMail transport agent from Exchange 2007, 2010 or 2013.
    1. Type the following commands:
      Uninstall-TransportAgent -Identity "ScanMail Routing Agent"
      Uninstall-TransportAgent -Identity "ScanMail SMTP Receive Agent"
    2. Type "Y".
    3. Execute the command "get-transportagent" to make sure that the ScanMail transport agent has been removed.
  3. Delete the following registry keys:
     

    Always back up the whole registry before making any modifications. Incorrect changes to the registry can cause serious system problems.

    Product registry keys:

    • HKLM\SOFTWARE\TrendMicro\ScanMail for Exchange
    • HKLM\SOFTWARE\Wow6432Node\TrendMicro\ScanMail for Exchange (This key only exists in 64-bit environments.)
    • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\D8512B02C8BA2364BBA61EFFA1DACD31 (EUQ)
    • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UpgradeCodes\F79BAC82EE02C8A4CB43EE3AB234B806 (SMEX)

    SMEX performance count register key:

    • HKLM\SYSTEM\CurrentControlSet\Services\Perf_Smex11PerfMonMgr

    Service registry keys:

    • HKLM\SYSTEM\CurrentControlSet\Services\ScanMail_Master
    • HKLM\SYSTEM\CurrentControlSet\Services\ScanMail_RemoteConfig
    • HKLM\SYSTEM\CurrentControlSet\Services\ScanMail_SystemWatcher
    • HKLM\SYSTEM\CurrentControlSet\Services\RIFRemoteInstallAgent (This key only exists if the installation stopped unexpectedly.)
    • HKLM\SYSTEM\CurrentControlSet\Services\Eventlog\Application\Trend Micro ScanMail for Microsoft Exchange

    Registry key used during installation:

    • HKLM\SOFTWARE\TrendMicro\TEMP-RIFSTATUS\
     
    Use the search tool to look for registry keys with the value, "4FECAAEDA6A1D174B90DD4B342CE2327". Remove those keys with this value. When using the search tool, make sure that you select “Values” and “Match whole string only”.
  4. Delete the Web Server Configurations.
    1. Launch the Internet Information Services (IIS) Manager console.
    2. Expand Web Sites and then right-click SMEX Web Site.
    3. Select Delete.
  5. Delete SMEX from the Start menu.

    For example: C:\Documents and Settings\All Users\Start Menu\Programs\Trend Micro ScanMail for Microsoft Exchange

  6. Delete all files and subfolders in the folder where SMEX was installed.

    For example: C:\Program Files\Trend Micro\SMEX\

  7. Delete all files and subfolders in \SMEX\temp\. This is the shared directory that was specified during installation. The default is C$.
  8. Remove Microsoft SQL Server 2005 or 2008R2 from the local servers:
    1. Launch the Add/Remove Programs console.
    2. Click Remove beside Microsoft SQL Server.
    3. Select SCANMAIL: Database Engine.
    4. Click Next > Finish.
  9. Remove Microsoft SQL Server 2005 or 2008R2 from the remote servers:
    1. Use the SQL Server Management Studio Express to connect to the remote SQL server which has the ScanMail installation.
    2. Delete the following ScanMail databases:
      • Conf_HostName_UUID
      • Log_HostName_UUID
      • Report_HostName_UUID

This manual removal procedure above is also recommended if you have encountered issues during SMEX product setup or if any of the components are missing.

Once done with the manual uninstallation, follow these steps:

  1. Reboot the server.
  2. Ensure that the latest Microsoft Windows and Exchange Service Packs are applied.
  3. Check and ensure that Windows TEMP directory are cleared.
  4. Run the SMEX setup.

If the above steps do not resolve the issue that you encountered, do the following:

  1. Obtain a copy of the installation logs.
    ProcessDebug Logs
    Setup.exe%temp%\setup.log
    SMEX program directory\SMEX_DatabaseCreation.log
    RIFRemoteInstallAgent.exe%windir%\temp\SMEX_RIFRemoteInstallAgent.log
    Msiexec.exeSMEX program directory\Debug\Msiexec.log
    SMEX program directory\Debug\SMEX_Msi*.log
    InstSetupHelper.exeSMEX program directory\Debug\SMEX_SetupHelper.log
  2. Compress the files using WinZip and apply the password, "trend".
  3. Send the files to Trend Micro Technical Support.