1. Create a new shortcut on an easy to access location (mine is right in the system desktop) and paste the following in the 'Target' field:
Code: Select all
%COMSPEC% /K "TASKLIST /FI "STATUS eq NOT RESPONDING""
Now whenever you double click this shortcut, it will spawn a console window with a list of non-responding processes (be aware that not every process listed is in fact locked up -- portable launchers, for instance, only appear so).
You can kill any of those by executing this command in the same console window:
Code: Select all
TASKKILL /PID [pidnumber] /F
EDIT: or you might just copy+paste the following into a text file, rename it 'kill.cmd' and drop it somewhere on your path to be able to kill processes with a simple "killl XXXX" command...
Code: Select all
@TASKKILL /PID %1 /F