Subscribe

UiPath Studio

The UiPath Studio Guide

The UiPath.DiagTool Utility

UiPath.DiagTool.exe is a command line utility that collects various debugging information related to the OS, session, or UiPath installations such as identification information, settings, and logs. It is meant to be used by support, QA, and development teams.

The utility is located in the Studio installation folder (C:\Program Files (x86)\UiPath\Studio) and needs to be run from the command line.

The amount of information which is provided depends on your system privileges. For instance, if you are the system administrator, the generated log contains full details about the system, whereas a user with limited privileges only receives information at a lower depth level. These logs also come in handy if you contact support, and it is recommended to attach them if you submit a ticket.

Information is delivered by providers. They collect logs from different types of UiPath Platform events so that you better understand possible automation issues, debug processes, or attach logs if you contact support. You can find out more about providers here, but in short, they are as follows: UiPath Installations, Computer Information, UiPath Processes, Settings Files, Terminal Sessions, Screen Information, Third Party Installations, Environment Variable, Log Files, and Event Logs.

Example of Using the UiPath.DiagTool Utility

  1. Open an elevated command prompt instance.
  2. Use the cd C:\Program Files (x86)\UiPath\Studio command to navigate to the designated folder.
  3. Run the utility with the following command: UiPath.DiagTool.exe -providers=installs,logs,procs --procs.extra=UiPath.Service.Host -file "C:\Automation Logs\ExecStop.zip". This generates a standard report file which contains information collected by the specified providers and creates the ExecStop.zip archive in the C:\Automation Logs folder. You can find out more about providers here.
  4. Navigate to the folder provided at the previous step and extract the ExecStop.zip archive. The archive contains log files for UiPath Processes, UiPath Installations, .etl files, as well as Studio and Robot Executor logs. Check out the table of available providers for more details. The image below is an example of a generated log file, in this case for the UiPath Processes provider:
687

Updated 3 years ago

The UiPath.DiagTool Utility


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.