Using WIScanStopper.exe
The WIScanStopper.exe application enables you to stop a scan that is currently running.
Note: This feature is not supported in OpenText DAST on Docker.
To stop a scan that is running, type the following on the command line:
WIScanStopper {scanid}
The WIScanStopper.exe application stops the scan with the specified scan ID (GUID). The application returns one of the exit codes described in the following table.
| Code | Description |
|---|---|
| 0 |
The scan successfully stopped. |
| 1 |
The given argument is not a GUID. Try the command again with a valid scan ID (GUID). |
| 2 |
The scan with the given GUID was not found to be running on the machine. Verify the scan ID (GUID) and try the command again. |
| 3 |
A timeout occurred while waiting for the scan to stop. There is a 60 second timeout. When the stop command is sent, the process waits for the scan to stop. If 60 seconds elapses before the scan status changes, then the timeout occurs and the process returns this code. |
| 4 |
Some other exception has occurred. |
Tip: You can restart a scan that is stopped using the WI.exe application with the -ir {scanid} parameter. For more information, see Options.