Search For A Solution!

Total Pageviews

Thursday, June 29, 2017

How to force kill a windows application (not responding) OR All instances of a running app!

NOT RESPONDING:
  1. Open cmd as administrator
  2. Type: taskkill /f /fi "status eq not responding"

ALL INSTANCES:
  1. Open cmd as administrator 
  2. Type: taskkill /IM chrome.exe /f 

Info:
Taskkill is the command that kills the process.
  • /f  parameter to forcefully kill it. 
  • /fi parameter to apply it only on processes that meet the filter criterio.
  • The text in quotes is the criterio we set. We will kill only the processes with a status equal to Not Responding.
Extra:
If you right click on your desktop and create a new shortcut and copy paste above command, you will have it handy now at all times!

FIND PID in Windows Task Manager!
In the Windows Task Manager window, go to the Processes tab.
In the menu, click View -> Select Columns.
Click the PID (Process Identifier) checkbox.
Click OK.

In the Processes tab, you can now view its PID in the corresponding column.

Enjoy,
Call2fixit

No comments:

Post a Comment