Windows: Using DOS Command Management Service (services)

Source: Internet
Author: User
Tags net command

One, view windows Service

Press and hold the key combination "Windows+r" and enter Services.msc to open the Windows Services window

Second, use the net command

NET command-line tool is very powerful, including management network environment, services, users and other important management functions, using this General command to start and stop services.

1, start the service

net start Service-name

2, Stop the service

net stop Service-name

Third, use SC command

SC is a command-line program for communicating with service controllers and services, calling format: SC (server) [command] [service name] (option1) (option2) ...

The SC command is a dedicated command for the management Service, using the following example:

SC Delete service-namesc query Service-namesc stop service-namesc start service-Namesc Pause Service-name
sc config Service-name start= demand | Auto | Disable

Use/? parameters, see Help for using the SC command:

SC/?

Windows: Using DOS Command Management Service (services)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.