Jump to content

batch file to disabe a service


eyeball

Recommended Posts


You can use this :

sc stop "service"
sc config "service" start= disabled

Where 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

You can use this :

sc stop "service"
sc config "service" start= disabled

Where 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

Thats helpful thanks! :yes:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...