Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

How to change the remote Windows authentication database account password in ScanMail for Exchange (SMEX) 12.0

    • Updated:
    • 10 Aug 2017
    • Product/Version:
    • ScanMail for Exchange 12.0
    • Platform:
    • Windows 2008 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2012 Standard
Summary

When you install ScanMail with a remote SQL server, an account is required to establish connection. If the password for this account is changed, the password needs to be manually updated in the ScanMail configuration file.

Details
Public

To manually update the remote SQL server account password:

  • For single ScanMail server
    1. Open the command line interface and navigate to the ScanMail installation path tool folder. The default path is C:\Program Files\Trend Micro\Smex\tools.
    2. Use toolChangeRemoteDBPWD.exe to encrypt the new password by typing the following:

      toolChangeRemoteDBPWD.exe -p-c

    3. Replace dbcfg_SQLPassword.txt with the newly generated file. The encrypted password file can be found in the following locations:
      • For noncluster server installations:
        ScanMail installation path\config\dbcfg_SQLPassword.txt
      • For VERITAS clusters (on share disks)
        ScanMail data path\config\dbcfg_SQLPassword.txt
    4. Restart the ScanMail Master service.
  • For multiple ScanMail servers
    1. Get all the host names for all ScanMail servers and save them in a text (.txt) file.

      Host name example:
      ExchangeMailbox01
      ExchangeMailbox02
      ExchangeMailbox03
      ... (and so on)
      File name example: Server.txt

    2. Open the command line interface and navigate to the ScanMail installation path tool folder. The default path is C:\Program Files\Trend Micro\Smex\tools
    3. Batch stop all the ScanMail related services using the following commands:
      • for /F %i in (Server.txt) do sc %i start ScanMail_RemoteConfig
      • for /F %i in (Server.txt) do sc %i start ScanMail_Master
      • for /F %i in (Server.txt) do sc %i start ScanMail_SystemWatcher
      Take note to replace (Server.txt) with the actual file name.
    4. Batch change password for all the host names using the following commands:
      • for /F %i in (Server.txt) do sc %i config ScanMail_RemoteConfig password=[NEW PASSWORD]
      • for /F %i in (Server.txt) do sc %i config ScanMail_Master password=[NEW PASSWORD]
      • for /F %i in (Server.txt) do sc %i config ScanMail_SystemWatcher password=[NEW PASSWORD]
      Take note to replace (Server.txt) with the actual file name.
    5. Batch start all ScanMail related services using the following commands:
      • for /F %i in (Server.txt) do sc %i start ScanMail_RemoteConfig
      • for /F %i in (Server.txt) do sc %i start ScanMail_Master
      • for /F %i in (Server.txt) do sc %i start ScanMail_SystemWatcher
      Take note to replace (Server.txt) with the actual file name.
    6. Restart the ScanMail Master service.
Premium
Internal
Rating:
Category:
Configure; Troubleshoot
Solution Id:
1117817
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.