Running bots from a SaaS Orchestrator on a VM requires the ability to execute tasks while the RDP window is blocked or closed. Find out more information about How to work with blocked RDP window
Connect VM1 to Orchestrator SaaS and start the workflow on VM1. Configure the terminal client on VM2 as described in this article. After that, connect from the developer’s machine (VM0) to VM2, and from VM2 to VM1. The next step is to close the connection M0 to M2, without closing the connection VM2 to VM1. After that, you can run bots through Orchestrator SaaS.
Method 2. Creating a bat file
The idea is to create a BAT file with the following content:
for /f "skip=1 tokens=3" %%s in ('query user %USERNAME%') do (
%windir%\System32\tscon.exe %%s /dest:console
)
Run it as Administrator instead of closing the session in the terminal. After it has started, you will get a message saying that “another user is logged into the session” and the RDP window will close. You will be able to run robots, including those working with interface elements.
Hi Daniele, the system that you are automating is a Desktop or Web system? If its Web, you could set the browser as “Chrome Selenium” and in this case you could run the workflow and interact with elements even if the browser is minimized. For the desktop system, if your automation interact with the interface elements, the system would need to be maximized.
But if you are asking about running with a closed/minimized remote desktop connection, you can check above the two ways of doing it.
Hi Renan! My workflow uses a mix of the two. The first part takes place on chrome to download documents: at the time of “Save As” I have to take the name of the document shown (a random name is generated) with the activity “get element value” but if the window is minimized can not take this value. Method 1 is not recommended, I have to create a VM for each user with BOTRUNNER (they use SSO systems), the second I have no administrative privileges
Hi Daniele,
We have developed a solution that allows you to rdp where the bot runner is, whether it is minimized or offline, using a small linux server. Run your automations without worrying about what state the bot runner session is in.
I need manage several bots with sessions on all states (rdp minimized, offline …) and SaaS Orchestrator RDP solution does not answer everything.
Because of that we wrote an application that meets what we needed.
@RODPOLUEN, please check the following video I recorded some time ago for the RDP Connection feature: RDP Connection feature - Test
Hope this works for you!
This is great information! Thank you all for your input! I noticed in our account that it says that RDP is currently in beta mode and is currently available to all users. However, within roughly two months, it will be exclusive to gold and silver customers. If we are not gold or silver, is the only way to run a bot on the local computer–or is there another way? Thank you in advance!