I have 2 GUI based programs running on Windows 10 in a Hyper-v machine that are constantly being automated by a third program. I would like to have this process continue running after I disconnect from the machine but disconnecting causes the machine to go into the locked state. This causes the automation software to fail because functions like "SetForegroundWindow" fail without there being an active desktop session.
Is there any way to accomplish this without having to leave a second machine connected to the server 24/7?