# 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**

   6. Press `Win + R`, type `cmd`, then press `Ctrl + Shift + Enter` to **run as Administrator**

- **Find the PID of the Service**
  
   7. Run the following command:
     ```
     sc queryex "[Service Name]"
     ```
   8. Example for `EDS Server`:
     ```
     sc queryex "EDS Server"
     ```
   9. Look for the line labeled `PID` (Process ID).  
     *Example output:*
     ```
     PID: 5476
     ```

- **Force Kill the Service Process**
  
   10. Now use `taskkill` to terminate it:
     ```
     taskkill /pid [PID] /f
     ```
   11. 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.