sc config changes how a Windows service is configured. After learning how to sc query a service, sc start it, and sc stop it, the next step is changing settings such as whether the service starts automatically, manually, with a delay, or not at all.

Basic Syntax
The everyday form is sc.exe config ServiceName start= mode. Microsoft’s current sc.exe config reference says the command modifies a service’s entries in the registry and Service Control Manager database. The important beginner detail is unusual: the equals sign belongs to the option name, and there must be a space before the value.
sc.exe config ExampleService start= auto
sc.exe config ExampleService start= demand
sc.exe config ExampleService start= delayed-auto
sc.exe config ExampleService start= disabled
sc config command.The Four Startup Types You Will Use Most
start= auto— start the service automatically during normal system startup.start= delayed-auto— start automatically, but after the main automatic-start services.start= demand— manual/on-demand startup.start= disabled— prevent the service from starting until its configuration is changed again.
Changing the startup type does not necessarily change the service’s current running state. A service can be running while configured for manual startup, or stopped while configured for automatic startup. Use sc query ServiceName to inspect the current state and use sc start or sc stop when you actually need to change whether it is running.
Use the Service Name
sc.exe expects the service’s internal service name, which may differ from the friendly display name shown in the Services app. Before changing anything, query the service or inspect its properties. Microsoft’s broader SC service-configuration documentation explains that Sc.exe communicates with the Service Control Manager and can query or modify installed-service configuration.
Example: Change a Service to Manual
sc.exe query Spooler
sc.exe config Spooler start= demand
sc.exe query Spooler
The first command confirms that the service exists and shows its current state. The second changes the saved startup type to Manual. The third checks the service again. Remember that sc query reports the running state, not every stored configuration field; for deeper configuration inspection, a later Windows Command lesson can cover sc qc.
sc config <servicename> start=demand as the command-line way to switch a service from Automatic to Manual.The Space After = Matters
This is one of the easiest sc.exe syntax mistakes to make. Write start= auto, not start=auto. Microsoft specifically documents that each option includes the equals sign and that a space is required between the option and its value. If a command fails unexpectedly, check the spacing before troubleshooting anything more complicated.
Run Elevated and Change Services Carefully
Service configuration commonly requires an elevated Command Prompt. More importantly, do not disable unfamiliar Windows services just to experiment. Services can support networking, authentication, storage, security, updates, printing, remote management, and other parts of the operating system. Practice on a lab VM or with a service whose purpose and dependencies you understand. For broader troubleshooting, review OSITC.003 — Windows Process Troubleshooting.
Quick Lab
- Open Command Prompt as Administrator on a Windows lab machine.
- Choose a noncritical test service whose purpose you understand.
- Run
sc.exe query ServiceName. - Change its startup type with
sc.exe config ServiceName start= demand. - Change it back to its original setting when finished.
- Do not assume changing the startup type started or stopped the service; verify the running state separately.
Knowledge Check + Answers
- What does
sc configchange? Stored Windows service configuration. - What does
start= automean? The service is configured for automatic startup. - What does
start= demandmean? Manual/on-demand startup. - What does
start= disabledmean? The service cannot start until its configuration is changed. - Does
sc configautomatically start or stop the service? No. Configuration and current running state are separate. - What easy syntax detail causes failures? Forgetting the required space after the equals sign.
Previous Windows Commands
Editor’s Note
The featured image uses approved realistic editorial photography with one clear subject and no poster-style typography, UI boxes, fake infographic layout, or dashboard composition. The body image is a separate relevant photograph. The YouTube and Reddit embeds are directly about Windows service startup configuration and sc config.
BitcoinVersus.Tech is not a financial advisor. Content is provided for informational and educational purposes.

Leave a comment