Categories:
Administration (10)
Adware Spyware (7)
Apache (10)
Bluetooth (125)
DOS Commands (1)
Edge (28)
General (2)
Internet Explorer (217)
Media Center (12)
Media Player (11)
Mozilla Firefox (18)
PHP (15)
Programming (8)
Security (4)
Silverlight (15)
Tips (17)
Tools (218)
Tutorials (5)
Windows 10 (166)
Windows 7 (636)
Windows 8 (1091)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (52)
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, 13603👍, 0💬
Popular Posts:
What is "Net.Tcp Listener Adapter" in my Windows 7 service list? And how is "Net.Tcp Listener Adapte...
What is "Lenovo Camera Mute" in a service on Lenovo laptop computer that supports the camera on/off ...
Why am I getting a blank page when running PHP scripts to access MySQL database? Assuming that you h...
How do I get the latest version of Windows Defender? If you installed Windows AntiSpyware (Beta) pri...
Can I disable Windows service "ClipBook" to speedup my computer? Windows service "ClipBook" - Enable...