Kaspersky Endpoint Agent

Configuring creating a dump of Kaspersky Endpoint Agent processes

November 17, 2023

ID 193449

To configure the creation of dump files of Kaspersky Endpoint Agent processes 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. Enter one of the following commands and press ENTER:
    • agent.exe --dump=enable --folder <path to the folder where you want to create dump files> enables the creation of dump files of Kaspersky Endpoint Agent processes.

      Creation of dump files will be enabled for all Kaspersky Endpoint Agent processes that are currently running. Dump files will be created in the folder you specified.

      Make sure that the specified folder is available on the managed device. Otherwise, dump files will not be created.

    • agent.exe --dump=disable disables dump creation.

      Creation of dump files will be disabled for all Kaspersky Endpoint Agent processes that are currently running.

    • agent.exe --dump=show shows the current dump creation status and the path to the folder with the dump files.

      The values of the dump.enable (true, if creation of dump files is enabled, or false, if creation of dump files is disabled) and dump.folder (path to the folder) settings will be displayed.

Return codes of the --dump 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.
  • 5 – object not found (unable to find the specified path to the dump files folder).
  • 9 – invalid operation (for example, an attempt to execute the --dump=disable command, if the creation of dumps is already disabled).

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.