Running Kaspersky Scan Engine in HTTP mode with a BAT script (Windows)

Kaspersky Scan Engine dIstribution kit includes a BAT script that allows you to manage the kavhttpd service and the klScanEngineUI service.

This script will not work if you manually added the kavhttpd service to the list of Windows services.

The script is run from the command line.

Syntax:

kl_control.bat start | stop | restart | status | help

The table below describes the kl_control.bat options. If you specify more than one option, the script will execute the first one and exit.

The kl_control.bat options

Option

Description

start

Starts the kavhttpd service. If Kaspersky Scan Engine GUI is enabled, also starts the klScanEngineUI service.

stop

Stops the kavhttpd service. If Kaspersky Scan Engine GUI is enabled, also stops the klScanEngineUI service.

restart

Stops and restarts the kavhttpd service. If Kaspersky Scan Engine GUI is enabled, it also stops and restarts the klScanEngineUI service.

status

Checks whether the kavhttpd and klScanEngineUI services are running.

help

Shows Help.

The kl_control.bat script prints an error message if an error occurred when you tried to stop or start the kavhttpd service. If you receive an error message, you can check the state of the kavhttpd service or the klScanEngineUI service by using Windows Task Manager.

Page top