Run applications as a service

  • Thread starter Thread starter stefan
  • Start date Start date
S

stefan

I want run some of my applicatons as a wondows service.
I tried already the instsrv.exe and srvany.exe tools but
the new entered service didn't start (error 193:0xc1).
I used the following command line:
instsrv.exe servicename c:\srvany.exe and then added a
new registry key parameters in the current control set
where added a new value application and defined the path
to my application.
Do these tools only work under win2000?
is there another way or other freeware tools to install
applications as services?

Thanks for the answers in advance
 
stefan said:
I want run some of my applicatons as a wondows service.
I tried already the instsrv.exe and srvany.exe tools but
the new entered service didn't start (error 193:0xc1).
I used the following command line:
instsrv.exe servicename c:\srvany.exe and then added a
new registry key parameters in the current control set
where added a new value application and defined the path
to my application.
Do these tools only work under win2000?
is there another way or other freeware tools to install
applications as services?

Thanks for the answers in advance

Hi

instsrv.exe/srvany.exe works on Windows XP as well, even the
instsrv.exe/srvany.exe in the NT 3.5 Resource kit works in WinXP:
http://groups.google.com/[email protected]

An alternative, a free 3rd party solution:

Take a look at mksvc.exe in the AINTX toolset at
http://www.dwam.net/docs/aintx/

The utils are documented in a included readme file, or you can alternatively
run

<command> -help

To start the service, use the Services applet or the AINTX toolset's startsvc
utility. Note that "net start <service name>" will not work.
 
Back
Top