eyeball Posted January 18, 2006 Share 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 Link to comment Share on other sites More sharing options...
seapagan Posted January 18, 2006 Share 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 Link to comment Share on other sites More sharing options...
eyeball Posted January 18, 2006 Author Share Posted January 18, 2006 Fantastic! cheers mate Link to comment Share on other sites More sharing options...
suryad Posted January 19, 2006 Share 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! Link to comment Share on other sites More sharing options...
Angelico_Payne Posted January 21, 2006 Share Posted January 21, 2006 OMG You are my idol I can run multiple disables offcourse??? Link to comment Share on other sites More sharing options...
seapagan Posted January 21, 2006 Share 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 Link to comment Share on other sites More sharing options...
Gouki Posted January 21, 2006 Share Posted January 21, 2006 Owww. Thanks, that was really helpfull!! Link to comment Share on other sites More sharing options...
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