Stop Service
Description
Windows: Stop Service plugin step stops a service on a local or remote Windows machine.
Configurations
Input Tab
No. | Field Name | Description |
---|---|---|
1 | Step Name | Name of the step. This name must be unique in a single workflow. |
Connection: | ||
2 | Host | Provide the Hostname, Server Name, Fully Qualified Domain Name (FQDN), or IP address of the Windows machine. Data type: String This field is mandatory. |
3 | Username | Specify the username of the Windows account to authenticate. Data type: String This field is mandatory. |
Password: | ||
4 | Accept Value as variable/static | Leave the checkbox unchecked to accept the Password value from a field in the previous steps using a drop-down list. Enable the checkbox to enter the Password value as text. Data type: String This field is mandatory. |
5 | Password | Specify 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 supports both text (static value or environment variable) and combo (drop-down with values from previous steps). If the checkbox above is enabled, the Password field appears as a text box. If the checkbox is disabled, the Password field appears as a drop-down. Data type: String This field is mandatory. |
6 | Service Name | Specify the name of the service to be stopped. Data type: String This field is mandatory. |
7 | Force Stop | Specify whether to force stop the service. Allowed values are 'YES' and 'NO' . Data type: String This field is mandatory. Note: In case of an exception, a Windows return value does not occur if the Force Stop option is set to YES. |