How To Run UiPath Remote Runtime as Administrator with Task Scheduler?

How to run UiPath remote runtime run as administrator?

Issue Description

Users may need to run UiPath Remote Runtime as an administrator, which can be achieved with the help of the Windows Task Scheduler.

Resolution

Important Factors & Precautions:

  • Ensure provided account credentials possess the necessary administrative permissions for the task to run with elevated privileges.
  • Adjusting UAC settings and carrying out tasks with heightened privileges could impact system security. Proceed with this knowledge in mind.
  • Ensure the correct path for the UiPath Remote Runtime .exe file has been assigned in the "Actions" tab.
  • Be aware this task will operate based on set trigger conditions. Ensure these conditions do not conflict with or disrupt other necessary system operations.


Before proceeding, please consider:

  • User Account Control (UAC) might affect these tasks. Deactivation may be necessary which could reduce system security.
  • The UiPath Robot account requires administrative privileges on the system.


Steps:

  1. Open Task Scheduler from the Start menu.
  2. In Task Scheduler, select Create Task... in the right-hand Actions panel.
  3. A dialog appears. In the General tab, apply these configurations:
    • Appropriate task name
    • Select "Run whether user is logged on or not".
    • Check "Run with highest privileges".
    • Choose the relevant operating system in the "Configure for" dropdown menu.
  4. Access the Triggers tab and click on New... to establish a new trigger. Configure the trigger's initiation time and ensure "Enabled" box is checked.

  5. Navigate to the Actions tab and select New.... In the dialog that emerges, in 'Program/script', browse and add UiPath Remote runtime.exe. Provide the directory path where runtime.exe resides in the 'Start in' field (excluding runtime.exe).

  6. Implement the changes and select OK. Credentials of the user account that possesses administrative privileges will be required. Supply these, and the task will run according to the specified configurations.