I'm using AutoIt to automate GUI operations (connecting to the machine that's running the to-be-automated app, using RDP). Whenever I minimize the RDP window (using mRemote) no further AutoIt commands are performed.
Maybe the RDP session is marked "inactive" when I minimize the window (I don't know if that's true, nor how to configure this behavior, if so). I'm thinking about 2 options to overcome this:
- Running my process as some elevated user (or a service).
- Finding this configuration which controls whether session is marked inactive and override it.
How to keep remote desktop session "alive" when the RDP window gets minimized?
WM_PAINT
messages. When you minimize Remote Desktop window, it is no longer visible, and it is not painted therefore; additionally it does not receive mouse events: after all Remote Desktop shares mouse with your client desktop. – Servia