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:
%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.
After this the uninstall removes the following objects:
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;