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, 13081👍, 0💬
Popular Posts:
How to Add MP3 Folder to Windows Media Player Library ? 1. Start Windows Media Player. 2. Click the ...
What is the startup program "fsquirt - fsquirt.exe" on my Windows 8 computer? Can I remove it to spe...
How to remove jusched.exe from startup program list? jusched.exe is a background process from Sun to...
How to add a password to stop other people editing my PowerPoint file? I want share a PowerPoint fil...
What is "Health Key and Certificate Management" in my Windows 7 service list? And how is "Health Key...