[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Windows Service Keeps Stopping - Steps to Diagnose

Posted on 2013-01-13
6
Medium Priority
?
361 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 1000 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 1000 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 93

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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

873 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