Endpoint Protection

 View Only
  • 1.  Unable to Uninstall Kaspersky using SEPprep

    Posted May 04, 2015 10:44 PM

    Hi

    Guys,

     

    I Need a solution for Unistall Kaspersky using SEPprep.

    Please see below the SEPprep.ini

    [Settings]

    ShowGUI=N
    AskBeforeRemoval=N
    SilentMSIInstaller=Y
    RemoveSymantec=Y
    CheckDiskSpace=Y
    EnableLogging=Y
    DefaultExtraParameters= -silent
    LogPath='C:\SEP_Log.txt'
    RunBeforeRemoval=msiexec.exe /x {8F023021-A7EB-45D3-9269-D65264C81729} KLUNINSTPASSWD=password /qn 
    RunAfterRemoval=SEPsetup.exe

     

     

    [UninstallPaths]
    C:\Program Files\Common Files\InstallShield\Driver\7\Intel 32\IDriver.exe" /M{12C259B1-8E8C-498D-927D-60040190BF79}

     

    [ProductNames]
    ;Programs that must be removed first
    Kaspersky Anti-Virus 6.0 for Windows Servers MP4
    Kaspersky Anti-Virus 6.0 for Windows Workstations MP4
    Kaspersky Anti-Virus 8.0 for Windows Servers Enterprise Edition
    Kaspersky Endpoint Security 10 for Windows
    Kaspersky Endpoint Security 10 Maintenance Release 1 for Windows
    Kaspersky Endpoint Security 8 for Windows
    Kaspersky Security Center Network Agent
    Kaspersky Anti-Virus 6.0 for Windows Workstations
    Kaspersky
    Kaspersky Small Office Security for Personal Computer / File Server, all versions 
    Kaspersky Total Security 
    Kaspersky PURE, all versions 
    Kaspersky Anti-Virus, all versions 
    Kaspersky Internet Security, all versions 
    Kaspersky Password Manager, all versions 
    Kaspersky Fraud Prevention for Endpoint, all versions 
    AVP Tool driver 
    Kaspersky Security Scan 3.0 
    Kaspersky Security Scan 2.0 
    Kaspersky Endpoint Security 8/10 for Windows (for File Servers) 
    Kaspersky Endpoint Security 8/10 for Windows (for Workstations) 
    Kaspersky Anti-Virus 6.0 R2 for Windows Workstations 
    Kaspersky Anti-Virus 6.0 R2 for Windows Servers  
    Kaspersky Anti-Virus 6.0 FS MP4 
    Kaspersky Anti-Virus 6.0 SOS MP4 
    Kaspersky Anti-Virus 6.0 WKS MP4 
    Kaspersky Anti-Virus 8.0 for Windows Servers Enterprise Edition 
    Kaspersky Network Agent 10 
    Kaspersky Lab Network Agent 8/9 
     

     

    Thank you,

    Jonell



  • 2.  RE: Unable to Uninstall Kaspersky using SEPprep

    Posted May 04, 2015 10:48 PM

    Is the version of Kaspersky you're running apart of the list?

    What exactly is happening? Any error or just not uninstalling?



  • 3.  RE: Unable to Uninstall Kaspersky using SEPprep

    Posted May 04, 2015 10:55 PM

    Hi Brian,

    Here is the Logs,

    Computer Name:TESTPC
    04/30/2015 10:03:39:289 SEPprep starting!
    04/30/2015 10:03:45:490 Removing: Kaspersky Endpoint Security 8 for Windows
    04/30/2015 10:03:45:491 Attempting to run: msiexec.exe /x {D72DD679-A3EC-4FCF-AFAF-12E2552450B6} /qn REMOVE=ALL REBOOT=R /qn
    04/30/2015 10:03:55:751 Exit code: 1603
    04/30/2015 10:03:55:754 Failed to remove Kaspersky Endpoint Security 8 for Windows
    04/30/2015 10:03:59:091 Attempting to run: SepSetup.exe /s /w /s /w /v"/qn /l*v "C:\Windows\TEMP\SEP_INST.LOG" REBOOT=ReallySuppress"
    04/30/2015 10:05:29:061 Exit code: 5
    04/30/2015 10:05:29:064 Symantec Endpoint Protection is NOT installed.
    04/30/2015 10:05:29:116 Added tool to local system RunOnce key, please reboot to run tool again.
    04/30/2015 10:05:29:118 SEPprep stopping!
    Computer Name: TESTPC
    04/30/2015 12:32:08:829 SEPprep starting!
    04/30/2015 12:32:09:451 Removing: Kaspersky Endpoint Security 8 for Windows
    04/30/2015 12:32:09:452 Attempting to run: msiexec.exe /x {D72DD679-A3EC-4FCF-AFAF-12E2552450B6} /qn REMOVE=ALL REBOOT=R /qn
    04/30/2015 12:32:39:317 Exit code: 1603
    04/30/2015 12:32:39:319 Failed to remove Kaspersky Endpoint Security 8 for Windows
    04/30/2015 12:32:39:331 Removing: Kaspersky Security Center Network Agent
    04/30/2015 12:32:39:334 Attempting to run: MsiExec.exe /X{BCF4CF24-88AB-45E1-A6E6-40C8278A70C5} REMOVE=ALL REBOOT=R /qn
    04/30/2015 12:33:41:182 Exit code: 0
    04/30/2015 12:33:41:739 Attempting to run: SepSetup.exe /s /w /s /w /v"/qn /l*v "C:\Windows\TEMP\SEP_INST.LOG" REBOOT=ReallySuppress"
    04/30/2015 12:34:55:574 Exit code: 5
    04/30/2015 12:34:55:576 Symantec Endpoint Protection is NOT installed.
    04/30/2015 12:34:55:577 Added tool to local system RunOnce key, please reboot to run tool again.
    04/30/2015 12:34:55:579 SEPprep stopping!
    Computer Name: TESTPC
    05/05/2015 09:30:40:124 SEPprep starting!
    05/05/2015 09:30:40:125 Attempting to run: msiexec.exe /x {8F023021-A7EB-45D3-9269-D65264C81729} KLUNINSTPASSWD=password /qn 
    05/05/2015 09:30:43:862 Exit code: 1605
    05/05/2015 09:30:44:891 Removing: Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:44:894 Attempting to run: msiexec.exe /x {D72DD679-A3EC-4FCF-AFAF-12E2552450B6} /qn REMOVE=ALL REBOOT=R /qn
    05/05/2015 09:30:49:805 Exit code: 1603
    05/05/2015 09:30:49:807 Failed to remove Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:49:904 Removing: Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:49:905 Attempting to run: msiexec.exe /x {D72DD679-A3EC-4FCF-AFAF-12E2552450B6} /qn REMOVE=ALL REBOOT=R /qn
    05/05/2015 09:30:50:788 Exit code: 1603
    05/05/2015 09:30:50:791 Failed to remove Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:50:977 Removing: Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:50:979 Attempting to run: msiexec.exe /x {D72DD679-A3EC-4FCF-AFAF-12E2552450B6} /qn REMOVE=ALL REBOOT=R /qn
    05/05/2015 09:30:52:085 Exit code: 1603
    05/05/2015 09:30:52:087 Failed to remove Kaspersky Endpoint Security 8 for Windows
    05/05/2015 09:30:55:614 Attempting to run: SEPsetup.exe /s /w /s /w /v"/qn /l*v "C:\Windows\TEMP\SEP_INST.LOG" REBOOT=ReallySuppress"
    05/05/2015 09:31:39:032 Exit code: 5
    05/05/2015 09:31:39:034 Symantec Endpoint Protection is NOT installed.
    05/05/2015 09:31:39:040 Added tool to local system RunOnce key, please reboot to run tool again.
    05/05/2015 09:31:39:041 SEPprep stopping!

     

    For Workstation Installed kaspersky Client and Agent V8 & V6

    For Server  Installed kaspersky Client and Agent V10 & V6

    Thanks,

     



  • 4.  RE: Unable to Uninstall Kaspersky using SEPprep
    Best Answer

    Posted May 05, 2015 06:09 AM

    Initial glance says you want to remove the "RunBeforeRemoval" command that you have there, and fill out the below addtional parameter instead:  

    MSIExtraParameters=KLUNINSTPASSWD=password

    I say this because the "RunBeforeRemoval" is meant to be used to prepare the installation for removal, not perform the removal itself which is what you appear to be trying to do.