Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Service Troubleshooting

Direct answer

Service troubleshooting turns "the service won't start" into a specific cause: its configuration in the Service Control Manager, the service account and its password, a dependency, the program file, or the application itself. System log events 7000–7038 usually point to which.

When to use this

Use this topic for failed starts, services stuck in pending states, unexpected stops, logon failures, dependency errors, wrong startup behavior or a service that is RUNNING but its application feature is broken.

First 30 seconds

1. Start-Service <name> — exact error.

2. System log SCM events: 7000 (failed), 7009 (timeout), 7023/7031/7034 (terminated).

3. Path and account: Win32_Service; account locked or password expired?

4. App log of the service.

5. Process Monitor for missing files or ACCESS DENIED.

Operational verification

start requested → account logon → binary runs → reports Running in time

Evidence · next step

Perform the narrow next check at the first failed boundary and verify both SCM state and consumer-visible function afterward.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Avoid changing startup type, service account, permissions and dependencies simultaneously. Avoid deleting/recreating the service as a first move. Avoid interpreting Event 7036-style state changes alone as root cause without the surrounding service/application evidence.

Platform / version applicability
Windows execution, automation and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows execution, automation and observability
Scope / prerequisiteUse this topic for failed starts, services stuck in pending states, unexpected stops, logon failures, dependency errors…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Capture before-state. Attempt one start/stop only when appropriate, record resulting error/state timing, and correlate logs. Verify dependencies and account without broad changes. For a running service, use a role-specific health check. After remediation, verify startup through the intended boot/trigger path and check for regression.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means the service reaches the intended state using the intended account, remains stable through the expected observation window/reboot policy, exposes its listener or application health and completes the original client request. Broken evidence includes SCM start failure, dependency/logon error, immediate stop or Running-with-unhealthy-endpoint. The limit of what it shows is that Running shows SCM state only; service-specific functionality must be exercised.

Step 3 Native failure isolation and next-check logic Narrow the fault

If a service will not start, record the SCM error and matching System/Application event before changing startup type. Verify executable path, service account/logon rights and explicit dependencies; if it starts then stops, inspect the service/application event and exit behavior. If status is Running but clients fail, move to listener/port/application health and downstream dependencies. Avoid repeated restarts unless collecting recurrence evidence or applying one controlled remediation.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Start with service name, not only display name.
  • Separate configured state from runtime state and application health.
  • SCM/start success is not end-to-end proof.
  • Service accounts and dependencies are common first boundaries but should be evidenced before changing them.
  • Repeated restarts can destroy timing/crash evidence and create misleading secondary errors.
Key checks
  • Get-Service <name> | fl * — status, start type, dependencies
  • Get-CimInstance Win32_Service -Filter "Name='<name>'" | Select StartName,PathName,StartMode — account, path and mode
  • sc.exe qc <name> — configuration in CMD
  • Get-WinEvent -FilterHashtable @{LogName='System';ProviderName='Service Control Manager'} -MaxEvents 20 — SCM events
ReferenceWhat it is1 section · depth on demand

Core model

Begin with the exact service object and timeline. Query status/configuration, then examine event logs around the failed transition. If the service creates a process and the process crashes, continue at the process/crash boundary. If the service stays RUNNING, stop staring at SCM and test its actual function.

ReferenceHow it works1 section · depth on demand

How it works

Windows Service Control Manager owns service configuration and lifecycle, while the service process owns application-specific initialization and runtime. Startup type, service account, dependencies, executable path, permissions and delayed/trigger start can all affect whether a service reaches Running. A service may report Running and still fail health checks, while a start failure can be caused by a dependency or logon right rather than the binary itself.

ReferenceImportant terms & boundaries2 sections · depth on demand

Runtime / control boundary

The service layer is a control plane for background workloads. Common root causes include invalid binary/configuration, account logon/right failures, missing dependencies, permission problems, ports/files already in use, application initialization failures and external dependency outages.

Method

Service troubleshooting resolves services that fail to start, stop unexpectedly or hang in "starting"/"stopping".

Get-Service -Name MyAppSvc | Select-Object Status, StartType
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'} -MaxEvents 30 | Format-Table TimeCreated, Id, Message -Wrap
sc.exe queryex MyAppSvc
taskkill /PID <pid> /F               # stuck service process
SCM eventMeaning
7000Service failed to start (often logon failure or missing file)
7009/7011Timeout waiting for service
7023/7024Service terminated with error
7031/7034Service terminated unexpectedly
7038Logon failure (wrong password for service account)

Check dependencies, the service account's password and "Log on as a service" right, and the application's own logs. Switching service accounts to gMSA avoids password expiry failures.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows execution, automation and observability current

Authoritative/upstream documentation reviewed for bounded claims in Windows Services → Service Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/win32/services/services · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
windows service troubleshootingservice failed to startservice stuck start pendingwindows service stops
Embedded reference data

Quick lookup tables

Windows Services → Service Troubleshooting reference map

Fast lookup boundaries for Windows Services → Service Troubleshooting.

ItemMeaningEvidence boundary
Will not startSTOPPED/error after start requestSCM error + account/dependency/binary/log evidence
Stuck pendingSTART/STOP_PENDING too longservice initialization/control path + logs
Stops unexpectedlyRUNNING → STOPPEDprocess exit/service event + application logs
RUNNING but brokenSCM healthy, function unhealthyendpoint/dependency/application test
Access/logon failureAccount/token problemservice account + rights/credentials/target authorization
Confirmation

Confirm action

Continue?