Collections:
Other Resources:
Creating New Services with sc.exe Command
How to use sc.exe command to create a new service?
✍: FYIcenter.com
Run sc.exe in a command window and follow this tutorial:
C:\>sc create CalcService binPath= c:\windows\system32\calc.exe
DisplayName= Calculator
[SC] CreateService SUCCESS
C:\>sc query CalcService
SERVICE_NAME: CalcService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,..
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Note that the "=" sign is part of the command option name, and you must enter a space between the option name and the option value.
2007-01-01, ≈27🔥, 0💬
Popular Posts:
How can I tell the number of CPU or logical processors on my Windows Server 2016? To find out how ma...
Why I am getting the "Warning: Unresponsive Script" message box? How to avoid this message box? When...
What is the HP computer registration process? If you bought a new HP computer and doing the initial ...
How to remove GoogleToolbarNotifier.ex efrom startup program list? If you want to remove GoogleToolb...
Can I disable Windows service "Network DDE" to speedup my computer? Microsoft application service "N...