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.
Written by Jorge Medina
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Windows service
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#