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:/>