service startup type

  • Thread starter Thread starter Ben Langhals
  • Start date Start date
B

Ben Langhals

Is there a way to change a windows service startup type (automatic,
manual, disabled) using the command line. I thought the net command
might help, but I could not find what I wanted.

Even better, is there a way to do the something, but send it as a remote
command to another machine on the same network?
 
I don't know of any way to do it via command line, however you could pretty
easily write one. Your app could read various parameters from the command
line and call ChangeServiceConfig().
 
Back
Top