How do I enable a service from the command line?

How do I enable a service from the command line?
Answer
Enable service
  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to enable a service and press Enter: sc config “SERVICE-NAME” start=auto. …
  4. (Optional) Type the following command to start the service and press Enter:
 

Tìm kiếm

Back
Top