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
36 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 68

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now