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:
- Make sure you have root (administrator) privileges.
- Go to a directory other than
%service_dir%
and rununinstall
from there, for example, from the command line.If there is a Kaspersky Scan Engine instance running on the computer, the uninstaller stops it.
- 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 Enginekavebase
database will be removed. If you want to re-install Kaspersky Scan Engine, remove thescanengine
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)
- The database that contains Kaspersky Scan Engine data (if you have chosen this)