Navigation:  Actions > Server >

Service Action

Previous pageReturn to chapter overviewNext page

This action creates a step to stop and start a Windows service on the local computer or another computer on the network.  Select or enter the computer name (or enter blank for the Computer for the local computer) and service name and choose whether it should be stopped or started.  The service name must be the display name as shown in the Name column of the Services management console, not the short service name.

 

Service

 

Computer: The name of the computer to start or stop a service on (optional; blank for local computer).

 

Service: The display name of the service to start or stop (required).

 

Action: The action to perform on the service.

 

Timeout: The maximum amount of time to wait for the service to start (optional; defaults to 100 retries on wait hint provided by service if blank or 0).

 

Notes:

See the Server.bld sample for a project utilizing this action.
To access services on a remote computer, the Remote Procedure Call service on the remote computer must be started.  Your network configuration may also need to be adjusted to allow access through Windows Firewall.