Solved

Windows Service Keeps Stopping - Steps to Diagnose

Posted on 2013-01-13
6
340 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 91

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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.

762 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

21 Experts available now in Live!

Get 1:1 Help Now