CyberSolutions: Add “Kill Not Responding Tasks” in Desktop Context Menu

Monday, October 19, 2015

Add “Kill Not Responding Tasks” in Desktop Context Menu

Today in this tutorial, we'll tell you how to add this shortcut in Desktop context menu so that you can access it quickly and easily.




It'll only work in Windows Vista and later.
Following are the required steps:
  • Type regedit in RUN or Start Menu search box and press Enter. It'll open Registry Editor.
  • Now go to:
HKEY_CLASSES_ROOT\DesktopBackground\Shell (for Windows 7 and later)
HKEY_CLASSES_ROOT\Directory\Background\Shell (for Windows Vista)
  • Now we'll need to create a new key under "Shell" key. Right-click on "Shell" key and select "New -> Key". Give the new key name "Kill Not Responding Tasks".
  • Now right-click on the new key which we created in step 3 and select "New -> Key". Give the new key name of command.
  • In right-side pane, change value of "Default" to:
taskkill /F /FI "STATUS eq NOT RESPONDING"

  • That's it. Now you'll have "Kill Not Responding Tasks" shortcut in Desktop context menu.
PS: Windows 7 and later users can also set an icon and position for the shortcut.
To set the icon, select the key created in Step 3 and in right-side pane, create a new String value "Icon". Set its value to explorer.exe,9
To set its position in the context menu, create a new String value "Position" and set its value to:
Top (To show it at top)
Bottom (To show it at bottom)
PS: If you want a ready-made registry script to do the task automatically, download following ZIP file, extract it and run the desired REG file:

No comments :

Post a Comment