Solved

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

Posted on 2014-01-15
3
61 Views
Last Modified: 2016-05-18
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
Comment
Question by:skaleem1
3 Comments
 
LVL 9

Expert Comment

by:Beartlaoi
ID: 39783311
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
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 40006417
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question