User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Windows Scripting Page [1]  
Genki
All American
590 Posts
user info
edit post

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

Shaggy
All American
17820 Posts
user info
edit post

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 do

sc 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

 Message Boards » Tech Talk » Windows Scripting Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.