Changhui Xu
1 min readMay 8, 2020

--

Hi priya dave,

You typically use the Services GUI in Windows to configure a services start-up type, but you can also use the SC command to set the start-up type from the command line:

sc config <service name> start=<mode>

The start options are:

  • auto — a service automatically started at boot time, even if no user logs on
  • boot — a device driver loaded by the boot loader
  • demand — a service that must be manually started (the default)
  • disabled — a service that can’t be started
  • system — a service started during kernel initialization

You need to have Admin privileges to perform this change either via GUI or CLI. Hope it helps.

--

--

Changhui Xu
Changhui Xu

Written by Changhui Xu

Lead Application Developer. MBA. I write blogs about .NET, Angular, JavaScript/TypeScript, Docker, AWS, DDD, and many others.

No responses yet