Uninstall Endpoint Protection clients using Microsoft Installer (MSI) commands

Article:TECH102470  |  Created: 2007-01-12  |  Updated: 2014-11-21  |  Article URL http://www.symantec.com/docs/TECH102470
Article Type
Technical Solution


Environment

Issue



This article describes how to uninstall Symantec Endpoint Protection (SEP) using Microsoft Installer (MSI) commands at the command line interface. This is useful if SEP is not listed in Add or Remove Programs.


Solution



SEP 11.x client

  1. Log on the system with administrator rights.
  2. Find the Symantec Endpoint Protection uninstallation product key:
  3. Click Start > Run.
  4. Type regedit to open the Windows registry editor.
  5. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  6. Browse the Uninstall sub keys in the left-hand pane, check the values in the right-hand pane to find a value for DisplayName that is Symantec Endpoint Protection.
  7. Copy the uninstallation key. For example the key for Symantec Endpoint Protection Version 11.0.776.1100 is 3B98507E-8B81-43EE-A77D-9C3E90EC3E2F
  8. Click Start, then Run.
  9. Type cmd to open the Windows command prompt.
  10. At the Windows command prompt type:

    msiexec /X {product uninstall key}

    Example: msiexec.exe /x {3B98507E-8B81-43EE-A77D-9C3E90EC3E2F} /passive

    To generate a detailed uninstall log type:

    msiexec /X {product uninstall key} /I*v! log file path

    Example: msiexec /x {3B98507E-8B81-43EE-A77D-9C3E90EC3E2F} /lv!* c:\uninstallSEP.txt

     

SEP 12.x client

  1. Log on to the computer with administrator rights.
  2. Find the Symantec Endpoint Protection uninstallation product key:
  3. Click Start > Run.
  4. Type regedit to open the Windows reistry editor.
  5. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
  6. Browse the Uninstall sub keys in the left-hand pane, and check the values in the right-hand pane to find a value for the DisplayName that equals Symantec Endpoint Protection.
  7. Copy the uninstallation key. For example the key for Symantec Endpoint Protection 12.1.671.4971 is A3AEEA68-AC93-4F6F-8D2D-78BBF7E422B8.
  8. Click Start, then Run.
  9. Type cmd to open the Windows command prompt.
  10. At the Windows command prompt type:

    msiexec /X {product uninstall key}

    Example: msiexec.exe /x {A3AEEA68-AC93-4F6F-8D2D-78BBF7E422B8} /passive

    To generate a detailed uninstall log type:

    msiexec /X {product uninstall key} /I*v! log file path
    Example: msiexec /x {A3AEEA68-AC93-4F6F-8D2D-78BBF7E422B8} /lv!* c:\uninstallSEP.txt

 

Note: If the MSI uninstall has stopped responding, follow these steps:

  1. Click Start > Run.
  2. Type taskmgr.
  3. Click the Processes tab.
  4. Click End Process for all of the running windows installer processes by right-clicking on msiexec.exe then clicking End Process.
  5. Repeat this for each instance of "msiexec.exe" listed.


References

For a list of available MSI command line switches type msiexec /? at the command prompt.

 

Technical Information

Sample log file:

The uninstaller is trying to find some keys which are present in a 64 bit operating system, but they do not exist (This was run on a 32 bit Operating System).
-------------------------------
Action ended 13:37:50: InstallFinalize. Return value 1.
MSI (s) (0C:20) [13:37:50:312]: Doing action: SxsUninstallCA
Action start 13:37:50: SxsUninstallCA.
MSI (s) (0C:34) [13:37:50:375]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI14D.tmp, Entrypoint: CustomAction_SxsMsmCleanup
1: sxsdelca tried opening key w/o wow64key 2: Software\Microsoft\Windows\CurrentVersion\SideBySide\PatchedComponents 3: 672 4: 0
1: sxsdelca tried opening wow64key 2: Software\Microsoft\Windows\CurrentVersion\SideBySide\PatchedComponents 3: 680 4: 0
1: sxsdelca 2: traceop 3: 1158 4: 0
1: sxsdelca 2: traceop 3: 1186 4: 0
-------------------------------

 



Legacy ID



2007091209261948


Article URL http://www.symantec.com/docs/TECH102470


Terms of use for this information are found in Legal Notices