Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

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.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

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.

Source & further reading

Microsoft Learn — sc-query

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles