Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Services Script
Name: sk8rrr Date: June 30, 2009 at 11:14:56 Pacific OS: Windows Server 2003 Subcategory: Batch
Comment:
Hey guys Im trying to make a script to set a certain service to Automatic startup mode.
I know the usual Net start and Net stop command suggestions. but thats not goign to change the service from Manual startup to Automatic.
Name: sk8rrr Date: July 6, 2009 at 20:09:39 Pacific
Reply:
thanks really good sites and i think im getting the right command. but for some reason the Start up type is not changing
Ive got :: net start "service" sc config service start= auto
Ran that in a bat file and refreshed the services a few times with no luck so far
0
Response Number 5
Name: brockey01 Date: July 6, 2009 at 20:15:22 Pacific
Reply:
try this
sc.exe config "service" start = auto sc.exe start "service"
that should work. you need quotes
0
Response Number 6
Name: Razor2.3 Date: July 7, 2009 at 05:38:55 Pacific
Reply:
sk8rrr:Ran that in a bat file and refreshed the services a few times with no luck so far Make sure you're using the service name, and not the display name. If you don't know what the service name is, you can use sc and the display name to find out.
Summary: Ok, I have searched, and searched, but all the information i can find about making a batch file or script file to monitor and start a service if it were to go down. All i have found was this "http://c...
Summary: Hi All, I have the need to set a windows service to Automatic and start that same service on multiple computers. I was wondering if there could be a script/ batch created for this rather then vist ea...
Summary: Hi ! I'm planning to set up a webserver with xDSL connection running an icq client. The icq client is used for detecting wherther the server is up or not. Could someone with icq scripting knowledge he...