UiPath Studio Guide

Argument Descriptions for the UiPath.DiagTool Utility

To use the tool launch an elevated instance of the Command Prompt and navigate to the tool location by using the cd C:\Program Files (x86)\UiPath\Studio command. You can use it with the following arguments:



Retrieves info about the specified provider(s). Here, [Value] represents one or more comma-separated providers. Please check the available providers table below to learn more.

  • -providers=all - Retrieves info about all providers.
  • -providers=procs.extra=UiPath.Service.Host, screen, computer - Retrieves info about the UiPath.Service.Host process, the screen information (setup, resolution), and general OS and computer ID information.


The path of the Logs.zip file which contains all requested info from providers.

  • -file=C:\WorkLogs\ProcsAndSettings.zip - Creates the ProcsAndSettings.zip file in the C:\WorkLogs folder, containing all your requested logs.
    This command can also be used with -cwd. However, the -file command only needs to contain the name of the .zip file.
  • -file=ProcsAndSettings.zip -cwd - Creates the ProcsAndSettings.zip file in the Studio installation folder.


Displays the full report in the console instead of a summary.


Used along with the -file=ReportFiles.zip command to create the .zip file to the Studio installation folder instead of a custom path.

-q, -quiet

Silently retrieves requested logs, with minimal console output.

-h, -help

Displays the list of supported commands.

Available Providers

Provider Name
Retrieved Information

UiPath Installations


Retrieved info about UiPath product installations. Such as installed Studio version, Studio and Robot installation paths, and License information.

Computer Information


Retrieves general OS and computer ID information, such as computer name, domain, OS type and version, and user global proxy.

UiPath Processes


Retrieves information about UiPath running processes, such as Robot Service, Agent, and Executor diagnostics and resource impact.
-providers=procs - Retrieves info about all running UiPath processes, such as path, arguments, user, session, platform, resource consumption.-providers=procs --procs.extra=UiPath.Service.Host - Retrieves info only about the UiPath.Service.Host process, such as path, arguments, user, session, platform, resource consumption.

Settings File


Retrieves info about the connection between Orchestrator and the Robot at based on a specific timeout value, such as the UiPath.settings file. By default, the timeout value is set to 4000 milliseconds if the -providers=settings command is used alone.
-providers=settings - Retrieves info with the default timeout value.
-providers=settings --settings.timeout=30000 - Retrieves info with the timeout value of 30000 milliseconds.

Terminal Sessions


Retrieves info about running Terminal Server sessions.

Screen Information


Retrieves screen information (such as setup and resolution) for the current desktop.

Third Party Installations


Retrieves info about third party product installations.

Environment Variable


Retrieves environment variables pertaining to UiPath, such as variable name, path, and value.

Log Files


Retrieves log files related to the Robot Executor, Studio, and .etl files. By default, only the last 10 Robot Executor logs, 10 Studio logs, and the latest .etl file are retrieved from the desktop if you use the -providers=logs command alone.
-providers=logs - Retrieves the default number of log files for Robot Executor, Studio, and the latest .etl file from the desktop.
You can also specify the exact number of logs to retrieve:
-providers=logs --logs.exec_cnt=50 --logs.studio_cnt=30 --logs.etl_cnt=3 - Retrieves the last 50 Robot Executor logs, 30 Studio logs, and 3 .etl files from the desktop.

Event Logs


Retrieves relevant events from Windows Event Log.

Argument Descriptions for 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.