Solved

Windows Service Keeps Stopping - Steps to Diagnose

Posted on 2013-01-13
6
346 Views
Last Modified: 2013-01-18
Heyas,

I have windows service for a custom piece of software we have at the office here and every monday it keeps stopping and the event viewer give me no indication as why it may be happening. Can you anyone give me a few troubleshooting tips/tools so I can try to figure out why this might be happening.

Thanks
0
Comment
Question by:Zack
6 Comments
 
LVL 30

Accepted Solution

by:
ded9 earned 250 total points
ID: 38773367
Put the computer in clean boot mode ...restart the computer and then start the service.

Problem might be caused by your anitvirus or firewall software.


Clean boot process

Start-type - msconfig- click on startup tab- click disable all...then click services tab- put a check on hide all microsoft services ...and then click disable all....click ok and then restart the computer in normal mode.

If everything works fine in clean boot then enable five startup items and services at a time to find the faulty software.


Ded9
0
 
LVL 4

Assisted Solution

by:Nicolus
Nicolus earned 250 total points
ID: 38773458
Often, services turn off when they are not called up.  This makes sense when you say every monday as I am wondering if it is because its not being used over the weekend

Have you written a script to turn the service on via Scheduled Tasks every Monday morning?

net stop ServiceName && net start ServiceName
0
 
LVL 92

Expert Comment

by:nobus
ID: 38773611
have a look in event viewer, and look for this problem; it should give more info on the problem
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 25

Expert Comment

by:Tony Giangreco
ID: 38774312
In the service properties, there is an option of what to do if it fails. Set it to restart.
0
 

Author Comment

by:Zack
ID: 38778141
Heyas,

Thanks for the suggestions so far. I'll try them out. Just a final query does anyone of any software like procmon but that be used for windows services.

Thanks .
0
 

Author Closing Comment

by:Zack
ID: 38795607
Cheers for advice guys. It helped a lot.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
logon script 9 75
How to connect printer in workstation by GPO and by site? 6 48
Add local user to local administrator group 3 22
SQL profiler 3 16
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 article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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…

749 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