TaskList displays all running applications and services with their Process ID (PID) This can be run on either a local or a remote computer.

      tasklist options


   /s computer  Name or IP address of a remote computer
                Don’t use backslashes. Default = local computer.

   /u domain\user [/p password]]
                Run under a different account

   /P [password]
                The password for the given user context. Prompts for input if omitted.

   /M [module]
                List all tasks currently using the given exe/dll name.
                If the module name is not specified all loaded modules are displayed.

   /svc         List information for each process without truncation.
                Valid when /fo=TABLE. Cannot be used with /m or /v

   /M [ModuleName]
                Show the processes that include the given module.

   /APPS        Display Store Apps and their associated processes. (Windows 8.1+)

   /V           Verbose task information

                Output format, the default is TABLE.

   /NH          No Headers in the output (does not apply to LIST output)

   /FI FilterName [/FI FilterName2 [ ... ]]
                Apply one of the Filters below:

                   Imagename   eq, ne                  String
                   PID         eq, ne, gt, lt, ge, le  Positive integer.
                   Session     eq, ne, gt, lt, ge, le  Any valid session number.
                   SessionName eq, ne                  String
                   Status      eq, ne                  RUNNING | NOT RESPONDING
                   CPUTime     eq, ne, gt, lt, ge, le  Time hh:mm:ss
                   MemUsage    eq, ne, gt, lt, ge, le  Any valid integer.
                   Username    eq, ne                  User name ([Domain\]User).
                   Services    eq, ne                  String
                   Windowtitle eq, ne                  String
                   Modules     eq, ne                  String

Home editions of Windows do not have TASKLIST, use QPROCESS instead.


List the services running under each process:


List the services running under each SvcHost process:

TASKLIST /FI "imagename eq svchost.exe" /svc

List the services running now:

TASKLIST /v /fi "STATUS eq running"

List the services running under a specific user account:

TASKLIST /v /fi "username eq SERVICE_ACCT05"

“Here's to the success of our impossible task!” ~ Soviet dissidents, 1975


Query Process - Display processes (TS/Remote Desktop)
PsList - List detailed information about processes
TLIST - Task list with full path
PSTAT - display running tasks including all Process Threads.
MEM - Display memory usage
WINMSD - Windows NT Diagnostics (including Physical Memory)
WMIC /OUTPUT:C:\Procs.txt PROCESS get Caption,Commandline,Processid
Powershell: Get-Process - Get a list of processes on a machine (ps/gps)
Equivalent bash command (Linux): ps - Process status, information about processes running in memory.

© Copyright SS64.com 1999-2016
Some rights reserved