Configuring creating a dump of Kaspersky Endpoint Agent processes
August 27, 2024
ID 193449
To configure the creation of dump files of Kaspersky Endpoint Agent processes 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, enter the command
cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\"
and press ENTER. - 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, orfalse
, if creation of dump files is disabled) anddump.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).