Open topic with navigation

# StartService

The `StartService` action starts the service that you specify using the `Port` parameter.

## Example

    a=StartService&Port=9000

    a=StartService&Port=9000&ControlMethod=SCM

    a=StartService&Port=9000&ControlMethod=Script

NOTE:

You must have Windows administrator privileges to use this action.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
Port | The port that the service that you want to start is running on.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
ControlMethod | The control method to use to start the service.

## Comments

You can also submit this action from Coordinator by specifying the `ControllerUUID` parameter. By default, the action is asynchronous, but you can run it synchronously by setting the `Synchronous` parameter to `True`.

If the response is successful, the response contains the following information:

- A token for the Controller server(`<ControllerToken>`).
- The request port number (`<Port>`).
- The UUID of the Controller server in question (as specified by the `ControllerUUID` parameter).

You can use the token with the `QueueInfo` action to find the status of the action. For example:

    action=SendAction&ControllerUUID=<UUID>&Command=QueueInfo&QueueAction=GetStatus&QueueName=<Action>&Token=<ControllerToken>

If the response fails, it contains an error. Usually this is as a result of an issue with underlying Controller server, or as a result of an issue with Coordinator itself if the Controller server is down.

For more information, refer to the Coordinator Reference.

## See Also

- AddService
- EditServiceInfo
- FindServices
- GetServices
- RemoveService
- RestartService
- StopService

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm