eyeball Posted January 18, 2006 Posted January 18, 2006 hi alldoes anyone know if it is possible through a batch file to diable a service? i.e turn it from being "automatic" to "disabled"?thanks
seapagan Posted January 18, 2006 Posted January 18, 2006 You can use this :sc stop "service"sc config "service" start= disabledWhere service is the name of the service you want to stop (ie: "Automatic Updates"). Note that you must have the quotes, and that there is a space before disabled, that must be there. You can get the service names from the services control panel, enter them exactly as they are listed.SP
suryad Posted January 19, 2006 Posted January 19, 2006 You can use this :sc stop "service"sc config "service" start= disabledWhere service is the name of the service you want to stop (ie: "Automatic Updates"). Note that you must have the quotes, and that there is a space before disabled, that must be there. You can get the service names from the services control panel, enter them exactly as they are listed.SPThats helpful thanks!
Angelico_Payne Posted January 21, 2006 Posted January 21, 2006 OMG You are my idol I can run multiple disables offcourse???
seapagan Posted January 21, 2006 Posted January 21, 2006 Glad to be of .. service Yes, you can run sc multiple times in a batch file.run sc without any cmmand line to get a list of possible options - there are a lot!SP
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now