This section describes how to manually install Kaspersky Scan Engine on Windows systems.
To install Kaspersky Scan Engine manually:
C:\Program Files\Kaspersky Lab\ScanEngine
folder. This folder is called %service_dir%
in this Help document. %service_dir%
folder on your system.%service_dir%\doc\license.txt
.If you agree to the terms of the EULA, proceed to the next step. If you decline the terms of the EULA, cancel the installation.
%service_dir%\bin\klScanEngineUI.xml
.<Common>rejected</Common>
to <Common>accepted</Common>
in the klScanEngineUI.xml file.If you agree to the terms of the EULA for KSN and the Privacy Policy, proceed to the next step. If you decline the terms of the EULA for KSN or the Privacy Policy, proceed to step 9.
<KSN>rejected</KSN>
to <KSN>accepted</KSN>
in klScanEngineUI.xml.%service_dir%\bin\klScanEngineUI.xml
.%service_dir%\bin\kavhttpd.xml
. BasesPath
and the TempPath
element specify the full path to the %service_dir%\bin\bases
directory and to the directory that contains temporary files used by Kaspersky Scan Engine, respectively. Save and close the file.
|
Note that if the full path to the configuration file contains a space character, you have to add a quote mark ("
) after the slash (\
) mark. Example: C:\Program Files\Kaspersky Lab\ScanEngine\bin>sc create "Kaspersky ScanEngine" binpath= "C:\Program Files\Kaspersky Lab\ScanEngine\bin\kavhttpd.exe -c \"C:\Program Files\Kaspersky Lab\ScanEngine\bin\kavhttpd.xml\""
Enabling Kaspersky Scan Engine GUI
To enable Kaspersky Scan Engine GUI:
-U
parameter. scanengine
:CREATE USER scanengine;
scanengine
user:ALTER USER scanengine WITH PASSWORD '%PASSWORD%';
kavebase
:CREATE DATABASE kavebase OWNER scanengine;
kavebase
database run the queries described in %service_dir%\samples\tables.sql
.psql -d kavebase -a -f tables.sql
%service_dir%\bin\klScanEngineUI.xml
.<EnableUI>false</EnableUI>
to <EnableUI>true</EnableUI>
.<ConnectionString>
element, specify the address of the Kaspersky Scan Engine GUI web service in %IP%:%port%
format.For example:
<ConnectionString>198.51.100.0:443</ConnectionString> |
<SSLCertificatePath>
element, specify the path to your SSL certificate.<SSLPrivateKeyPath>
element, specify the path to your private key.%service_dir%\tools\openssl
utility as follows:
|
Here %ConnectionString%
is the value that is specified in the <ConnectionString>
element. It is recommended to use the values rsa:4096
or rsa:3072
with the -newkey
parameter. The minimum supported value is rsa:2048
.
To encrypt the credentials, use the kav_encrypt utility. This utility also automatically writes the encrypted user name and password to klScanEngineUI.xml
. The utility is located in the %service_dir%\tools\
folder.
Run the kav_encrypt utility with the following options:
-d %username%:%password% |
DatabaseSettings > ConnectionString
element, specify the address of the kavebase database in format %IP%:%port%
.%service_dir%\bin\klScanEngineUI.xml
.sc create "Kaspersky ScanEngine UI" binpath= "%service_dir%\bin\klScanEngineUI.exe --svc" start= auto DisplayName= "Kaspersky ScanEngine UI" |
sc start "Kaspersky ScanEngine UI" |