AppCtrlScript

MAY Computer

Help

STOPSERVICE

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Service

See also  

GETSERVICENAME, GETSERVICESTATE, STARTSERVICE, PAUSESERVICE, CONTINUESERVICE

Stops the specified service. As service name the internal service name must be used. Often the internal service name is identical with the name displayed in control-panel->Services but not always. If you are not sure about the internal service name, it can be retrieved with the GETSERVICENAME command.

Syntax

STOPSERVICE <ServiceName>[, <Host>]

Part

Description

<ServiceName> Internal service name. If not available use the GETSERVICENAME command to retrieve it.
<Host> Optional host name; if omitted the local host is assumed.