Starting, stopping and viewing the current application status

This section 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 start, stop, or view the current Kaspersky Endpoint Agent status 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, enter the command cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\" and press ENTER.

  3. Run the following command and press ENTER:

    agent.exe --product=<start|stop|state> [--pwd=<current user password>]

    Command parameters when starting, stopping, and viewing the current state of Kaspersky Endpoint Agent

    Parameter

    Description

    --product=<start|stop|state>

    Allows you to start, stop, or view the current application status.

    • --product=<start> – starts the application.
    • --product=<stop> – stops the application.

      If password protection is configured for the application, a password is required to execute the --product=<stop> command.

    • --product=<state> – displays the current state of the application: started or stopped.

    --pwd=<current user password>

    Allows you to specify the password of the user whose account is used to execute the command.

Return codes of the --product=<start|stop|state> command:

Page top