Friday, August 15, 2008

Run Application As A Service

Issue:
You want to run an application when the computer starts without having to log on to the computer.

Quick:
use Windows Resource Kit tools Instsrv.exe & Srvany.exe , at command-line: "path\INSTSRV.EXE MyApplication path\SRVANY.EXE" HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyApplication, Add Key and name it Parameters, Add String under Parameters with path to application.

Learning:
Link here with zip file of just the files needed (not the whole resource kit).
http://www.tacktech.com/display.cfm?ttid=197

Microsoft link about using these tools
http://support.microsoft.com/kb/137890

No comments: