I would like to run a program before login. But not one that terminates.
It is basically a rabbitmq client that constantly polls a message queue or whatever.
The reason I want to do this is is just in case the client's server reboots, and the windows UI is in a state in which a user is not logged in, or has a prompt. I want to still have the program functioning normally. This is a limitation I have at the moment. If there is a simpler solution that eludes this problem in its entirety, please let me know.
I have tried editing the start up scripts. This worked; it ran, but it hung. I assumed it was because the program never terminates, at least normally.
Actually, just to cover my bases, the reason I want this program to start up before anyone logs in (only a single user is ever expected to log in, the admin user), is so the program can access network and the file system just in case the system should ever reboot unexpectedly, or ever hang on a login prompt, or some other prompt such as 'why did ya reboot?'
Will I even be able to access the internet and file system if I execute at this stage?
I know I can disable the power logging, thus eliminating that particular case, but I want something more fool proof.
Suppose I can access i/o, how do you do this?
I also tried using the task scheduler, however when I do this, the program never loads. I get a 'could not start' message.
I wish I could assume a state where the admin is logged in and everything is functioning, but all this UI hoohah is interfering.
Thanks, Dane