I am having a similar issue running unattended bots from on premise orchestrator with IE. I have delays in the workflow however I either get could not communicate with browser or if it does open browser with a very long delay, it cant find the element that should certainly be there.
Also when I RDP to the machine I see that the bot has opened multiple windows during the workflow. However when I run it using studio on the server there is no issue.
I’m facing this issue too. Seems like it’s looking for a selector that isn’t present. oddly when I take a screenshot right before the activity, webpage is clearly visible but the UI element that works in attended is not visible in unattended job. However the suggested UI element from exception handling isn’t even available when I rdp in and try to debug in Studio…
Hi fellow UIPathers. I just wanted to pile on and say I have the same issue and have tried Chrome and Firefox which are my go to browsers. Has anyone tried Edge? I hope UIPath has a fix for this as it would be an issue if I always had to have a RDP session open on a laptop.
What I tried was from cmd as administrator, I ran “query session” to get my Session Name. Then ran " %windir%\System32\tscon.exe RDP-Tcp# NNN /dest:console" substituting my Session Name for “RDP-Tcp#NNN” e.g. %windir%\System32\tscon.exe rdp-tcp#35 /dest:console which kicked me out of my session as expected. Then from orchestrator I kicked of my job and the bot still hangs on browser input for username and password for my web app. I know that both username and password type into’s use simulate type and the click on login uses simulate click. But this doesn’t work, has anyone had any success with tscon.exe? Or anyway to get GUI interation to work while an RDP session is disconnected?
Best regards.
Allow me correct myself, using tscon.exe does work but it took some doing to go through my process and make sure every interactive activity was using either simulate click/type or send windows message. Also, just disconnecting from the RDP session did not work for me, I had to use the tscon.exe method to disconnect. For my robot in settings, the Login to Console had to be set to No. One of the feature that helped meet track down were the process was hanging up and timing out was to set the robot settings for Logging Level to Trace. Then in Automations => Logs, or for the Job, you can click on the more icon (the 3 vertical dots on the right) and click View Logs. Having the bot’s Trace on gave me the detail I needed to figure out where in my process I needed to change the click or type to simulate or windows message.
One other thing. As far as I can tell this only works for RDP. I tried with VMWare VDI and it doesn’t work. When I used query session got get the session name, the rdp-tcp session name has no #number on it and tscon.exe doesn’t like it. I believe if seen there’s some VDI settings that can be tweaked but in my environment I need to get some admins to help me out with that.
Hope this helps anyone who had been struggling with running their bots totally unattended.
Hello everybody! I have possible solution for your case:
As far as I understood, when Orchestrator open RDP session to unattended bot machine - it don’t use hardware acceleration. As you can find on some other forums, in this case Chrome could not working properly, as it using gpu by default.
You can try to find gpu settings at chrome://flags/ and also try to run chrome.exe with key --disable-gpu
I have the same problem too. I have solved the problem using IE but our system will not use IE anymore. That is why i have to migrate it to the chrome which is only compatible browser. We never update chrome since august 2019 by the way. Some websites or apps are working properly but many of them are not working properly.
Something you can try - go to add or remove programs - tick the box “Register Uipath Robot as Windows Service” and click change to update configuration.
Thanks @bcorrea . This was the setting that I was missing.
Before turning off “log in console” whenever I started my process from Orchestrator (to test its execution) my RDP session was “stolen” and I couldnt see my automation running.
After I set it to ‘off’ my RDP session is no longer being closed and I can see the automation running and now it is running successful. Thanks for the community!