Skip to content

Instantly share code, notes, and snippets.

@kbaesler
Created January 17, 2019 17:23
Show Gist options
  • Save kbaesler/cb930df90e850df615dfec8d9c78e039 to your computer and use it in GitHub Desktop.
Save kbaesler/cb930df90e850df615dfec8d9c78e039 to your computer and use it in GitHub Desktop.
If you have a service that is not responding or showing pending in Windows services that you are unable to stop, use the following directions to force the service to stop.

If you have a service that is not responding or showing pending in Windows services that you are unable to stop, use the following directions to force the service to stop.

  1. Click the Start menu
  2. Click Run or in the search bar type services.msc
  3. Press Enter
  4. Look for the service and check the Properties and identify its service name
  5. Once found, open a command prompt. Type sc queryex [servicename].
  6. Press Enter
  7. Identify the PID
  8. In the same command prompt type taskkill /pid [pid number] /f
  9. Press Enter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment