Running Kaspersky Endpoint Agent database and module update
To update the Kaspersky Endpoint Agent application database and modules using the command line interface:
On the device, run a command line interpreter (for example, Command Prompt cmd.exe) with the permissions of the local administrator.
Using the cd command, navigate to the folder where the Agent.exe file is located.
For example, enter the command cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\" and press ENTER.
Run the following command and press ENTER:
agent.exe --update=bases|modules [--source=<addresses of custom database update sources separated by semicolons without spaces>|kl|ksc]
Command parameters when running Kaspersky Endpoint Agent database update
Parameter
Description
--update=bases|modules
Required parameter.
Allows you to specify the type of update:
--update=bases starts the application database update.
--update=modules starts the application module update.
--source=<addresses of custom database update sources>|kl|ksc]
Optional parameter.
Allows you to select a database update source.
--source=<addresses of custom database update sources> allows you to select the Custom HTTP or FTP servers or network folders option for the database update source and specify the path to the network folder or the IP, FTP or HTTP-address of the server from which the application will download database updates.
You can specify several addresses of custom database update sources, separated by semicolons without spaces (";"). The application will download updates from the first available database update source. If no addresses are available, the task will fail.
--source=kl allows you to select the Kaspersky update servers option for the database update source.
If the servers are not available, the task will fail.
--source=ksc allows you to select the Kaspersky Security Center Administration Server option for the database update source.
If the Administration Server is not available, the task will fail.
Return codes of the --update=bases command:
-1 – command is not supported.
0 – command successfully executed.
1 – required argument is not passed to the command.
2 – general error.
4 – syntax error.
8 – permission error.
200 – all objects are valid.
-206 – update files are not available in the specified database update source or have an unknown format.
-209 – error connecting to the database update source.
-232 – error connecting to the proxy server.
-234 – error connecting to Kaspersky Security Center.