Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

windows service that checks a list of windows services to ensure that they are running and start them if they are not

Does anyone know of any windows service that checks a list of windows services to ensure that they are running and start them if they are not.  This should prevent us from going a day or so without detecting the issue that such and such service was stopped (was not running)
0
skaleem1
Asked:
skaleem1
1 Solution
 
BeartlaoiCommented:
A quick and dirty way is to create a scheduled task that runs a CMD that looks like:
net start w3svc (or whatever service you need)
net start ...
You can check the system event log to see when services stop.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
The better way is to change the Recovery options in each of those important services to restart the service on failure. Failures will still be logged in Event Log for reference and monitoring.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now