Managing Kaspersky Endpoint Agent using the command line interface
13 September 2022
ID 193447
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.
Kaspersky Endpoint Agent can be managed using the command line interface. The functionality of the command line interface is provided by the Agent.exe utility. The Agent.exe utility is included in Kaspersky Endpoint Agent distribution kit and is installed on each device together with Kaspersky Endpoint Agent. It is installed to the %ProgramFiles%\Kaspersky Lab\Endpoint Agent
folder (if 32-bit operating system is used on the device) or to the % ProgramFiles(x86)%\Kaspersky Lab\Endpoint Agent
folder (if 64-bit operating system is used on the device).
Example: If the device has x64 Windows operating system installed and you select to install Kaspersky Endpoint Agent on drive C, the Agent.exe utility is placed to the following folder:
|
To manage Kaspersky Endpoint Agent 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. - Type the following command:
agent.exe --<application setting you want to configure>=<action on the setting you want to execute>
and press ENTER.The command execution result (return code) is displayed.
To display help on all the application settings and their possible values,
run the following command: agent.exe --help