HOW TO

How to terminate a stalled manual stoppage of ArcGIS Server using the Command Prompt

First Published: July 15, 2026
Last Published: July 15, 2026

Summary

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.

ArcGIS Server service stalled while stopping

If the Refresh command does not resolve the issue, the task can be aborted using the Command Prompt.

Procedure

  1. Search for Command Prompt on the machine and Run as Administrator.
  2. Input the following command:
sc queryex "ArcGIS Server"
  1. Once returned, use the PID provided and input the following command:
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.

command prompt showing query results

Article ID: 000042668

Software:
  • ArcGIS Server

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options