Kaspersky Endpoint Agent

Managing Kaspersky Endpoint Agent authentication

November 17, 2023

ID 226281

To manage application authentication using the command line interface:

  1. On the device, run a command line interpreter (for example, Command Prompt cmd.exe) with the permissions of the local administrator.
  2. 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.

  3. Run the following command and press Enter:

    agent.exe --proxy={enable|disable|show} --mode={auto|custom} --server=<proxy server address> --port=<port number> --use-auth={yes|no} --proxy-user=<user name> --proxy-password=<user password> --bypass-local={yes|no}

The authentication parameters are described in the following table.

Authentication parameters

Parameters

Description

--proxy={enable|disable|show}

Required parameter.

This parameter controls the connection to the proxy server.
The following values are available:

enable – enables proxy server usage.

disable – disables proxy server usage.

show – displays the current proxy server usage settings.

The specified proxy server will be used to work with Kaspersky Security Network and to update databases.

The settings of the specified proxy server can be used for integration with other statistics collection systems. The use of the specified proxy server must be separately enabled in the integration settings.

--mode={auto|custom}

Required parameter.

This parameter sets the proxy server configuration mode.
The following values are available:

auto – automatic detection of the proxy server.

custom – manual configuration of the proxy server access parameters.

--server=<proxy server address>

Required parameter.

Specifies the proxy server address.

--port=<portport number>

Required parameter.

Specifies the proxy server connection port.

--use-auth={yes|no}

Optional parameter.

This parameter indicates whether proxy server authentication is required.
The following values are available:

yes – user name and password must be specified to connect to the proxy server.

no – connection to the proxy server is possible without specifying a user name and password. Used by default.

--proxy-user=<useruser name>

Optional parameter.

Specifies the user name to connect to the proxy server. Empty by default.

--proxy-password=<user password>

Optional parameter.

Specifies the password to connect to the proxy server. Empty by default.

--bypass-local={yes|no}

Optional parameter.

This parameter toggles a direct connection to local addresses without using a proxy server.
Available values:

yes – connections to the addresses of the current local network will be established without a proxy server. Used by default.

no – connections to the addresses of the current local network and to external addresses will be established through a proxy server.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.