Windows 2000/2003 service recovery question

G

Guest

Windows 2000/2003 lets you define a script that runs when a service fails.
I've wrriten a script that is called when a service fails, that e-mails
information to the admins.

Is there a way to get the OS to pass the name of the service that failed to
the script as a variable? Right now I have no way to let the script inform
the admins which service actually failed and caused my script to run.

Thanks
 
J

Joe Richards [MVP]

How about having the script accept parameters and add the service name as a
parameter in the recovery options.
 

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