I have an application that needs to run in the foreground on a Windows 2008 server 24 x 7. The problem is how to overcome the need to reload the programme when the server reboots itself for some reason (e.g. Windows system updates). It is a hosted server in a datacentre on the Internet and at present we have to run an RDP session and keep it open then keep monitoring it - absolutely the wrong solution. We cannot convert the application to a background process.
We could install a VNC remote control server (like Tight VNC) on the server's Administrator console, connect over the VNC connection, login as a Windows 2008 user and run the application. Then just disconnect the VNC session and the application will continue to run - until the server reboots of course.
One solution would be to have a script with system commands to automatically start a user login session on reboot and load the application into that, but I don't know anything about scripts.
Any help would be greatly appreciated.