Skip to main content

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

    1. Click the Start Menu
    2. Type services.msc in the search bar and press Enter
    3. Locate the stuck service in the list
    4. Right-click → Properties, and take note of the Service Name
  • Open Command Prompt

    1. Press Win + R, type cmd, then press Ctrl + Shift + Enter to run as Administrator
  • Find the PID of the Service

    1. Run the following command:
    sc queryex "[Service Name]"
    
    1. Example for EDS Server:
    sc queryex "EDS Server"
    
    1. Look for the line labeled PID (Process ID).
      Example output:
    PID: 5476
    
  • Force Kill the Service Process

    1. Now use taskkill to terminate it:
    taskkill /pid [PID] /f
    
    1. Example:
    taskkill /pid 5476 /f
    

⚠️ 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.