I’m trying to do simple UiPath things like typing and clicking, which can be done with Remote, but when I exit Remote, an error comes up saying “Cannot bring the target application in foreground because the Windows session is locked.”
Hi @Sarttra
You can run the bot in Background in windows server if it is locked.
Enable the Login Console option in Orchestrator.
Follow the step by step Process to enable the Login Console,
→ Login to Orchestrator → Go to Tenant → Navigate to Folders tab → Select the folder → In Accounts & Groups click on 3 dots on the Account → Click on Edit Tenant Role & Robot option → Navigate to Robot Settings → Find Login Console option enable the toggle button and select the Yes option → Hit on Update.
This will sort out your query.
Check the below image for better understanding,
Happy Automation!!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.