Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Service Control Manager

Direct answer

The Service Control Manager is the Windows component that maintains the database of installed services and driver services and provides the control interface used to enumerate, start, stop, query and configure them. It begins early in system startup and exposes service-management operations through Windows service APIs.

When to use this

Use SCM when you need to understand where service configuration comes from, why a control operation is accepted/refused, how service state is reported, or which layer sits between management tools and a service process.

First 30 seconds

1. SCM events in the System log (7000–7045).

2. sc.exe query <name> — state.

3. Timeout starting (7009/7011) → slow service; check the app log.

4. sc.exe qc <name> — binary path and account.

5. Restart policy: sc.exe qfailure <name>.

Operational verification

SCM (services.exe) loads service config → starts/stops services → logs events

Evidence · next step

Map the service to its process/logs and test the function the service is supposed to provide.

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

Do not manually edit the service database in the Registry as a first-line operation. Do not assume a display-name match equals the service key name expected by CLI/API tools. Do not treat an SCM status code as application-layer 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 SCM when you need to understand where service configuration comes from, why a control operation is accepted/refused…
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.

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 Verification path Verify boundary

Query first, then control. Capture the service name, current state and configuration. If a start/stop hangs in a pending state, note the duration and event/log output. Avoid repeated uncontrolled start attempts that destroy the original timing pattern. After RUNNING, continue to functional verification.

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
  • SCM stores/manages service configuration; applications should use service APIs/tools rather than editing the service database directly.
  • SCM state is reported by the service/driver lifecycle, not an application-level health probe.
  • Service controls are access-checked operations.
  • The SCM can manage local and, through supported APIs/tools, remote service contexts.
  • Pending states and timeouts are important evidence during start/stop troubleshooting.
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

SCM centralizes service lifecycle management. Management surfaces such as Services.msc, sc.exe and PowerShell service cmdlets ultimately interact with the service-management layer rather than independently implementing service lifecycle rules.

The Service Control Manager reads service configuration, evaluates dependencies/account/security, creates or controls the service process, tracks pending checkpoints/timeouts and records terminal state.

ReferenceHow it works1 section · depth on demand

Windows internal processing path

The key focus is Service Control Manager database, dependency ordering, process launch, service-state transitions and recovery. SCM owns the service database and coordinates service start/stop/control requests. A StartPending state means the request is accepted but initialization has not completed; Running means SCM observed the service report running, not that the service dependency or business transaction is healthy.

ReferenceImportant terms & boundaries2 sections · depth on demand

Runtime / control boundary

When a service starts, the lifecycle can pass through pending states before RUNNING. A service reporting RUNNING indicates it has completed its service-start reporting boundary, but initialization of application-specific dependencies may still be incomplete or unhealthy. Likewise, a control request can fail because of rights, disabled state, dependency or service-specific behavior.

In depth

The Service Control Manager (SCM, services.exe) starts, stops and monitors Windows services according to their configuration: start type, account, dependencies and recovery actions. It records service events in the System log.

Get-Service -Name Spooler -DependentServices
Get-CimInstance Win32_Service -Filter "Name='Spooler'" | Select-Object Name, StartMode, State, StartName, PathName
sc.exe qc Spooler
sc.exe qfailure Spooler
sc.exe config Spooler start= disabled
Start typeBehaviour
AutomaticStarts at boot
Automatic (Delayed Start)Starts shortly after boot
ManualStarts on demand/trigger
DisabledCannot start

Security: unquoted service paths with spaces and services with writable binaries are privilege escalation risks — check PathName values.

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 Control Manager. 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
service control manager scmwindows scmservices database windows
Embedded reference data

Quick lookup tables

Windows Services → Service Control Manager reference map

Fast lookup boundaries for Windows Services → Service Control Manager.

ItemMeaningEvidence boundary
Installed databaseService configuration recordsquery/configure through SCM APIs/tools
Control requestStart/stop/pause/etc.request can be accepted before workload is healthy
StatusPending/running/stopped/etc.reported lifecycle state
Access checkSCM/service rightsmanagement permission boundary
Event/logFailure contextcaptures startup/control errors and timeouts
Confirmation

Confirm action

Continue?