Running a robot unattended not working if screen locked

Robot running from unattended robot if RDP session is active but once it is locked or disconnected, it stops.

Please help.

Thank you.

This means, the unattended robot, behaving as attended/development robot. The robot settings will be the key here. Make sure you have Login to console is selected with No and resolution settings is on and values for Width and height are given with Development machine display settings.


Sorry i missed the screen shot


Thank you for the reply. I will try this.

1 Like

If it works, please mark it as solution.

It did not. Please advise further :slight_smile:

Please provide more details about your setup. These symptoms can be caused by your UiRobot configuration, Machine/host configuration, or how the process is designed.

Are you starting a job with an unattended robot in a truely unattended mode or do you have it connecting to an active user session on your local or remote host?

If you are connecting to an existing session you must keep it logged in and unlocked otherwise it will interfere with the execution. This applies if you are RDPing into the remote host on the same session including minimizing the RDP session window.

If you are connecting to a remote session with an active job and want to disconnect without waiting for the job to complete, you should be able to redirect the session back to the local console using the tscon command.

Is your UiRobot registed as a service or is it installed in user mode?

There are a few other reasons I can think of, but it would be easier to diagnose if we are provided with more information.

It turns out the licence type was “studio” and not unattended :slight_smile: