Kill all the stuck tasks in Windows 10

In Windows 10, you can kill all the tasks that no longer respond. There is a special Command Prompt command for this job. In this article, we'll see how you can do it and create a shortcut for easy access to the command.

task

In Windows 10 as well as in previous versions, the command is in the command prompt taskkill, which allows you to end a process or a group of processes. For example, you can kill the explorer.exe process with the following command:

taskkill.exe / im explorer.exe / f

The /im switch specifies the name of the process to be terminated. It also supports the '*' wildcard so you can specify part of the process name.
The / f switch will forcefully terminate the process (s).

The above example gives you an idea of ​​how the taskkill.exe command can be used. Now, let's see how to kill all the processes that do not meet their tasks.

To kill all unresponsive processes in Windows 10, simply use the following syntax for taskkill.exe:

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

With the new / FI switch, you apply a special filter that allows you to select a range of tasks. It also supports wildcards "*", for example: imagename eq acme *.
The above filter tells the taskill to find all the NOT RESPONDING processes. The / F switch specifies that all jobs that will be detected should be terminated.

Supported filters are as follows:

Filter Name Parameter Current Price (s)
STATUS eq, no RUNNING | NOT RESPONDING | UNKNOWN
IMAGENAME eq, no Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format of hh: mm: ss.
hh - hours, mm - minutes,
ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, no User name in [\] user format
MODULES eq, no DLL name
SERVICES eq, no name
WINDOWTITLE eq, no Window title

To make your time more efficient, you can create a shortcut to quickly finish tasks.

Right-click the empty space on your desktop and select Create - Shortcut.
In the shortcut item, specify the following command:

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

Press it "Next" and then name your shortcut as you like, for example "Kill the stuck tasks", put an icon of your choice and it is ready. You can pin the shortcut or you can also set a keyboard shortcut.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).