I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially.
Administrator is the account used to start the program, the option "Run whether user is logged on or not" is checked for the task.
The problem with this is that when someone finally does log on as Administrator using Remote Desktop Connection the interface (program window) is hidden.
As I understand there is no way to solve this using Task Scheduler.
How can I solve this?
It should be a fairly common problem but I can't find anything by searching the net. I'm pretty surprised that Microsoft allow such a limitation in their scheduler. Can I make a VBScript or something that runs on startup and launches the program which will then be visible when the user actually logs on?
(I don't want to have to make a separate GUI-only program that connects to the original program by the way. I would also prefer it if I don't have to terminate the already-running program upon user logon and then launch it again.)