Windows

sc

CautionService control (Windows)

sc query <svc>

Query, start, stop or configure a Windows service.

Examples

  • sc query spoolerPrint spooler status
  • sc stop spoolerStop the service

Syntax

sc query|start|stop|config <service>

Before you run it

stop/config affect running services.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store