Macro (or GUI) continue to work while the Remote Desktop is closed

Macro (or GUI) continue to work while the Remote Desktop is closed

avatar
OncleQ
Disabled

Hello :)

I am running a 24/7 macro which uses image search, movement and mouse click functions. But I wish I could do it without running my computer.

I run this macro on a VPS that I run with an RDP. Everything works normally.

However, when I close my computer, my internet connection goes down, I close the RDP etc ... Then the macro doesn't work anymore.

I researched for very long hours and I saw that effectively closing its RDP, "killed" the GUI.

  • So I found lots of solutions, such as modifying the registry to minimize the RDP window, it doesn't work.
  • Or do an RDP loop using RDP Wrapper and IP 127.0.0.2 for example, the loop works but when I close the first RDP, in the end everything stops.
  • Finally another solution was in fact a BATCH file with a command and the tscon inside allowing to close the RDP connection without killing the graphical interface. but similar it did not work because it changes the size of the screen and therefore the click functions are no longer well proportioned.

So I would like to know if you know of other solutions allowing, I repeat, to run a macro requiring a graphical interface (clicks, image searches), while having closed the RDP?

Thanks a lot for your help !

All Comments (1)

avatar

Hello,
It seems to be a simple problem but it does not appear to have a solution. I've found some other users looking for the same thing but it seems that nobody has a workaround:

https://stackoverflow.com/questions/15887729/can-the-gui-of-an-rdp-session-remain-active-after-disconnect
https://superuser.com/questions/1144853/how-do-i-keep-an-rdp-session-alive-from-the-client-side

Perhaps somebody from the RDM community will have solution for you

Regards

David Hervieux