Running Kaspersky Endpoint Agent database update
To start Kaspersky Endpoint Agent database update using the command line interface:
- On the workstation, run the command line interpreter (for example, Command Prompt cmd.exe) under the local administrator user account.
- Use the
cd
command to change to the directory where the agent.exe file is located.For example, you can type
cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\"
and press ENTER. - Run the following command and press ENTER:
agent.exe --update=bases [--source=<
addresses of user-defined database update sources separated with semicolons without spaces>|kl|ksc]
Command options for starting Kaspersky Endpoint Agent database update
Parameter
Description
--update=bases
Download and apply database updates of updateable components of Kaspersky Endpoint Agent.
--source=<
addresses of user-defined database update sources>|kl|ksc]
Optional option.
Allows specifying a database update source.
--source=<
addresses of user-defined database update sources>
lets you specify a Custom HTTP or FTP servers or network folders database update source and a path to a network folder or an IP address of an FTP or HTTP server that the application will download its database updates from.You can specify multiple user-defined database update sources separated with semicolons without spaces (";"). The application loads updates from the first available database update source. If none of the addresses are available, the task completes with an error.
--source=kl
lets you specify a Kaspersky update servers database update source.If servers are unavailable, the task completes with an error.
--source=ksc
lets you specify a Kaspersky Security Center Administration Server database update source.If the Administration Server is unavailable, the task completes with an error.
Return codes of the --update=bases
command:
- -1 – command not supported.
- 0 – command executed successfully.
- 1 – mandatory argument missing.
- 2 – general error.
- 4 – syntax error.
- 200 – all objects are up to date.
- 8 – access rights error.
- -206 – update files are missing in the specified database update source or their format is unrecognized.
- -209 – error connecting to the database update source.
- -232 – error connecting to the proxy server.
- -234 – error connecting to the Kaspersky Security Center.
- -236 – application databases are corrupted.