UIAutomation won't work in a VPS if I am not connected via RDP
I am stuck in a strange situation. I have script which uses mircrosoft's UIAutomation to automate an application. The script is inside a VPS running Windows Server 2012 The script works perfectly while I am connected to the VPS via RDP (Remote Desktop). When I am not connected, the script seems to be stuck on SetFocus for a object... which leads me to believe that the script needs a Display/Screen/Session in order to work... but I am not sure if it is possible to do it while I am not connected to the VPS. I can see 2 possible solutions here, either modify the script in someway to work in this environment or make the VPS have a virtual desktop while I am not connected (this solution might be more related to Server Fault rather than StackOverflow). I am very confused, thanks for the help in advance :)
Programmatically grabbing DLL manifest information with Python or other common scripting language / tool
Mobile Device emulator cannot access localhost
Is it acceptable for a server-based application installer to create a new group?
shotgun gem explodes when starting a Sinatra app on windows
Windows: add security restrictions to current process?
realtime logging [closed]
How does porting between Linux and Windows work?
Serial Ports, CreateFile and SetCommState
How to give process specific privileges in windows
How can I tell if a file has the Windows “hidden bit” in Emacs?
TCP and UDP are using different OS Buffer?
ShowHTMLDialog and buttons style
Porting X/Motif GUI application to Windows using wxWidgets
How to register an nsIModule DLL on Windows
How to resolve replsync.dll DLL load Error? Please see the attached screenshot
Creating a wine static executable?