How to Use the sc Command to Manage Services in Windows 11

The Hidden Engines of Windows 11

When you start your Windows 11 computer, hundreds of invisible background programs launch before you even reach the login screen. These programs, called “Services,” handle everything from managing your Bluetooth connections to downloading Windows updates and securing the system firewall.

If a specific application suddenly stops working—for example, if you cannot print a document—the graphical solution is to open the “Services.msc” app, scroll through hundreds of entries to find the “Print Spooler,” right-click it, and select Restart. While this works for a single machine, it is incredibly inefficient if you are an IT administrator trying to fix the Print Spooler on twenty different computers simultaneously.

To interact with Windows Services instantly from the command line, and easily build automated repair scripts, you must use the sc (Service Control) command.

Step 1: Open the Command Prompt

Because stopping and starting core system services can drastically affect the stability of the operating system, you must run this tool as an administrator.

  1. Press the Windows Key, type cmd.
  2. Right-click on Command Prompt and select Run as administrator.

Step 2: Querying a Service Status

Before you restart a service, you should check its current state to see if it has actually crashed.

To check the status of the Windows Update service (whose internal name is wuauserv), run:

sc query wuauserv

The terminal will output a detailed block of information. The most important line is the STATE. It will clearly tell you if the service is currently RUNNING, STOPPED, or stuck in a START_PENDING loop.

Step 3: Stopping and Starting Services

If a service is actively malfunctioning and refusing to respond to software requests, you can forcefully terminate it using the stop command.

sc stop wuauserv

The terminal will immediately send a stop control request to the service. You can then query it again to ensure the state has changed to STOPPED.

Once the service has cleanly shut down, you can boot it back up fresh using the start command.

sc start wuauserv

This simple two-step process (Stop, then Start) is the foundation of 90% of basic Windows troubleshooting.

Step 4: Changing the Startup Type

Some third-party software applications install custom background services and set them to launch automatically every single time the computer turns on. If you have ten different heavy applications doing this, your computer’s boot time will slow to a crawl.

You can use the sc config command to change a service’s startup behavior so it only launches when you explicitly ask it to (Manual), or disable it entirely.

Assume a heavy video editing software installed a background rendering service called RenderEngine. To prevent it from launching automatically at boot:

sc config RenderEngine start= demand

Crucial Formatting Note: When using the config command, you must type a space exactly after the equals sign (start= demand). If you type start=demand without the space, the command will fail with a syntax error.

Step 5: Safely Deleting a Service

When you uninstall an old program, it sometimes fails to cleanly remove its background service. This leaves a dead “ghost” entry polluting your Services list and potentially causing errors in the Event Viewer.

You can permanently eradicate a dead service from the Windows Registry using the delete command.

sc delete DeadService123

Warning: Never use the delete command on a core Microsoft service. Deleting a critical system service will instantly corrupt your Windows installation and prevent the machine from booting.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.