taskkill.exe
to terminate the respective process. /S system | Specifies the remote system to connect to. |
/U [domain\]user | Specifies the user context under which the command should execute. |
/P [password] | Specifies the password for the given user context. Prompts for input if omitted. |
/M [module] | Lists all tasks currently using the given exe/dll name. If the module name is not specified all loaded modules are displayed. |
/SVC | Displays services hosted in each process. |
/APPS | Displays Store Apps and their associated processes. |
/V | Displays verbose task information. |
/FI filter | Displays a set of tasks that match a given criteria specified by the filter. |
/FO format | Specifies the output format. Valid values: TABLE , LIST and CSV . |
/NH | Specifies that the "Column Header" should not be displayed in the output. Valid only for TABLE and CSV formats. |
/? | Displays this help message. |
/FI
option, specific processes can be queried for (filtered). note
(such as notepad.exe
): C:\> tasklist /fi "imagename eq note*"
*
) seems to only work at the end of the identifier, not at its beginning. status
to find applications that are not responding (hanging): C:\> tasklist /fi "status eq not responding"
eq not
is not an operator. The operator is eq
and the queried status is not responding
. tasklist /m QuietHours.dll