Views:
To manually remove a single or shared ScanMail installation:
Tip
Tip
Refer to ScanMail for Windows in Appendix C Program File and Folder Lists for the list of ScanMail files and folder structures.
  1. On the server where ScanMail is installed, search for smdsys.ini, and then use a text editor to open it. Keep the file open for reference when performing the succeeding steps.
    Parameters that will be referred to in the succeeding steps include:
    • DomSvr{X}DominoBinPath
    • DomSvr{X}DataPath
    • DomSvr{X}NotesIniPath
    • ProductPath
    Note
    Note
    DomSvr{X} represents the ScanMail instance where {X} is the number corresponding to the ScanMail installation.
    If the target server has only a single ScanMail installation, DomSvr{X} is DomSvr0. For multiple ScanMail installation, DomSvr{X} increments by 1. DomSvr0 is the first instance, DomSvr1 is the second instance, and so forth.
    Here is a sample of smdsys.ini for a Windows server that has multiple instances of ScanMail:
    [SMDConf] \\indicates the first ScanMail instance
    ProductPath=C:\TrendMicro\1\ScanMail for Domino
    DomSvrISMDCount=2 \\indicates the partition server number of first 
    ScanMail instance
    ProductVersion=V5.8.1\\indicates ScanMail version is 5.8.1
    InstallType=64-bit \\indicates it is a 64-bit ScanMail
    DomSvrISMDSecs=DomSvr0,DomSvr1 \\indicates partition servers of first 
    ScanMail instance
    [DomSvr0] \\indicates the first partition server of first 
    ScanMail instance
    DomSvr0NotesIniPath=C:\IBM\Domino1\Data1\notes.ini
    DomSvr0DominoBinPath=C:\IBM\Domino1
    DomSvr0DataPath=C:\IBM\Domino1\Data1
    DomSvr0DominoVersion=0
    DomSvr0SMDVersion=5.8.1
    [DomSvr1] \\indicates the second partition server of first ScanMail 
    instance
    w=C:\IBM\Domino1\Data2\notes.ini
    DomSvr1DominoBinPath=C:\IBM\Domino1
    DomSvr1DataPath=C:\IBM\Domino1\Data2
    DomSvr1DominoVersion=0
    DomSvr1SMDVersion=5.8.1
    
    [SMDConf0] \\indicates the second ScanMail instance
    ProductPath=C:\TrendMicro\2\ScanMail for Domino
    DomSvrISMDCount=1 \\indicates the partition server number of second 
    ScanMail instance
    ProductVersion=V5.8.1
    DomSvrISMDSecs=DomSvr2 \\indicates partition servers of second 
    ScanMail instance
    [DomSvr2] \\indicates the first partition server of second 
    ScanMail instance
    DomSvr2NotesIniPath=C:\IBM\Domino2\Data1\notes.ini
    DomSvr2DominoBinPath=C:\IBM\Domino2
    DomSvr2DataPath=C:\IBM\Domino2\Data1
    DomSvr2DominoVersion=0
    DomSvr2SMDVersion=5.8.1
  2. If the SMD instance is removed from all the partition servers that share the Domino binary, then navigate to the directory specified in DomSvr{X}DominoBinPath, and then search for and delete the corresponding ScanMail files:
    • DominoBinPath ScanMail files on a Windows server.
  3. Navigate to the directory specified in DomSvr{X}DataPath, and then delete the ScanMail installation and temporary folders.
  4. Using a text editor, open the notes.ini specified in DomSvr{X}NotesIniPath, and then perform the following:
    1. Look for the ServerTasks section, and then delete the following items:
      • SMDemf
      • SMDreal
      • SMDsch
      • SMDmon
      • SMDcm
      • Look for the EXTMGR_ADDINS section, and then delete the item SMDext.
      • Look for the ScanMailInstallPath section, and then delete the whole line (including the file path).
  5. Save and close notes.ini.
  6. Delete smd.ini. This file is located in the path specified in DomSvr{X}DominoBinPath.
  7. If the SMD instance is removed from all the partition servers that share the SMD binary, delete the folder specified in ProductPath. This folder contains other ScanMail files, including the virus pattern and scan engine files for VSAPI and Trend Micro Anti-Spam.
  8. Navigate to the folder where the ScanMail installation logs are located (see Locating Installation and Uninstallation Logs) and delete the log files.
  9. For ScanMail installed on a Windows server, complete the following tasks:
    1. Open the Registry, and then delete the uninstall key:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ScanMail for Domino
    2. Delete the Trend Micro ScanMail for Domino folder from C:\Documents and Settings\AllUsers\StartMenu\Programs. This action removes the ScanMail program folder from the Start menu.
    3. Close the registry editor.
  10. Delete and modify the information of partition server which installs the specified SMD instance in smdsys.ini.
    • DomSvrISMDCount
    • DomSvrISMDSecs
    • DomSvrX (delete the related information of the partition server of ScanMail instance)
    If the SMD instance is removed from all the partition servers that share the SMD binary, delete the SMDConfx instance in smdsys.ini.
    If all SMD instances are removed fromthe target server, delete smdsys.ini.
  11. Restart the Domino server.