The control method to use to add, edit, start, restart, or stop the service.

You can use one of the following values:


For the UpdateServiceConfig action, you need to set the ControlMethod parameter only when you set RestartService to True.

Actions: AddService, EditServiceInfo, RestartService, StartService, StopService, UpdateServiceConfig
Type: String
Default: Process
Required: No
Example: ControlMethod=SCM
See Also: InitScriptPath
RestartService (action parameter)