Running Kaspersky Endpoint Agent database and module update
This Help provides information related to Kaspersky Endpoint Agent for Windows. This information may be partially or completely inapplicable to Kaspersky Endpoint Agent for Linux. For complete information about Kaspersky Endpoint Agent for Linux, please refer to the Help of the solution that includes the application: Kaspersky Anti Targeted Attack Platform or Kaspersky Managed Detection and Response.
To perform Kaspersky Endpoint Agent application database and module update 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, you can type the following 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 space>|kl|ksc]
Command parameters when running Kaspersky Endpoint Agent database 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 as database update source and specify the path to the network folder or IP, FTP or HTTP-address of the server from which the application downloads database updates.
You can specify several addresses of custom database update sources separated by a semicolon without a space (";"). The application will download updates from the first available database update source. If all addresses are not available, the task will fail.
--source=kl allows you to select the Kaspersky update servers option as 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 as 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.