How to capture Environment Variables of UiPath.Executor.exe using Process Explorer?

How to capture environment variables of UiPath.Executor.exe using Process Explorer

Introduction:

In some instances, it might be required to capture the environment variables set for a particular executable while working with UiPath to understand the current configurations/setup. This article provides step-by-step instructions on how to do this using Process Explorer, focusing specifically on the 'UiPath.Executor.exe' process.

Prerequisites:

Before getting started, ensure to have Process Explorer installed on the machine. If not yet performed, it can be downloaded from the official Microsoft website.

Steps to Capture the Environment Variables

  1. Open Process Explorer: Start the Process Explorer. A list of currently running processes will be presented

  2. Locate 'UiPath.Executor.exe': Find 'UiPath.Executor.exe' in the list of processes. This can typically be found under the 'Processes' tab. If it is not immediately visible, expand the 'Details' view or use the search function

  3. Access 'Properties': Right-click on 'UiPath.Executor.exe' and select 'Properties' from the context menu

  4. Go to the 'Environment' Tab: In the 'Properties' dialog box, navigate to the 'Environment' tab. Here, the environment variables for the selected process will be displayed

  1. Capture the Information: Write down the environment variables manually or take a screenshot for reference.


Important:

  1. Run Process Explorer as Administrator. While the data can be extracted for environment variables using Process Explorer without Administrator rights, it may not be as comprehensive or up-to-date as it would be with elevated permissions
  2. Ensure the UiPath Executor is running while performing these steps - 'UiPath.Executor.exe' will not be present in Process Explorer's process list if it is not running.

Note: Although this guide focuses on 'UiPath.Executor.exe', the steps provided can be applied to the environment variables of any executables associated with UiPath.