DOS command for startup/shutdown service

Source: Internet
Author: User

A brief introduction to the two DOS commands to start/close the service: 1, net start service, or display the list of started services.   If the service name is two or more words, such as net Logon or computer Browser, you must quote "service name" net start//Show all currently started service net start [services] Start specifying service net STOP [services]/stop specifying service services services include the following: Alerter, client Service for NetWare, ClipBook server, computer Br
Owser, DHCP client, directory Replicator, EventLog, FTP Publishing Service,
Lpdsvc, Messenger, Net Logon, network DDE, network dde dsdm, Network Monitor
ing agent, nt lm security Support Provider, OLE, remote access connection man
Ager, remote access ISNSAP service, remote access server, remote procedure CA
LL (RPC) locator, remote procedure call (RPC) service, schedule, server, SIM
ple TCP/IP Services, SNMP, spooler, TCP/IP NetBIOS Helper, workstation, and more are available in the server version of the system: File Server for Macintosh, GAT eWAY Servic
E for NetWare, Microsoft DHCP server, print Server for Macintosh, Remoteboot, WI
Ndows Internet Name Service 2, SC       common functions:                1. Change the startup state of the service (this is a useful feature)                2. Delete Service (unless the hardware and software required for your own computer is clearer, it is not recommended to remove any system services, especially the underlying services)                 3. Stop or start the service (features similar to net Stop/start, but faster and can stop services more)        Use                1, modify service startup type                       SC config [services] start= demand (set service to manual start)                                                              start= Auto (set service to start automatically)                                                              start= Disabled (set service to Disabled)                      Note "=" to be followed by a space                2, stop/start service

SC Stop/start [Services]

D:/webserver/resin-2.1.17/bin>httpd-install
The d:/>net start resin
resin Web Server Service has started successfully.
d:/>net Stop resin
Resin Web Server service is stopping ....
The Resin Web Server service has stopped successfully.

d:/>

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.