I know you can start/stop windows services through wmi but I can't seem to find any information pertaining to explicitly changing the "Startup Type" in services besides manually. Anybody have any ideas?
3/14/2006 10:48:13 AM
there is a command line utility "sc.exe" that lets you control service config.sc config [servicename] start= [start type] would be the syntax.keep in mind that the service name is not the same as the display name listed in the services list (services.msc).to find the service name from the display name dosc getkeyname [displayname]if you just do sc you'll get a list of commands. And then for more info just do sc [command]. So like sc config will give you the syntax and options for service configuration.
3/14/2006 11:05:42 AM