Solved

Windows Service Keeps Stopping - Steps to Diagnose

Posted on 2013-01-13
6
344 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
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…

828 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