Use the net.exeand SC .exe utilities to start and stop Windows Services.

Source: Internet
Author: User
Use net.exeand SC .exeProgramStart and Stop Windows Services

Net.exe Utility

The Service Management Unit is easy to use, but the system administrator cannot automate it because it cannot be used in management scripts. To automatically control the service, use the command line tool net.exe. The Net start command displays all running services. Net start servicename starts the service and net stop servicename sends a stop request to the service. In addition, net pause and net continue can be used to suspend and continue the Service (of course, they can only be used when the service permits them ).

SC .exe Utility

SC. cxe is a well-known utility released as part of the operating system. SC .exe is a very
Useful tools. Compared with the net.exe.exe program, the SC .exe utility is more powerful. Use the SC .exe utility
To check the actual status of the service, or to configure, delete, and add a service. You can
Use the SC .exe utility to uninstall the service.

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.