Kaseya Community

remove symantec live update

  • i want to be able to remove symantec live update silently. from reading around this is what ive got so far.

    i made a batch file that will remove live update. this is what is in the batch file. if i double click this file it works fine.

    @echo off

    echo Merit Solutions Is Removing Symantec LiveUpdate..
    echo.
    echo Please Do Not Close!! It Will Close Automaticly...
    echo.

    CD "C:\Program Files\Symantec\LiveUpdate"
    LSETUP.EXE /u /q

    exit

    i uploaded that to the kserver.

    this is how i set up kaseya..

    IF Check Registry Value
    Parameter: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\LiveUpdate
    Exist
    THEN
    Get Variable
    Parameter 1 : agent temp directory
    Parameter 2 :
    Parameter 3 :
    Parameter 4 : temp
    Write File
    Parameter 1 : #temp#\RemoveLiveUpdate.bat
    Parameter 2 : source file stored on server
    Execute File
    Parameter 1 : C:\windows\system32\cmd.exe
    Parameter 2 : #temp#\RemoveLiveUpdate.bat
    Parameter 3 : execute as user and continue
    Delete File
    Parameter 1 : #temp#\RemoveLiveUpdate.bat

    if i run this script it says Success ELSE and symantec isnt removed.

    ive also tried running this but it never completed or failed

    Execute Shell Command
    Parameter 1 : cmd "#temp#\RemoveLiveUpdate.bat"

    any ideas or help would be greatful..

    Legacy Forum Name: remove symantec live update,
    Legacy Posted By Username: Austin
  • Have you found that some installs do no include the lsetup.exe? I have seen this on a few clients.

    Any work around would be greatly appreciated.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: GDRBrian
  • i havent seen that yet... but i know most of our clients have live update installed. which isnt serious but rolling out kes shows a conflict. this will actully help me once i get it working from remoting into each computer and removing it manually. for when im ready to roll out kes. there are no conflicts. i havent been able to successfully run it from kesaya yet. but if i double click the file it works. more tinkering around later. for now its time to go home!

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Austin
  • This works for me...


    Execute File - (Continue on Fail)
    Parameter 1 : c:\program files\symantec\liveupdate\lsetup.exe
    Parameter 2 : /U /q
    Parameter 3 : 1
    OS Type : 1

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: GDRBrian
  • sweet thanks got it working... seems ive been trying to make things alot more difficult than it needs to be lol...

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Austin