Run applications as a service

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
 
T

Torgeir Bakken (MVP)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top