[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 118
  • 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
 
QlemoC++ DeveloperCommented:
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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

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