In Windows 10, you can kill all unresponsive tasks at once. There is a special order of it Command Prompt for this one work. Σε αυτό το άρθρο, θα δούμε πώς μπορείτε να το κάνετε και θα δημιουργήσουμε και μία σχετική συντόμευση για εύκολη access in the command.
Στα Windows 10 αλλά και σε προηγούμενες εκδόσεις αυτών, υπάρχει στην γραμμή εργασιών (command prompt) the order 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 "status 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 [domain \] user format |
MODULES | eq, no | DLL name |
SERVICES | eq, no | Service 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"
Click the "Next" button 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.