Windows 2000/2003 service recovery question

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
How about having the script accept parameters and add the service name as a
parameter in the recovery options.
 
Back
Top