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
51 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

773 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