Register file as service

T

Tony Talmage

Hello,

I have a couple .bat files that must be usable without a
user logged into the web server; I figure the easiest way
would be to register as Services... however, can't find
out how to do it. Is this possible? If so, what
keys/values must be added to the registry to allow me to
do this? I see no standard option to "Set as Service"
anywhere. I would certainly appreciate any insight anyone
could offer; send any emails to (e-mail address removed).
Thank you.
 
M

Mark V

Tony Talmage wrote in
Hello,

I have a couple .bat files that must be usable without a
user logged into the web server; I figure the easiest way
would be to register as Services... however, can't find
out how to do it. Is this possible? If so, what
keys/values must be added to the registry to allow me to
do this? I see no standard option to "Set as Service"
anywhere. I would certainly appreciate any insight anyone
could offer; send any emails to (e-mail address removed).
Thank you.

Have you considered just running them from the TaskScheduler?

Anyway the srvany.exe tool from the Resource Kits _may_ be able to. It
was designed for running PE executables as a Service.
 
T

Tony Talmage

Thank you for your advice; srvany.exe did the trick, and
was easy to use, to boot. I definitely appreciate your
prompt response.
 

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