Even though remote desktop has not locked manually or automatically,I’m getting this error while performing some Ui actions in remote desktop. I want to know how to handle this error.
Could anyone please suggest solutions regarding this issue.
Hi
how are you connecting to RDP?
It happens to me as well cause I am connected through VPN, if VPN drops then error message will appear
hope this will helps you
I’m connecting through desktop only. I have attached the error pop up message in this.
Issue is while Robot is performing some UI actions on my application, I got this error.
Note:- RDP is not disconnected its in active state only…
I am also getting same error while running process form Orchestrator (using credentials). and getting this error sometime. Please help to resolve this.
Desktop has been disconnected while performing UI actions
This occurs when a user is connected with RDP to the Robot machine and the RDP disconnects at some point. We recommend to sign off all the users from the Robot machines before executing a job.
Note: If a RDP connection is started on the robot machine and this machine lose internet connection (even for few seconds), the robot will throw “Desktop has been disconnected…”
I found a way to execute a robot on a remote machine without having to remain connected to it through Remote Desktop Connection and I thought I would share. I created a batch file that contains the following:
for /f “skip=1 tokens=3” %%s in (‘query user username’) do (
%windir%\System32\tscon.exe sessionname /dest:console /password:password
)
exit
This disconnects the user from the remote machine but doesn’t lock the machine, which allows programs, including the robot, to continue to run. The batch file must be run as administrator, after the robot is started. These links provide more information: here and here.
It goes without saying this is far from an ideal solution, so tread carefully.
Hi! I’m facing the same problem right now, I’m working with Citrix. My artifact works with images, it’s developed on my computer and opens the virtual machine through Citrix.
If anyone know how to solve this issue or has solved this issue before, please tell me! It would really appreciate it.