Windows: List Processes – TaskList Command – CMD

All processes in Windows can be listed on the command-line prompt (CMD) using the tasklist command.

The tasklist command in Windows is the Linux ps command equivalent.

In this note i am showing how to list all processes on the command-line prompt (CMD) in Windows using the tasklist command, how to sort the process list and how to find a specific process by name.

Cool Tip: List services in Windows from the CMD & PowerShell! Read more →

List Windows Processes

Get the list of all running processes in Windows:

C:\> tasklist

Sort the list of processes by name:

C:\> tasklist /NH | sort
Option Description
/NH Hide column names (header) from result set output

Filter the list of processes by a process name (case insensitive):

C:\> tasklist /NH | findstr /I myProcess

Cool Tip: Kill a hanging process in Windows from the CMD! Read more →