service startup type

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?
 
J

John Phillips

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().
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top