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.
Service Troubleshooting
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.
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.
start requested → account logon → binary runs → reports Running in time
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
Get-Service <name> | fl *— status, start type, dependenciesGet-CimInstance Win32_Service -Filter "Name='<name>'" | Select StartName,PathName,StartMode— account, path and modesc.exe qc <name>— configuration in CMDGet-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 event | Meaning |
|---|---|
| 7000 | Service failed to start (often logon failure or missing file) |
| 7009/7011 | Timeout waiting for service |
| 7023/7024 | Service terminated with error |
| 7031/7034 | Service terminated unexpectedly |
| 7038 | Logon 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Windows Services → Service Troubleshooting reference map
Fast lookup boundaries for Windows Services → Service Troubleshooting.
| Item | Meaning | Evidence boundary |
|---|---|---|
| Will not start | STOPPED/error after start request | SCM error + account/dependency/binary/log evidence |
| Stuck pending | START/STOP_PENDING too long | service initialization/control path + logs |
| Stops unexpectedly | RUNNING → STOPPED | process exit/service event + application logs |
| RUNNING but broken | SCM healthy, function unhealthy | endpoint/dependency/application test |
| Access/logon failure | Account/token problem | service account + rights/credentials/target authorization |