This section describes how to manually uninstall Kaspersky Scan Engine.
To manually uninstall Kaspersky Scan Engine:
Make sure that you have administrator privileges.
Stop Kaspersky Scan Engine, run the following command:
sc stop "Kaspersky ScanEngine"
If you use Kaspersky Scan Engine UI, run the following command:
sc stop "Kaspersky ScanEngine UI"
If you added Kaspersky Scan Engine to the list of Windows services, delete it by running the following command:
sc delete "Kaspersky ScanEngine"
If you used Kaspersky Scan Engine GUI and added it to the list of Windows services, delete it by running the following command:
sc delete "Kaspersky ScanEngine UI"
If you use Kaspersky Scan Engine GUI, open the PostgreSQL database and execute the following query:
DROP DATABASE kavebase;
To remove the scanengine database user, run the following command:
DROP ROLE scanengine;
Remove the %service_dir% directory. You can do this either by using Windows Explorer, or by running the following command:
del /F %service_dir%
Remove the directory that contains temporary files used by Kaspersky Scan Engine. You can do this either by using Windows Explorer, or by running the following command: