Without connecting EC2 VM

Is it possible that real user simulation and desktop automation can run as a task in EC2 Vm without connecting. It is starting the macro but OCRExtract method couldn’t find the image. When I connect to EC2 and watch the macro, it works otherwise not. (I did autologin). Is there any idea how to do

If you do autologin, the UI Vision scripts run fine. I have many of them running on Windows and Linux EC2.

But: For Windows only: If you then log into the machine with RDP, do some work, and aftwards disconnect RDP, it locks the screen and the visual macros will fail. Solution:

  • Simply reboot machine after RDP disconnect

  • Or: Disconnect with %windir%\System32\tscon.exe RDP-Tcp#NNN /dest:console

1 Like

Thank you so much your answer I have to solve this issue.
When I reboot the server and start the task from another server remotely. Macro is starting, but it gives error that image couldn’t find. Do you have any idea how can I solve?