Microsoft DOS tasklist command

About tasklist

This tool displays a list of currently running processes on either a local or remote machine.


The tasklist command is an external command that is available in the below Microsoft operating systems as tasklist.exe.

External command
An external command is an MS-DOS command that is not included in External commands are commonly external either because they require large requirements or are not commonly used commands. The illustration shows each of the external commands are their own separate files. However, the internal commands are all included in the file.

Windows XP Professional
Windows Vista
Windows 7
Windows 8

Tasklist syntax

TASKLIST [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]

/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.
/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», «CSV».
/NH Specifies that the «Column Header» should not show in the output. Valid only for «TABLE» and «CSV» formats.


Filter Name Valid Operators Valid values
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number
SESSIONNAME eq, ne Session name
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, ne Username in [domain\]user format
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title
MODULES eq, ne DLL name

NOTE: «WINDOWTITLE» and «STATUS» filters are not supported when querying a remote machine.

Tip: See the operatordefinition for full information about operators and eq, ge, gt, le, lt, and ne.

Tasklist examples


Running tasklist alone shows all currently running tasks on the computer the command is being run on.

tasklist > process.txt

The above command takes the output displayed by tasklist and saves it to the process.txt file.

tasklist /fi «memusage gt 50000»

This next example displays any currently running tasks that are using more than 50MB of memory.

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Verificación Humana * Límite de tiempo se agote. Por favor, recargar el CAPTCHA por favor.

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.