Removing the application from the command line

Kaspersky Endpoint Security can be uninstalled from the command line in one of the following ways:

To uninstall the application in silent mode:

  1. Run the command line interpreter (cmd.exe) as an administrator.
  2. Go to the folder where the Kaspersky Endpoint Security distribution package is located.
  3. Run the following command:
    • If the removal process is not password protected:

      setup_kes.exe /s /x

      or

      msiexec.exe /x <GUID> /qn

      <GUID> is the unique identifier of the application. You can find out the GUID of the application by using the following command:

      wmic product where "Name like '%Kaspersky Endpoint Security%'" get Name, IdentifyingNumber.

    • If the removal process is password protected:

      setup_kes.exe /pKLLOGIN=<user name> /pKLPASSWD=<password> /s /x

      or

      msiexec.exe /x <GUID> KLLOGIN=<user name> KLPASSWD=<password> /qn

      Example:

      msiexec.exe /x {9A017278-F7F4-4DF9-A482-0B97B70DD7ED} KLLOGIN=KLAdmin KLPASSWD=!Password1 /qn

Page top