Windows Service Keeps Stopping? Fix It Step by Step
In this article
A Windows service that keeps stopping usually has one of four causes: it crashes on startup because of a bad configuration or missing dependency, its logon account lacks the right permissions, a recovery setting is not restarting it, or the program itself is failing and Windows is just reporting it. The fastest fix is to open Services, check the service's status and dependencies, set the recovery options to restart on failure, and then read the Windows Event Viewer for the actual error. Below is the full sequence, from the safest checks to the ones that touch configuration.
What You'll Need
- An account with administrator rights on the PC (Services and Event Viewer require elevation for changes).
- The exact name of the service, not just the display name — both appear in the Services window.
- Any credentials the service is supposed to run under, if it is not a built-in account.
- Access to the vendor's documentation or installer, in case the service needs to be repaired or reinstalled.
Step-by-Step
- Open Services. Press Windows+R, type
services.msc, and press Enter. If prompted by User Account Control, approve it. Menu labels and column names can differ slightly between Windows versions and editions, but the layout is the same. - Find the service and confirm it is actually the one stopping. Scroll to the service name. The Status column shows Running or blank, and the Startup Type column shows Automatic, Manual, or Disabled. If the service shows Running but the app still fails, the problem may be a different service or the app itself, not this entry.
- Start it manually and watch what happens. Right-click the service and choose Start. If it stops within seconds, note the exact error message in the dialog. That message is the most useful clue you will get — write it down before closing the window.
- Check the service's dependencies. Right-click the service, open Properties, and go to the Dependencies tab. The top list shows services this one needs; the bottom list shows services that need it. If any dependency is stopped or set to Disabled, start it and set its startup type to Automatic, then try starting the original service again.
- Check the logon account. In Properties, open the Logon tab. Many services run as Local System, Local Service, or Network Service; others need a specific account. If the service is set to a named account, confirm the password has not expired or changed. A wrong password is a very common reason a service starts and immediately stops. Re-enter the credentials and apply.
- Set recovery options so Windows restarts it automatically. In Properties, open the Recovery tab. Set First failure, Second failure, and Subsequent failures to Restart the Service, and set Reset fail count after to a sensible number of days. This does not fix the underlying crash, but it keeps the service alive long enough to diagnose it and often resolves intermittent stops on its own.
- Check the Event Viewer for the real error. Press Windows+R, type
eventvwr.msc, and press Enter. Open Windows Logs > Application and look for Error entries at the time the service stopped. The Source column usually names the service or its executable. Read the General description — it often names a missing file, a port already in use, a permissions problem, or an unhandled exception. Also check Windows Logs > System for service control manager entries. - Fix what the log points to. A missing file or folder means a repair or reinstall of the program. A port conflict means another program is using the same port — stop that program or change the service's configured port. A permissions error means granting the service account access to the folder or registry key it needs. A database connection error means the database service is not running or the connection string is wrong.
- Repair or reinstall the program if the service is corrupted. Use the vendor's own installer and choose Repair if offered; otherwise uninstall and reinstall from the official download. Reinstalling recreates the service entry with correct defaults. Back up any configuration files first, because uninstalling can remove them.
- Restart the PC and verify. After any change, restart Windows and confirm the service is Running and stays Running. Check again after a few minutes and after a reboot, since some services only fail under load or at logon.
Common Mistakes
- Setting the startup type to Disabled while troubleshooting and then forgetting to set it back — the service will never start on its own again.
- Changing the logon account to Local System just to make an error go away. It often works, but it gives the service far more access than it needs. Use the account the vendor specifies.
- Ignoring the Dependencies tab. A service can look correctly configured and still fail because something it relies on is stopped.
- Reinstalling before reading the Event Viewer. The log usually names the cause in one line, and a reinstall can wipe the evidence.
- Assuming the service is the problem when the app is. Some applications start their own background process; if that process crashes, the service may be fine.
Tips
- Note the service's short name (shown in the Properties window as Service name) — it is what appears in Event Viewer and in command-line tools, and it is often different from the display name.
- Test changes one at a time. Changing the account, recovery options, and dependencies all at once makes it impossible to know which one helped.
- If the service runs under a domain account, check with whoever manages that account before changing credentials — the password may be managed centrally.
- Keep a note of the original settings (startup type, logon account, recovery actions) so you can undo your changes if they make things worse.
Troubleshooting
If the service will not start at all and shows an access denied error, the account lacks the "Log on as a service" right. This is granted through the Local Security Policy editor on Windows Pro and Enterprise editions; on Windows Home that editor is not included, so use the vendor's installer or support guidance instead of editing policy by hand.
If the service starts and stops with no error dialog, the Event Viewer Application log is the place to look — the failure is being logged, not displayed. Filter the log to the time of the stop and read the first Error entry, not the last one; the first error is usually the cause and the rest are consequences.
If the service runs fine for hours and then stops, suspect a memory or resource limit, a scheduled task that restarts or stops it, or a dependency that is being restarted by something else. Check Task Scheduler for entries that touch the service, and check whether the dependency services are also stopping at the same time.
If you changed settings and the service now behaves differently, revert your last change before trying the next one. If the service entry itself is damaged — for example it cannot be opened in Properties — a repair or reinstall from the official installer is the reliable route.
Frequently Asked Questions
Why does my service keep stopping by itself?
Usually because the program behind it is crashing, its logon account cannot authenticate, or a dependency is not running. The Event Viewer Application log records the specific reason at the moment it stops.
Will setting recovery options to restart fix the problem?
It keeps the service running, but it does not remove the cause. Treat it as a safety net while you find and fix the underlying error.
Can I run a service under my own user account?
Only if the vendor supports it and the account has the "Log on as a service" right. Many services are designed for built-in accounts, and using a personal account can cause failures when you change your password.
How do I know which service is the right one?
Match the display name in Services to the name in the program's documentation or installer. The Properties window also shows the short service name, which is what appears in logs.
Does reinstalling the program remove my settings?
It can. Back up configuration files and note the current service settings before uninstalling, then restore them after reinstalling.
Is it safe to set the startup type to Automatic?
Yes, for a service that is meant to run all the time. Leave services set to Manual if the vendor specifies Manual — changing it can cause conflicts with other software.