Could Not Start Executor. The Requested Resource Is In Use

How to resolve the error "The Requested Resource is in Use" . (Exception from HRESULT: 0x800700AA) received while running the multiple Robots on the same machine simultaneously?

The error “The Requested Resource is in Use” occurs when the Robot Service in the Robot machine, where the job is triggered is unable to create a user session.

This can be due to the fact that there is already a Job which is being executed on the Robot with the same user or a different user, which is keeping the Robot machine busy. Try the below settings, which will keep the Job in the Pending state in case the Robot is busy.

  1. Login to Console is not set to No. Set it to No in the Robot settings as given in the below screenshot.image005.png
  2. Ensure that the machine has enough CAL license available and it is possible to login manually using RDP for multiple users simultaneously.
  3. Sign out from the system instead of directly disconnecting it, so that all the resources are released and Robot creates a new session every time the Job is triggered.
  4. Increase the UIPATH_SESSION_TIMEOUT system environment variable on your server. The default value is 60 seconds, which might be insufficient due to slow performance on some machines. Please note that the environment variable is set in Seconds and the Robot Service needs to be restarted after modifying this variable.

A post was split to a new topic: With two bots on the same server , how to run processes simultaneously?

Adding to this - when using high density robots (more than one robot connected to a single machine) you should make sure that all robots connected to a given machine have the Login To Console option set to no :wink: