Orchestrator Job Error: E_ACCESSDENIED

When starting a job from Orchestrator, the following error is encountered:

“Could not start executor. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”

In older version of UiPath you may encounter the error:

"Executor start process failed, reason System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”

Diagnosing the problem

When starting a process from Orchestrator, the UiPath Robot Service has the responsibility of creating the Robot User Windows session (logging the Robot onto the machine) and starting the Robot process.

In order to be able to do this, the UiPath Robot Service needs special permissions that are usually restricted to the “Local System” account on the windows machine. If this error is encountered, it is because the account that is used to run the UiPath Robot Service does not have adequate privileges.

Important: The UiPath Robot Service is a different component then the Robot. Changing the account use to run the UiPath Robot Service does not require any changes to the Robot User account.

To diagnose the problem, do the following:

  1. You will need an administrator to resolve this problem.
  2. Open “run” and type “services.msc”.
  3. In services application, search for the UiPath Robot service and make sure that under the “Log On As” services column it is set to “Local System”
  4. If the “Log On As” column is not set to “Local System” go to the Change Log On As Setting section.
  5. If the UiPath Robot Service is set to “Local System”, then please open a support request with UiPath.


Change Log On As Setting
  1. You will need an administrator to resolve this problem.
  2. Open “run” and type “services.msc”. (if not already open)
  3. Right click the UiPath Robot service and select properties.
  4. Go to the “Log On” tab.
  5. Select “Local System account” and click OK
             
  1. After selecting OK, right click the UiPath Robot Service again and select “Restart” in the dialog menu.
             
  1. By default, the UiPath installer will set the UiPath Robot Service to run as the “Local System” account. If the UiPath Robot Service was not using the “Local System” account, work with an admin to understand how and why it was changed.
  2. If the issue persists, please up a support request with UiPath.