HOW TO
After attempting to manually stop ArcGIS Server in the Windows Services console, the task can stall and become stuck in the 'Stopping' Status phase, as shown in the next image.

If the Refresh command does not resolve the issue, the task can be aborted using the Command Prompt.
sc queryex "ArcGIS Server"
taskkill /F /PID 8668
Note: The PID number is the one provided from the response to initial command, in the example shown in the image below, this is 8668.

Article ID: 000042668
Get help from ArcGIS experts
Start chatting now