Windows Service Keeps Stopping - Steps to Diagnose

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
ZackGeneral IT Goto GuyAsked:
Who is Participating?
 
ded9Commented:
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
 
NicolusCommented:
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
 
nobusCommented:
have a look in event viewer, and look for this problem; it should give more info on the problem
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Tony GiangrecoCommented:
In the service properties, there is an option of what to do if it fails. Set it to restart.
0
 
ZackGeneral IT Goto GuyAuthor Commented:
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
 
ZackGeneral IT Goto GuyAuthor Commented:
Cheers for advice guys. It helped a lot.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.