How to Run a Program as a System Service!
Step 2 : Once installed find the two files named as follows : instrv.exe and srvany.exe and copy them to the folder where the exe lies for the program you want to make a service.
Step 3 : Open up the command prompt and type in the following. For the example I'm using a folder called "example" :
cd "C:\example\"This puts command prompt into the folder where your program lies.
instsrv Servicename"C:\example\srvany.exe"This installs the program as the service. Yes!
Replace Servicename with your own service name.
Some registry editing to go and then were done.
REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Servicename\Parameters] "Application"="\"C:\\example\\example.exe\""Save as a *.reg file and simply double click to run it.
You can also see you need to replace the Servicename and the directory with the service name and your program folder you made earlier.
C & C's welcome.
Edited by Popcorned, 26 February 2006 - 15:32.