Originally Posted by cdoublejj
yes sir server 2008 [not r2] I have other things i want to run on start up to. So far it seems to be some odd niche. i may have to play Task Scheduler some more or i may have to have Always Up.
If you are on Windows, you could schedlue to a task to run a command at startup, and the command would be to launch the program. However, if it's a program with a GUI that must launch...I'm not sure if this will work until someone has logged in, and if that's the case you might as well create a user account and set it up for autologin, and put the program you want to start in that users Startup directory
-There is no Windows Server 2008 Resource Kit Tools, so get the "srvany.exe " from the "Windows Server 2003 Resource Kit Tools " and copy it to a suitable location on your Win2008 server (e.g. C:\Windows\System32\ ).
-Use "sc " to create a new service that launches "srvany " (e.g. sc create MyService binPath= C:\Windows\System32\srvany.exe DisplayName= "My Custom Service" )
-Using RegEdit : create a "Parameters " key for your service (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\Paramaters\ )
-Using RegEdit : within the newly created "Parameters " key , create a string value called "Application " and enter the full path to the application you are wanting to run as a service. (No quotes required.)
That should do the trick. I used this on one of my VMs for Minecraft and Mumble (voice chat, like TS or Vent...but better).