Skip to main content

Restart Service

Description

Windows: Restart Service plugin step restarts a service on a local or remote windows machine.

Configurations

Input Tab

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
### Connection:
2HostProvide the Hostname/Server Name/Fully Qualified Domain Name/IP address of the Windows machine.
This field is mandatory.
3UsernameSpecify the username of the Windows account to authenticate.
This field is mandatory.
### Password:
4Accept Value as variable/staticLeave the checkbox unchecked to accept the Password value from a field in the previous steps of the stream using a drop-down list.
Enable the checkbox to display the Password field as a text box.
5PasswordSpecify the password of the Windows account. The password is encrypted and is not stored in the .psw workflow file.

Password is entered using a widget that handles both Text (static value or environment variable) and Combo (drop-down containing values from previous steps).
If the checkbox above is enabled, the Password field appears as a text box. Otherwise, it appears as a drop-down list.
This field is mandatory.
6Service NameSpecify the Service Name to be restarted.
This field is mandatory. The data type is String.
7Force RestartForce Restart. Allowed values are only 'YES' or 'NO'.

Note: In case of exception, a Windows return value does not occur if the Force Restart option is 'YES'.
This field is mandatory. The data type is String.