ScanMail for Microsoft Exchange temporary folder path optimization

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at]  

Topic Last Modified: 2008-10-01

The Microsoft® Exchange Server Analyzer Tool reads the following registry entry to determine whether version 7.0 of Trend Micro ScanMail for Microsoft Exchange is installed:

HKEY_LOCAL_MACHINE\Software\TrendMicro\ScanMail for Exchange\CurrentVersion\Version

The Exchange Server Analyzer also reads the following entry to determine the location for the temporary folder used by ScanMail for Microsoft Exchange:

HKLM\Software\TrendMicro\ScanMail for Exchange\CurrentVersion\TempDir

If the TempDir value is present and configured in the registry, its presence indicates that the temporary folder used by ScanMail for Microsoft Exchange has been moved from its default location.

Finally, the Exchange Server Analyzer queries the CIM_Datafile Microsoft Windows® Management Instrumentation (WMI) class to determine the value of the Version key for AdapterSMTP.dll. That module is included with ScanMail for Microsoft Exchange from Trend Micro.

The Exchange Server Analyzer displays a best practice message if the following conditions are true:

  • ScanMail for Microsoft Exchange Version: 7 is installed.

  • The temporary folder used by ScanMail for Microsoft Exchange remains in its original default location.

  • The version of AdapterSMTP.dll is a version that supports redirection of the temporary folder used by ScanMail for Microsoft Exchange.

Trend Micro introduced the ability to relocate the temporary folder in recent builds of ScanMail for Microsoft Exchange. This feature only works on builds later than 7.0.1386. If you are using a build of ScanMail for Microsoft Exchange that is later than version 7.0.1386, Trend Micro recommends that you relocate the temporary folder to a faster drive.

To relocate the temporary folder
  1. Review the Trend Micro knowledge base article, "Can users change the location of the ScanMail for Exchange (SMEX) 7.0 temporary folder?" (

  2. Perform the procedures shown in that article to relocate the temporary folder to a faster drive.

The third-party Web site information is provided to help you find the technical information you need. The URLs are subject to change without notice.