Kaspersky Scan Engine

Uninstallation using the uninstaller (Linux and Windows)

This section describes how to uninstall Kaspersky Scan Engine using the uninstall (Linux) and uninstall.exe (Windows).

Before unistalling Kaspersky Scan Engine, make sure that files from the %service_dir% are not used by any processes.

To uninstall Kaspersky Scan Engine:

  1. Make sure you have root (administrator) privileges.
  2. Go to a directory other than %service_dir% and run uninstall from there, for example, from the command line.

    If there is a Kaspersky Scan Engine instance running on the computer, the uninstaller stops it.

  3. Choose whether to delete the database that contains Kaspersky Scan Engine data.

    After this the uninstall removes the following objects:

    • The database that contains Kaspersky Scan Engine data (if you have chosen this)

      The PostgreSQL installation will not be removed, nor the PostgreSQL scanengine database user. Only the Kaspersky Scan Engine kavebase database will be removed. If you want to re-install Kaspersky Scan Engine, remove the scanengine database user.

      To remove the scanengine database user, run the following command:

      DROP ROLE scanengine;

    • The directory to which Kaspersky Scan Engine is installed
    • The directory that contains temporary files used by Kaspersky Scan Engine
    • The Kaspersky Scan Engine service (from the list of services)