Last Updated: February 25, 2016
·
644
· jgemedina

Configure the startup type of a Windows Service from the CLI

Auto-start service when computer starts
sc config <servicename> start= auto

Manually start service
sc config <servicename> start= demand

Disable a service
sc config <servicename> start= disabled

Instead of doing through the UI, nothing relevant but could come handy.