How can I open Outlook as a system admin in UiPath?

What may be the cause?

The issue is due to that the target application which you are automating needs a higher privilege to interact with it.

How may I overcome this behavior?

You may have a couple of solutions in this case:

  • Run the target application in a non-elevated mode or low Integrity level after which the UiPath Robot will be able to identify the application elements.
  • Automatically start UiPath Executor as admin (Robot user should have administrator access) suitable configurations should be performed at GPO Level. Check with your IT admin team to perform the changes with your organization’s approval. Be informed that UiPath never recommends starting UiPath as admin, due to security concerns.

UiPath is not recommending the below solution, but you may give it a try. If it is not helping, revert back the modified policies and restart the machine.

Make UiPath Robot interact with the application, running with Admin rights in Unattended mode.

When running the Robot from Orchestrator, UiPath Robot runs without Admin rights and it can only interact with the applications which are running with the same integrity level.

If the target application is running with a higher elevation, the error “Cannot automate the application, as the target application is with elevated mode” is obtained.

In order to automatically start UiPath Executor as admin (Robot user should have administrator access), suitable configurations should be performed at GPO Level. Check with your IT admin team to perform the changes with your organization’s approval. Be informed that UiPath never recommends starting UiPath as admin, due to security concerns.

To run the UiPath service as Admin, make the below changes in policies:

  1. Run gpedit.msc as Administrator to open the Local Group Policy Editor.
  2. Expand Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options.
  • Set “User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode” to Elevate without prompting.
  • Set “User Account Control: Detect application installations and prompt for elevation” to Disabled.
  • Set “User Account Control: Run all administrators in Admin Approval Mode” to Disabled.
  • Set “User Account Control: Only elevate UIAccess applications that are installed in secure locations” to Disabled

  1. After performing these changes, restart the machine.

  2. After the machine starts, make sure that the UiPath Robot service is Running. If it is not running, Start this service and check if the Robot is connected to Orchestrator in order to run your automation.

1 Like