Windows Commands / IT Support Guides
Inspect a Windows service with sc.exe
Read a Windows service’s current state and configured startup type with sc.exe.
Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified
Understand the problem
Find the short service name. The example uses Spooler, which is the short name for the Print Spooler service.
Run the command
Run sc.exe query to see the service state and sc.exe qc to inspect its configuration. Both commands read information.
sc.exe query Spooler
sc.exe qc Spooler
Read the output
Look for STATE in the query output. RUNNING and STOPPED describe what the service is doing now. START_TYPE in the configuration output describes how it is configured to start.
Choose the next step
If the service is stopped unexpectedly, check recent service events and any dependency failures before deciding how to recover it.
Before making changes
Save the original state and startup type in the ticket. An automatic startup setting does not by itself show that the service is healthy.