Controlling a Service Using SC

The Win32 SDK contains a command-line utility, SC.EXE, that can be used to control a service. Its commands correspond to the functions provided by the SCM. The syntax is:

sc ServerName [command] ServiceName

ServerName

Optional server name. Use the form \\ServerName.

Command

start
pause
interrogate
continue
stop
control

ServiceName

The name of the service, as specified when it was installed.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database