bmanice Posted July 27, 2007 Posted July 27, 2007 Is there any way to create a file (i was thinking a batch) that would toggle my windows services? sometimes i like to have bare bones services running but sometimes i need the default xp set-up. . . thanks in advance. . . Quote
bmanice Posted July 27, 2007 Author Posted July 27, 2007 that doesnt allow you to start disabled services, maybe i should have worded my question different. I would like to enable & disableĀ (ie: Automatic, Disabled, Manual) thanks again... Quote
remkow Posted July 27, 2007 Posted July 27, 2007 use this command to enable a service: sc config servicename start= auto More information: C:>sc config Modifies a service entry in the registry and Service Database. SYNTAX: sc <server> config [service name] <option1> <option2>... CONFIG OPTIONS: NOTE: The option name includes the equal sign. type= <own|share|interact|kernel|filesys|rec|adapt> start= <boot|system|auto|demand|disabled> error= <normal|severe|critical|ignore> binPath= <BinaryPathName> group= <LoadOrderGroup> tag= <yes|no> depend= <Dependencies(separated by / (forward slash))> obj= <AccountName|ObjectName> DisplayName= <display name> password= <password> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.