DOS has gradually gone away, we are used to using Windows 98/Me/2000/XP every day, but do you understand DOS in Windows? Sometimes DOS is much more convenient and faster than Windows. After all, this is a classic of the operating system. The following is a small series to show you how to use the dos command to turn Windows services on or off.
1. Start the service program or shut down the service program using the net start/stop command
net start ServiceName (service Name)
net stop ServiceName
If there is a space in the service name, you need to enclose it in double quotation marks. For example:
C:\\>net start “Windows Firewall/Internet Connection Sharing (ICS)”
The Windows Firewall/Internet Connection Sharing (ICS) service is starting.
The Windows Firewall/Internet Connection Sharing (ICS) service has started successfully.
C:\\>net stop “Windows Firewall/Internet Connection Sharing (ICS)”
The Windows Firewall/Internet Connection Sharing (ICS) service has stopped successfully.
2, use the sc command to start the service program or close the service program
sc start ServiceName (service name)
sc stop ServiceName (service name)
For example:
C:\\>sc start Apache_pn
SERVICE_NAME: Apache_pn
TYPE : 10 WIN32_OWN_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0×0)
SERVICE_EXIT_CODE : 0 (0×0)
CHECKPOINT : 0×0
WAIT_HINT : 0x7d0
PID : 8756
FLAGS :
C:\\>sc stop Apache_pn
SERVICE_NAME: Apache_pn
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING Previous 12 Next Page Total 2 Pages
There are always various problems when the computer is used for a long time, such as: the computer c
msconfig command, is the system configuration settings, TA can set the computer boo
Many Windows XP system users know that dial-up connection to the Internet, dial-up connection is als
In our daily use of computers, display failures are also common, and the ripples on computer monitor
Teach you how to start remote desktop connection
WinXP sets the screen protection color for the computer
WinXP system mouse left button is not sensitive how to do?
How WinXP retrieves the folder options in Explorer
Why does my hard drive become a pluggable device after installing this system?
How to speed up your WinXP search function clever method
Know the startup mode of windows xp system
WinXP prompts that no network provider accepts the specified network path. What should I do?
What if WinXP cannot change the password? How to solve?
Vista can't access the Internet, it can't ping problems
How does Win10 disable Cortana? How do I change the Cortana search box to a search icon?
Win8.1 skills to deal with LAN ping nowhere computer has a trick
How to set compatibility mode for Firefox browser
Win10 official version 10586.122 KB3140743 patch remediation third-party application private default
What is the automatic hop? How to modify Win7 automatic hop?
System acceleration starts from step-by-step optimization of XP system (6)
Win7 desktop icon text hiding method
Multi-system independent startup setting method such as Windows XP
Win10 th2 push update? Win10 Th2 update content and new features summary