I have an AutoIt bot that we use to perform "performance tests" on our commercial application using TimerDiff(). We run that bot on multiple systems across the globe. To monitor the tests, we use Remote Desktop Connection Manager. Why is it that when I expand a display or do not provide display at all, the tests start failing? A simple task such as ControlSend() or ControlFocus() fails that we use for login use case. Is my assumption true that AutoIt needs display to be there to be able to find
Run a CMD window. Run SET. look for SESSIONNAME, it should read SESSIONNAME=Console , otherwise, there is no desktop. So, remote in, shadow the console session and everything will be ok. No need for a physical monitor attached, just a console session.