The Big Picture: Detective Work
Sometimes a service refuses to start, or it starts and then quits. You see a pop-up with a number, or you find a red entry in a log. This section teaches you to read the clues and find the cause, step by step, without breaking anything.
Symptom ──► Error code / message ──► Event log entry ──► Check the usual suspects ──► Fix
8.1 Common Failure Causes
What it is: A short list of the reasons services fail. Most problems fit one of these.
| # | Cause | Typical sign |
|---|---|---|
| 1 | A dependency is not running | Error 1068: "The dependency service or group failed to start" |
| 2 | Wrong or expired password for the logon account | Error 1069: "The service did not start due to a logon failure" |
| 3 | The service is slow to start | Error 1053: "The service did not respond to the start or control request in a timely fashion" |
| 4 | The service is Disabled | Error 1058: cannot start because it is disabled |
| 5 | File missing or wrong path | The ImagePath points to a file that was deleted or moved; Windows says it cannot find the file (error 2) |
| 6 | Access denied | The account has no right to the program file or data folder; or a normal user tried to control it (error 5) |
| 7 | The service crashes after starting | Event "terminated unexpectedly" (7034) |
| 8 | A port or file is already in use | The service's own log says so; another program grabbed it |
| 9 | Corrupt install or bad update | Several related services fail together |
| 10 | The service does not exist | Error 1060 (a typo, or the program was removed) |
Error 1053 explained. When the SCM starts a service process, the process has to report in within a time limit (about 30 seconds by default). If it is too slow (a heavy start, a stuck disk) or it was never written as a real service, the SCM gives up. Section 9 shows exactly what the service must do in that time.
Error 1068 explained. The service you want depends on another one (Section 4). That other one is disabled, missing, or failed. Fix the dependency, then retry.
Error 1069 explained. The account saved with the service no longer works. The password changed, the account was locked, or the account lacks the "Log on as a service" right (Section 5.4). Re-enter the correct password.
Windows tip: Messages like "Error 1053" may appear in services.msc, in sc start (it prints the number) or in PowerShell (Start-Service shows a long message).
8.2 Event Log Entries for Service Failures
What it is: The SCM writes a record into the System event log for important service events. The source (also called provider) is Service Control Manager. You read it with Event Viewer (a built-in tool) or PowerShell.
Open Event Viewer: press Win + R, type eventvwr.msc, press Enter. Open Windows Logs then System. Use Filter Current Log and choose the source Service Control Manager.
The event IDs worth knowing:
| Event ID | What it means in plain words |
|---|---|
| 7036 | "The service entered the running / stopped state." Normal news, very common (informational) |
| 7045 | "A service was installed in the system." Good to watch for security: unexpected new services can be a warning sign |
| 7000 | "The service failed to start due to the following error: ..." It then names the reason |
| 7001 | "The service depends on a service which failed to start" (a dependency problem) |
| 7009 | "A timeout was reached while waiting for the service to connect." Matches error 1053 |
| 7011 | "A timeout was reached while waiting for a transaction response from the service." The service did not answer a control request in time |
| 7023 | "The service terminated with the following error: ..." |
| 7031 | "The service terminated unexpectedly. It has done this N times. The following corrective action will be taken..." |
| 7034 | "The service terminated unexpectedly. It has done this N times." (no recovery action taken) |
Reading an entry. An example in plain form:
Event ID : 7000
Source : Service Control Manager
Text : The <Service Name> service failed to start due to
the following error: The service did not respond to the
start or control request in a timely fashion.
It tells you: which service, and why (the error text matches a code from 8.1).
Read them from PowerShell (read-only):
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'} -MaxEvents 20 |
Select-Object TimeCreated, Id, LevelDisplayName, MessageOnly the last 20 entries are shown. To search for just the failures, add a filter on the Id values:
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'; Id=7000,7001,7009,7023,7031,7034} -MaxEvents 20 -ErrorAction SilentlyContinue(If nothing has failed recently, it simply shows nothing.)
Look at the time. Compare the time of the event with the time you started the PC or changed something. Failures often line up with a software install or an update.
Other places to look:
| Place | What it can add |
|---|---|
| Application log in Event Viewer | The service's own messages (if it writes any) |
| The program's own log files | Usually in C:\ProgramData\<product> or its install folder |
| Event ID 7045 | Tells you when the service was installed and by what program path |
8.3 Diagnosing a Service That Won't Start
What it is: A repeatable checklist. Work top to bottom, one step at a time, and write down what you find.
Start fails
│
├─1─► Read the exact error (number and text)
├─2─► Check the Startup Type (Disabled? → 1058)
├─3─► Check the Dependencies tab (any not running? → 1068)
├─4─► Check the Log On account (password/rights? → 1069)
├─5─► Check the file path (ImagePath) (file exists? → error 2)
├─6─► Read Event Viewer System log (7000, 7009, 7023, 7034 ...)
├─7─► Read the program's own log
└─8─► Search for the exact error text, or contact the vendor
Step by step:
- Get the exact message. Try
sc start <name>(admin) or look at the pop-up. Write down the number. - Startup Type.
sc qc <name>: look atSTART_TYPE. IfDISABLED, that is the whole story (and ask yourself why someone disabled it). - Dependencies. In
sc qc, readDEPENDENCIES. For each, runsc query <dep>and see if it isRUNNING. If not, diagnose that one first (Section 4.3). - Account. In
sc qc, readSERVICE_START_NAME. A custom user? Check the password and whether the account is locked. - File path. In
sc qc, readBINARY_PATH_NAME. Paste that path into File Explorer (without arguments). Does the file exist? Is it blocked or deleted by antivirus? - Event Viewer. Find the 7000/7001/7009/7023/7034 near the failure time.
- Program log. Many products write their own log with a precise reason.
- Last resorts. Repair or reinstall the product. For a Windows service, run Windows Update, or
sfc /scannow(a built-in system file check, run as admin).
Quick tool table:
| Question | Command |
|---|---|
| Is it running? | sc query <name> |
| How is it set up? | sc qc <name> |
| Which process is hosting it? | tasklist /svc (look for the service name) |
| What do recent events say? | Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'} -MaxEvents 20 |
| Who depends on it? | (Get-Service <name>).DependentServices |
A worked example.
Symptom : You press Start on service "ExampleSvc" and see error 1068.
Step 3 : The Dependencies tab shows it needs "ExampleHelper".
"ExampleHelper" is Disabled.
Fix : Set ExampleHelper back to Manual or Automatic (if that was the
original), start it, then start ExampleSvc.
Lesson : The error was shown for ExampleSvc; the cause was one level down.
Cautions:
- Do not delete registry keys under
...\Servicesto "clean up". That can remove drivers and services Windows needs. - Do not run random "service repair" tools downloaded from the internet.
- Change one thing at a time. Then retry. That way you know what fixed it.
- If the failing service is a core Windows component and the PC behaves badly, use System Restore or ask for help rather than guessing.
Summary
| Item | Remember |
|---|---|
| 1053 | Service did not answer in time (about 30 seconds to report in) |
| 1058 | Disabled |
| 1060 | Service does not exist |
| 1068 | A dependency failed or is not available |
| 1069 | Logon (account/password) failure |
| Event 7000 / 7001 | Failed to start / dependency failed |
| Event 7009 / 7011 | Timeout waiting for the service to connect / respond |
| Event 7031 / 7034 | Terminated unexpectedly (with / without recovery action) |
| Event 7036 / 7045 | Running or stopped news / new service installed |
| Method | Read error, check startup type, dependencies, account, path, then logs |