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, ≈17🔥, 0💬
Popular Posts:
What is PHP? PHP is a widely-used general-purpose scripting language that is especially suited for W...
How can I tell the number of CPU or logical processors on my Windows Server 2012? To find out how ma...
How to remove REFIEBAR.DLL - Microsoft Research Extra Toolbar Button and Extra Tools Menu Item for I...
How to configure IIS to support PHP scripts on your Windows system? If you want to support PHP scrip...
What is "@%SystemRoot%\ehome\ehs ched.exe,-101"in my Windows 7 service list? And how is "@%SystemRoo...