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, ≈16🔥, 0💬
Popular Posts:
What is the scheduled task "\Microsoft\Windows\NetC fg\BindingWorkItemQueueH andler"on my Windows 8 c...
How to write a batch file? I want to print "Hello world!" message on the screen. You can follow this...
Why HelpSvc.exe Is Causing Windows XP to Stop Responding - Using High CPU and Memory? Many users hav...
How set up "live tv" in Windows Media Center on Windows 7? If you have TV tuner installed on your co...
What is MUWebControl Class - Download Program Files (DPF)? MUWebControl Class is a Download Program ...