Unattended bot is not working under lock screen

dear sir,
actually I used free community version and I developed one unattended bot to download the report from one bank portal and attach image on that same portal. and I also schedule bot at morning 3 am but bot is not worked under lock screen. its only open the browser and gives error like “cannot bring the target application in foreground because window session is locked”. please suggest solution.

Hi @Rahul_Thombare

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.

Check out this thread

Regards
Gokul

actully i am fresher so pleses can u give solution in detail

HI @Rahul_Thombare

Go to the Task manager → Details and see whether do you have these running in your system

Check out this video link @Rahul_Thombare

Regards
Gokul

1 Like

@Rahul_Thombare ,
Please install the robot in service mode,
You can go to control panel> Uipath> right click and click repair

Then installation window will come , then check Service mode in the installation window

@Rahul_Thombare
Go to Control panel → Find Uipath and click on change /repair
You will be directed to this kind of page and you need to click on the service mode and then reinstall it again

image

After reinstalling check do to have UiPath.Service.Host.exe is running if yes your issue is solved you check now

Regards
Sudharsan


I got something different

So you arent running the bot unattended. You are running it attended and the bot cannot work under a lock screen. Its also just some basics of how Windows works. It doesnt draw the stuff on the screen when the screen is locked which can block a bunch of RPA stuff from working.

An attended bot is just a bot that runs on a session you are in control of.

As others have demonstrated you install UiPath as a service and ideally use a VM where the bot can log on itself as required.

Hi can i confirm this is a VM where you have the robot in? Normally, you forgot to click on some other properties in the CLICK activity such as simulate click.

Can you check the property?

hI @Jon_Smith
Most probably i think we can modify the mode only with the enterprise version

Regards
Sudharsan

1 Like

No, attended mode vs unattended depends on how you install and set up the assistant and machine.

They need to install it as a service, as others have said, and set the robot to be able to run unattended. Just installed Studio and Assistant and scheduling a job doesn’t mean its unattended, thats still an attended bot as you must be present and logged on whilst it runs, aka, you must attend the job running.