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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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