Welcome to LogMeIn Support!
Reset Search
Search

Article

Kaspersky Removal Guide for LogMeIn Central

« Go Back

Information

 
Answer

SCOPE

This document provides LogMeIn Central users with instructions and guidance on: (1) removing Kaspersky Lab’s Kaspersky Endpoint Security for Business (KES) from any of their installed host computers; and (2) removing the Kaspersky Software Update (KSU) after disabling Application Updates in the Admin console. 

REMOVING KASPERSKY ENDPOINT SECURITY USING LOGMEIN CENTRAL

As a complimentary benefit to our LogMeIn Central users, LogMeIn has offered KES, an anti-virus solution that uses real-time information to proactively identify and protect against unique and sophisticated threats, as well as provided a unique file-restore function should the system be impacted. By default, the KES software does not get installed on host computers, but if you opt-in to this complimentary benefit, the KES agent is installed on a host machine utilizing an API call provided by Kaspersky. 

How to remove Kaspersky Endpoint Security from host computers using One2Many
If you have enabled and deployed KES to host computers from the LogMeIn Central management console and would like to remove it from any or all host machines, please see the below instructions on how to do so using Central’s One2Many feature.
  • Note: If you never deployed the KES agent to any host computers, then the software is not on any computer and there is no need to remove anything.
  • Note: Removing KES may require a restart on host computers.
I. First, prepare a command file, as follows:
  1. Open a text editor (e.g. Notepad) and create a file named kesremove.cmd or something similar. NOTE: Make sure the file is saved as ".cmd" not "cmd.txt" (save as type should be "All files," not "Text Documents).
  2. Copy and paste the text below into the newly-created .cmd file:
@echo off
@setlocal EnableDelayedExpansion
set KES_GUID="x"
for /f "tokens=7 delims=\" %%A in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| FIND "{"') do (
  for /f "tokens=2,*" %%c in ('reg query hklm\software\microsoft\windows\currentversion\uninstall\%%A ^|  find /i "DisplayName"') do ( 
    if "%%d"=="Kaspersky Endpoint Security 10 for Windows" ( 
      set guid=%%A 
      if "!guid:~0,1!"=="{" set KES_GUID=!guid!
      )
  ) 
)
if NOT %KES_GUID% == "x" ( msiexec /x %KES_GUID% /quiet /qn ) else ( echo Product not found. & exit /b 1)
if %errorlevel%==3010 set errorlevel=0

II. Second, create a One2Many task, as follows:   
  1. In LogMeIn Central, go to the One2Many > Tasks page.
  2. Click Create Task. The Create Task page is displayed.
  3. Select Run a batch file or executable.
  4. Name the task in the Task name field. Since you may end up with many saved tasks, be sure to use a clear and specific name.
  5. To locate and upload resources required to complete the task, click Browse... and select the kesremove.cmd file you just created.
  6. Choose whether to assign the plan now or later:
    • To save your task and create a new plan that will be used to run the task, click Save and continue
    • To save the task without assigning a plan, click Save and close (you will be able to assign a plan later)
    • See How to Create a Plan for Executing One2Many Tasks to continue.
Tip: Once you have assigned a task to a plan and have run the plan, you can monitor progress and view logs on the One2Many > Plans page. You can view logs for completed tasks on the One2Many > History page.

REMOVING KASPERSKY SOFTWARE UPDATER (APPLICATION UPDATES)

The Central Premier feature, "Application Updates," leverages the technology of the KSU utility to scan computers for out-of-date software (e.g. Adobe, Java, browsers, etc.) and update them to the latest version from the Central management console. By default the Application Updates feature is disabled on all computers, but when enabled on a computer, KSU is installed on the host machine and powers the scanning and updating of supported third-party applications. LogMeIn Central calls an API from KSU to make this possible.
  • If Application Updates has never been enabled on a host computer, there is no trace of KSU on the machine. 
  • If you have enabled Application Updates on a computer, and would like to disable it, go to Updates > Applications in the Central console and select all computers that have application updates enabled. At the top of the page, click change settings and switch the setting to disabled.
How to remove Application Updates from host computers using One2Many
To fully remove KSU on host computers after the Application Updates feature has been enabled, you can use Central's One2Many feature as described below.

I. First, prepare a command file, as follows:
  1. Open a text editor (e.g. Notepad) and create a file named ksuremove.cmd or something similar. NOTE: Make sure the file is saved as ".cmd" not "cmd.txt" (save as type should be "All files," not "Text Documents).
  2. Copy and paste the text below into the newly-created .cmd file.
@echo off
@setlocal EnableDelayedExpansion
set KSU_GUID="x"
for /f "tokens=7 delims=\" %%A in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| FIND "{"') do (
  for /f "tokens=2,*" %%c in ('reg query hklm\software\microsoft\windows\currentversion\uninstall\%%A ^|  find /i "DisplayName"') do ( 
    if "%%d"=="Kaspersky Software Updater" ( 
      set guid=%%A 
      if "!guid:~0,1!"=="{" set KSU_GUID=!guid!
    )
  ) 
)
if NOT %KSU_GUID% == "x" ( msiexec /x %KSU_GUID% /quiet /qn ) else ( echo Product not found. & exit /b 1)
if %errorlevel%==3010 set errorlevel=0

II. Second, create a One2Many task, as follows:   
  1. In LogMeIn Central, go to the One2Many > Tasks page.
  2. Click Create Task. The Create Task page is displayed.
  3. Select Run a batch file or executable.
  4. Name the task in the Task name field. Since you may end up with many saved tasks, be sure to use a clear and specific name.
  5. To locate and upload resources required to complete the task, click Browse....and then select the ksuremove.cmd file you just created.
  6. Choose whether to assign the plan now or later:
    • To save your task and create a new plan that will be used to run the task, click Save and continue
    • To save the task without assigning a plan, click Save and close (you will be able to assign a plan later)
    • See How to Create a Plan for Executing One2Many Tasks to continue.
Tip: Once you have assigned a task to a plan and have run the plan, you can monitor progress and view logs on the One2Many > Plans page. You can view logs for completed tasks on the One2Many > History page.
ProductLogMeIn Central

Is this article helpful?

 

   



Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255

 

Close X