Perform SC Service Stop


Sends a STOP control request to a service.

Note

This workflow is available only for use in Microsoft Windows environments.

 Workflow inputs – Perform SC Service Stop

Call Workflow Input

Description

Required

Default Value

connection details

XML document conforming to the Connection Details common object that contains the information required to execute a command via command line.

Yes

n/a

service name

Specifies the service name returned by the getkeyname operation.

Yes

n/a

server name

Specifies the name of the remote server on which the service is located.

 

Note

The name must use the Universal Naming Convention (UNC) format ("/myserver"). To run SC.exe locally, ignore this parameter.

No

Name of server on which the service is located.

 

 Workflow outputs – Perform SC Service Stop

Call Workflow Output

Description

output

XML document consisting of one or more <line> elements that contain the command response. Each <line> element contains an index attribute indicating the order in which the information was returned by the command.

success

Did the operation succeed?

 

Valid values: true, false

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*