Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Changing the startup-type of an W2K or NT Service

How can I change the startup-type of an W2K or NT Service from the commandline?
0
joernmasch
Asked:
joernmasch
  • 2
1 Solution
 
frankaCommented:
do you have access to the reskit?

sc.exe should do that.
0
 
MacrosCommented:
It does. The syntax is:

SC CONFIG servicename START= AUTO

The other options for startup type are BOOT, SYSTEM, DEMAND and DISABLED.

Note: The space after the = is important

Steve
0
 
joernmaschAuthor Commented:
Yeep, it works, thank you!
0
 
MacrosCommented:
You're welcome. You might want to post another non-question Q to award franka and answer - he mentioned SC.EXE first. I gave you the full syntax.

Steve
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now