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.

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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store