Collections:
Other Resources:
Service Controller "sc create" Command on Windows 8
How to use Service Controller "sc create" command to create a new services on Windows 8?
✍: FYIcenter.com
Service Controller "sc create" command can be used to create a new service on Windows 8.
Before running this command,
you need to prepare the following minimum information:
For example, the following command creates a new service called "CalcService":
C:\users\fyicenter>sc create CalcService DisplayName= Calculator
binPath= c:\windows\system32\calc.exe
[SC] CreateService SUCCESS
C:\users\fyicenter>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.
2016-12-18, ∼4493🔥, 0💬
Popular Posts:
How to remove BTTray.exe from startup program list? If you are not using any bluetooth devices, you ...
What files are stored in the "C:\Users\<userid >\AppData\Local\M icrosoft\Windows\Tempor. ..
What are the commonly used background processes on Windows systems? A background process is a progra...
How do I copy customized media information for my files to my new computer? When you add or edit med...
How to terminate a program that does not respond to its interface? Sometimes applications may encoun...