You will typically use the Services GUI in Windows to configure the startup type for a service.
However, you can also use the Sc command to set the startup type from the command line:
sc config <service name> start=<mode>
For example,
sc config tlntsvr start=auto
automatically starts the tlntsvr service when you boot the system.
Possible start options are:
auto |
the service will be automatically started at boot time, even if no user logs on |
boot |
the device driver will be loaded by the boot loader |
demand |
the service must be manually started (the default) |
disabled |
the service can’t be started |
system |
the service will be started during kernel initialization |
|