The STOP command stops the service passed to it as parameter and closes the applicationassociated with the service.
Syntax:
APP2SRV STOP /SN=name [/RUSR=user /RHOST=name/IP /RPWD=password] |
Parameter | Description |
SN | Required parameter that is the valid name of the service you want to install. Note: whitespaces (such as spaces, tabs and punctuation) are not allowed. |
RHOST | Optional parameter that is the remote computer’s name or IP. This parameter is applicable only together with RUSR and RPWD parameters. For OEM License owners only. |
RUSR | Optional parameter that is the administrator account name under which you want to login to the remote computer. This parameter is applicable only together with RHOST and RPWD parameters. For OEM License owners only. |
RPWD | Optional parameter that is the remote account password. This parameter is applicable only together with RHOST and RUSR parameters. For OEM License owners only. |
Return value:
0 – if the command succeeds. Otherwise "-1" or the error code is returned.