Kill All Not Responding Tasks in Windows 10

In Windows 10, you can kill all not responding tasks at once. There is a special command which will allow you to do this. In this article, we will see how it can be done. Also, we'll create a shortcut to close hung tasks quickly.


Kill Non Responding Tasks Shortcut IconIn Windows 10 and in previous Windows versions, there is a taskkill console command which allows you to terminate a process or a group of processes. It supports a number of command line arguments which can be used to end some application.

For example, you can kill the explorer.exe process in order to restart it with the following command:

taskkill.exe /im explorer.exe /f

The /IM switch specifies the image name of the process to be terminated. It also supports wildcard '*' to specify all tasks and a part of the image name.
The switch /F will forcefully terminate the process(es).

The example above gives you an idea on how the taskkill.exe tool can be used. Now, let's see how to kill all not responding tasks.

To kill all not responding tasks in Windows 10, use the following syntax for taskkill.exe:

taskkill.exe /F /FI "status eq NOT RESPONDING"

A new switch, /FI, applies a special filter to select a set of tasks. It also supports wildcard "*", for example: imagename eq acme*.
The status filter in the example above tells the taskill command to find all not responding tasks. The /F switch specifies that all tasks which are hung should be terminated.

The supported filters are as follows:

Filter NameValid OperatorsValid Value(s)
IMAGENAMEeq, neImage name
PIDeq, ne, gt, lt, ge, lePID value
SESSIONeq, ne, gt, lt, ge, leSession number.
CPUTIMEeq, ne, gt, lt, ge, leCPU time in the format of hh:mm:ss.
hh - hours,mm - minutes,
ss - seconds
MEMUSAGEeq, ne, gt, lt, ge, leMemory usage in KB
USERNAMEeq, neUser name in [domain\]user format
MODULESeq, neDLL name
SERVICESeq, neService name
WINDOWTITLEeq, neWindow title

To save your time, you can create a shortcut to terminate tasks quickly.

Create a shortcut to kill all not responding tasks in Windows 10

Right-click the empty space on your Desktop and select New - Shortcut.
In the shortcut's target, specify the following command:

taskkill.exe /F /FI "status eq NOT RESPONDING"

See the screenshot:New Shortcut

Name the shortcut as you wish and set the desired icon.Kill Non Responding Tasks ShortcutKill Non Responding Tasks Shortcut Icon

Now you can right-click it and pin it to the taskbar for faster access.Pin Shortcut To TaskbarShortcut Pinned To Taskbar

You can also assign a global keyboard hotkey to the file shortcut you created, so you will be able to close all not responding tasks by pressing that keyboard shortcut. Refer to the following article for step-by-step instructions:

Assign global hotkeys to launch any app in Windows 10

Alternatively, you can integrate the ability to kill not responding tasks with the context menu of the Desktop. Here is how.

Add Kill All Not Responding Tasks Context Menu in Windows 10

To add kill all not responding tasks context menu in Windows 10, you need to apply the following Registry tweak:

Windows Registry Editor Version 5.00

"MUIverb"="Kill not responding tasks"

@="cmd.exe /K taskkill.exe /F /FI \"status eq NOT RESPONDING\""

Paste the text above inside Notepad.

Tweak Contents

Then press Ctrl + S or execute the File - Save item from the File menu. This will open the Save dialog. There, type or copy-paste the name "Kill.reg" including quotes.Kill Not Responding Save Tweak

Double quotes are important to ensure that the file will get the "*.reg" extension and not *.reg.txt. You can save the file to any desired location, for example, you can put it in your Desktop folder.

Double click the file you created, confirm the import operation and you are done!

To save your time, I made ready-to-use Registry files. You can download them here:

Download Registry Files

The undo tweak is included.

You can save your time and use Winaero Tweaker instead. It comes with the following feature:

Winaero Tweaker Kill Not Responding

You can download it here: Download Winaero Tweaker.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:


1 thought on “Kill All Not Responding Tasks in Windows 10

  1. Winter Frost

    I see you can exit not responding tasks with
    taskkill.exe /F /FI “status eq NOT RESPONDING”

    is there a way to kill ass SUSPENDED tasks at once.
    taskkill.exe /F /FI “status eq NOT SUSPENDED”

    Windows 10 has alot of “SUSPENDED” Tasks in task manager with the latest update.
    I want to close they but they reopen. Is there a way to close them all at the same time.


Leave a Reply

Your email address will not be published. Required fields are marked *