Views:

To manually update the remote SQL server account password:

  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 <output_folder_path> -c <password>

  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.
  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 stop ScanMail_RemoteConfig
    • for /F %i in (Server.txt) do sc %i stop ScanMail_Master
    • for /F %i in (Server.txt) do sc %i stop 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.