List All Processes With the Windows Command Line

less than 1 minute read

To view all the currently running processes in Windows from the command line (choose Start->Run then type cmd), you can use the command tasklist.

The output will look something like this:

C:\>tasklist

Image Name               PID Session Name     Session#    Mem Usage
===================== ====== ================ ======== ============
System Idle Process        0 Console                 0         16 K
System                     4 Console                 0         52 K
smss.exe                 592 Console                 0        108 K
csrss.exe                648 Console                 0      5,868 K
winlogon.exe             680 Console                 0      2,632 K
services.exe             724 Console                 0      2,376 K
(...)