Friday, January 6, 2023

Windows: How to kill a hung service process

In some situations, Microsoft Windows services, when starting up, shutting down, or just while running, may freeze and stop responding. To kill a service process, you need to find out its name. Go into the services.msc snap-in and find the necessary service. Open its properties and remember the value of the field: "Service name".
Then run an elevated command prompt and execute:

taskkill /F /FI "services eq service_name"

No comments:

Post a Comment