Manual removal script for Symantec Mail Security for Exchange (SMSMSE) for all versions
search cancel

Manual removal script for Symantec Mail Security for Exchange (SMSMSE) for all versions

book

Article ID: 158924

calendar_today

Updated On:

Products

Mail Security for Microsoft Exchange

Issue/Introduction

Is there a script or program to remove Symantec Mail Security for Microsoft Exchange after a failed installation or when uninstalling returns error 1722?

This article provides a script to remove SMSMSE from a Windows computer with Powershell.  Prior to using these steps it  is recommended to attempt to remove SMSMSE by using the Add/Remove Programs Control Panel.

WARNING: In the next steps you will edit the Windows registry. Back up the registry before you make any changes to it, because incorrect changes to the registry can result in permanent data loss or corrupted files. Modify only the registry keys that are specified. 

The following document explains how to back up the registry: How to back up, edit, and restore the registry in Windows 7 and Windows Server 2008

Error 1722 returned when attempting to install or uninstall

Resolution

  1. Download the attached file SMSMSE_Remover.ps1
  2. Open Windows Powershell as Administrator
  3. Navigate to the directory where SMSMSE_Remover.ps1 was downloaded to
  4. Run the following command depending on operating system: 
    1. Important Note: You must use the correct filename for the script.
    2. Change directory so that Powershell is operating in the same directory where the script is stored.
    3. Change the directory according to the location where you placed the file.
      Example:
      cd C:\Users\Administrator\Downloads
    4. ​If you are using Server 2008:
      powershell.exe -noprofile -executionpolicy unrestricted -file .\1625074323980__SMSMSE_Remover.ps1
    5. If you are using Server 2008 R2 and later:
      powershell.exe -noprofile -executionpolicy bypass -file .\1625074323980__SMSMSE_Remover.ps1
  5. Follow any instructions displayed until the script indicates it has completed: "Process Complete: Exiting"

 

 

Applies To

SMSMSE VERSION 6.0 6.5 7.0 7.5 7.9 7.10
Services Removal Y Y Y Y Y Y
Unregister liveupdate Y Y Y Y Y Y
Registry keys Y Y Y Y Y Y
             
EXCHANGE VERSION 2007 2010 2013 2016 2019  
Transport agents Y Y Y Y Y  
IIS Site Y Y Y Y Y  
             
WINDOWS VERSION 2003 2008 2012 2016 2019  
File system folders Y Y Y Y Y  

 Notes:

  • Applicable to both full (server) and console-only installations
  • Y = Yes/OK
NOTICE:
  • This script removes exactly the items listed in the SMSMSE Manual Removal articles.
  • This script has been tested on standard installations of SMSMSE on all environments listed above.
  • This script is provided as-is and appropriate backups should be made prior to executing.
  • Close all open applications and backup registry before proceeding.
  • IIS and Exchange Transport Services will be restarted.

Attachments

1625074323980__SMSMSE_Remover.ps1 get_app