Computer Vision and Use Applicaiton / Browser not working on Locked windows computer

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.

Thanks,
Noah

could you try disconnecting from the rdp first?

image

a sign out from the start menu.

other connected users/not correctly disconnected might interfere with the rdp orchestrator communication.
let me know if this works

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.

This worked! Thank you both. Signing out manually and letting our remote desktop “Logout” for us was the issue. Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.