Start/Stop Service


Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Start/Stop Service activity will start, stop, pause, or restart a Windows service. The Start/Stop Service activity can be used to restart a service that has stopped responding or shut down a service in preparation for a backup. This activity uses a satellite license.

Before you configure the Start/Stop Service activity you need to determine the following:

  • The service name

  • The computer where the service is running

  • Parameters that are required to start the service.

    System_CAPS_ICON_note.jpg Note

    This depends on the service you are interacting with; it may not be required.

Use the following information to configure the Start/Stop Service activity.

Details Tab

SettingsConfiguration Instructions
ActionSelect one of the following actions that you want to take on the service:

- Start service: Start the service if it is stopped. This action is ignored if the service is already running.
- Stop service: Stop a running service. This action is ignored if the service is already stopped.
- Pause service: Pause a running service. This action is ignored if the service is already stopped or paused.
- Restart service: Stop then start a running service. If the service is already stopped it will only be started.
ComputerType the computer where this service is running. Type localhost to specify the runbook server where the runbook is being processed. You can also use the ellipsis (...) button to browse for the computer.
ServiceType the name of the service. You can also use the ellipsis (...) button to browse for the service. Browsing is only available if you have specified a valid Computer.
ParametersType any parameters that are required to interact with the Service.
Action must complete in less thanSpecify the maximum amount of time in which the action must complete. After the time has expired, the Start/Stop Service activity will timeout and return a failure.

Published Data

The following table lists the published data items.

Service display nameThe name of the service as it appears in the Windows Services control panel utility.
Service real nameThe name of the ran file that the service is running.
Service statusThe current status of the service.
Service computerThe name of the computer where the service is located.
Control ParametersThe parameters that were passed to the service when it was started, stopped, paused or restarted.
Control Time AllowanceThe maximum amount of time that was specified to complete the Start, Stop, Pause, or Restart of service action.
Control ActionThe action that was taken on the service: Start, Stop, Pause, or Restart.