Categories:
Administration (161)
Adware Spyware (43)
Apache (20)
Bluetooth (127)
DOS Commands (2)
Edge (28)
General (5)
Internet Connection (21)
Internet Explorer (224)
Media Center (14)
Media Player (135)
Mozilla Firefox (22)
MS Access (9)
Performance (204)
PHP (25)
Programming (36)
Security (109)
Silverlight (22)
Tips (144)
Tools (312)
Tutorials (40)
Windows 10 (193)
Windows 7 (1411)
Windows 8 (1712)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (71)
Windows XP (23)
Collections:
Other Resources:
Starting and Stopping Services with sc.exe Command
How to use sc.exe command to start and stop an existing service?
✍: FYIcenter.com
Run sc.exe in a command window and do the following:
C:\>sc query dnscache SERVICE_NAME: dnscache TYPE : 20 WIN32_SHARE_PROCESS STATE : 4 RUNNING (STOPPABLE,NOT_PAUSABLE,IGNORES_ WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 C:\>sc stop dnscache SERVICE_NAME: dnscache TYPE : 20 WIN32_SHARE_PROCESS STATE : 3 STOP_PENDING (NOT_STOPPABLE,NOT_PAUSABLE,... WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 C:\>sc start dnscache SERVICE_NAME: dnscache TYPE : 20 WIN32_SHARE_PROCESS STATE : 2 START_PENDING (NOT_STOPPABLE,NOT_PAUSABLE,... WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x7d0 PID : 2640 FLAGS :
2007-01-01, 12961👍, 0💬
Popular Posts:
What is helpctr.exe - Microsoft Help and Support Center? helpctr.exe is the executable binary file o...
What is the HP computer registration process? If you bought a new HP computer and doing the initial ...
What is the "Server (LanmanServer)" system service on Windows Server 2012? Can I disable "Server"? "...
Can I disable Windows service "Infrared Monitor" to speedup my computer? Windows service "Infrared M...
What is "Office Source Engine" in my Windows 7 service list? And how is "Office Source Engine" servi...