Manually Force a Service to Stop If Not Responding
Sometimes, services like EDS Server
or EDS InstallerService
may hang and cannot be stopped via the Services Manager (services.msc
). This guide walks you through how to forcefully stop a non-responsive Windows service using the Command Prompt.
🔧 Step-by-Step Instructions
-
Open Services Manager
- Click the Start Menu
- Type
services.msc
in the search bar and press Enter - Locate the stuck service in the list
- Right-click → Properties, and take note of the Service Name
-
Open Command Prompt
- Press
Win + R
, typecmd
, then pressCtrl + Shift + Enter
to run as Administrator
- Press
-
Find the PID of the Service
- Run the following command:
sc queryex "[Service Name]"
- Example for
EDS Server
:
sc queryex "EDS Server"
- Look for the line labeled
PID
(Process ID).
Example output:
PID: 5476
-
Force Kill the Service Process
- Now use
taskkill
to terminate it:
taskkill /pid [PID] /f
- Example:
taskkill /pid 5476 /f
- Now use
⚠️ Notes
- You must run Command Prompt as an Administrator.
- If the PID does not appear, the service may already be stopped or in a different state.
- Be cautious when using
taskkill
—ensure the PID corresponds to the correct service.
No Comments