Jump to content

Enabling disabled service from command prompt?


Recommended Posts


Posted

To set a service's startup type, use sc.exe (one of the many underrated built-in tools):

sc config servicename start= auto

(don't forget the space after the equal sign)

That's assuming you want it set to auto, for manual, use "demand" instead of "auto"

As for starting a service, there's 2 common ways:

net start servicename

or

sc start servicename

Such things are also very easily scripted (especially using PowerShell), and there's tons of 3rd party utils for this kind of stuff too

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...