Process not running with locked screen


When I am trying to run the process from ORchestrator, it is showing below error. Could somebody help?

Piyush Tilara

You either need to us an Unattended Robot with the Robot installed and registered as a Service, or you need to have the Session Unlocked when interacting as a foreground process.


Automation processes that use UIAutomation activities cannot run under a locked screen.

Background vs Foreground generally apply to Attended Robots though I believe there are some nuances to their behavior when running under an Unattended Robot.

if you do not require the Robot to be attended ensure that it is setup as an Unattended Robot and that the Robot installation is registered as a Service on the host machine.

Hello @tilarapiyush
If need to automate in locked screen, you need an Unattentented license for the bot.
If you have, kindly watch the video,

Gokul Jai

Hi @tilarapiyush

Do you have Unattended License

If yes, Check the Service Host is required

  1. Have you installed the Bot which you are running as un attended from orchestrator by using MSI installer since we must install the bot with service mode since service mode bot is required for unattended automation.
  2. Make sure that you assigned un attended bot license for the Bot(VM) which you are trying to run your process un attended.

Have a look on the Thread