Windows command reference
SC Query
Display status and service-control information for a named Windows service or driver service.
Risk: LowReviewed: 2026-09-17
sc.exe query <ServiceName>When to use it
Use when troubleshooting a specific service start/status problem and you already know the real service name.
When not to use it
Do not confuse query with sc config/delete/create commands; those modify service configuration and have much higher impact.
Primary reference