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 File, Terminal Sessions, Screen Information, Third Party Installations, Environment Variable, Log Files, and Event Logs.
- Open an elevated command prompt instance.
- Use the
cd C:\Program Files (x86)\UiPath\Studiocommand to navigate to the designated folder.
- Run the utility with the
UiPath.DiagTool.exe -providers=procs --procs.extra=UiPath.Service.Host, installs, logs -file C:\Automation Logs\ExecStop.zipcommand. This generates a standard report file which contains information collected by the specified providers and creates the
ExecStop.ziparchive in the
C:\Automation Logsfolder. You can find out more about providers here.
- Navigate to the folder provided at the previous step and extract the
ExecStop.ziparchive. Inside you find the log files for UiPath Processes, UiPath Installation, as well as Studio and Robot. 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 Process provider: