Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Service Failure

Direct answer

Service Failure narrows a Windows service symptom across Service Control Manager configuration, account/dependencies, process creation, runtime state and the service-specific workload.

When to use this

Use it when a Windows service will not start, repeatedly stops, hangs, or shows Running while clients still fail.

First 30 seconds

1. Get-Service <name>; start and read SCM events.

2. Account/password, dependencies.

3. App logs.

4. Process Monitor for access denied.

5. Fix and restart.

Operational verification

SCM → account → binary → running

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Close with Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. and state what the evidence does not show.

Platform / version applicability
Windows servicing, deployment and recovery
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 servicing, deployment and recovery · Windows
Key commandGet-Service -Name <service> | Format-List *
Scope / prerequisiteUse it when a Windows service will not start, repeatedly stops, hangs, or shows Running while clients still fail.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

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

1 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 Troubleshooting path Verify boundary

SCM configuration → start request → account/dependencies → process/PID → service state → endpoint/workload

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
  • Service Running proves only SCM runtime state; it does not prove the service endpoint, dependency, data path or client-visible function is healthy.
  • Keep the symptom, observed state and inferred cause as separate statements.
  • Prefer evidence from the first failed boundary over broad configuration changes.
  • A successful local check does not automatically prove the next dependency or end-to-end workload.
Key checks
  • Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — system errors last 24h
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)} — application errors
  • Get-ComputerInfo -Property OsName,OsBuildNumber,CsDomain — system context
  • Get-HotFix | Sort InstalledOn -Desc | Select -First 5 — recent updates
ReferenceImportant terms & boundaries3 sections · depth on demand

What the evidence shows

Service Running shows only SCM runtime state, but it does not show the service endpoint, dependency, data path or client-visible function is healthy.

In depth

Read the service's definition before changing anything

C:\> sc.exe qc Spooler
SERVICE_NAME: Spooler
        TYPE               : 110  WIN32_OWN_PROCESS (interactive)
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Windows\System32\spoolsv.exe
        DEPENDENCIES       : RPCSS http
        SERVICE_START_NAME : LocalSystem
C:\> sc.exe queryex Spooler       # state, PID, Win32 exit code
C:\> sc.exe qfailure Spooler      # recovery actions

System log events from the Service Control Manager

EventMeaningNext check
7000 + 1053Did not respond to the start request in time (30 s default)Slow dependency, missing files; ServicesPipeTimeout only as a last resort
7000 + 1069Logon failureService account password expired/changed, missing "Log on as a service" right
7001 / 1068Dependency failedsc.exe qc → DEPENDENCIES, start them first
7023 / 7024Terminated with an error / service-specific errorApplication log of the service itself
7031 / 7034Crashed unexpectedlyRecovery actions, crash dumps (WER LocalDumps)
7009Timeout waiting to connectSame as 1053

Changing configuration safely with sc.exe config

The sc.exe config reference requires a space after each =:

sc.exe config MyApp start= delayed-auto
sc.exe config MyApp obj= "CORP\gmsa-myapp$" password= ""
sc.exe failure MyApp reset= 86400 actions= restart/60000/restart/60000/""/0

Without the space the command fails. Use delayed-auto for services that depend on network or other services being fully up.

Recovery actions are not a fix

Automatic restarts hide crash loops. Pair them with alerting on event 7031/7034 and investigate the first failure. For services using stored passwords, a group managed service account (gMSA) removes the most common cause of 1069.

Prove the service works, not just runs

Running in Get-Service only means SCM sees a process. Test the function: listening port (Get-NetTCPConnection -OwningProcess <PID>), a client request, or the service's health endpoint.

*The Windows service configuration and state above are illustrative examples, not captured from a lab or production system.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Service fails to start:

SCM event / errorMeaning
7000 + error 1053Service did not respond in time (default 30 s)
7000 + error 1069Logon failure — wrong/expired service account password
7001 / 1068Dependency failed
7031 / 7034Terminated unexpectedly (crash)
7038Could not log on as the configured account
Get-WinEvent -FilterHashtable @{LogName='System';ProviderName='Service Control Manager'} -MaxEvents 20 | ft TimeCreated,Id,Message -Wrap
sc.exe qc MyService; sc.exe qfailure MyService
sc.exe failure MyService reset= 86400 actions= restart/60000/restart/60000/none/0

Also check the "Log on as a service" right and the application's own log.

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 servicing, deployment and recovery current

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

Basis: https://learn.microsoft.com/en-us/troubleshoot/windows/ · 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 failureservice wont startservice stopped windows
Embedded reference data

Quick lookup tables

Windows Troubleshooting → Service Failure reference map

Fast troubleshooting boundaries for Windows Troubleshooting → Service Failure.

BoundaryMeaningEvidence limit
SymptomWhat the user/workload reportsStarting point, not root cause
Local stateWhat Windows reports at this boundaryDoes not prove adjacent dependency
Correlated evidenceMultiple sources agree in one timelineStrengthens hypothesis, not automatic causation
VerificationOriginal test succeeds after controlled changeRequired to close the troubleshooting loop
Confirmation

Confirm action

Continue?