Please help! I have been working on UiPath automation for a few weeks now and have been stuck on this issue for a while. The program I am writing works when the computer is logged into but is suppose to also work in unattended mode. The problem is that no matter what I try, Computer vision and Use Application / Browser both throw errors saying “Cannot bring target to foreground because computer is locked”. I have switched them multiple times. This robot is also set up for unattended mode as there are other applications that run in Unattended mode using this same robot and computer. I am at a loss as what is causing this issue. I am new to UiPath so it could just be something simple with the settings.
UI automation is never going to work on a locked computer. You aren’t supposed to log in and then lock, that’s not how unattended works. Sign out of the RDP session completely and let Orchestrator establish its own RDP connection.