Windows lets you check running processes directly in the Command Prompt, a simple yet powerful tool for troubleshooting or monitoring applications. No extra software is required—just open Terminal (CMD) and use built-in commands. This method reveals every process, their memory usage, and CPU load, making it ideal for admins, developers, or users needing to identify resource-hogging apps.
What You'll Need
- Windows PC (compatible with Command Prompt—all Windows versions from Windows 2000 onward)
- Admin or non-admin user rights (some commands require elevated privileges)
- A working Command Prompt (CMD) or PowerShell window
- Basic command-line familiarity (optional but helpful)
Step-by-Step
-
Open Command Prompt:
Press Win + R, type
cmd, and hit Enter. On older Windows versions (pre-Vista), use the Start menu search bar to find "CMD" and run it. Labels may differ slightly by version or region (e.g., "New Window" button wording varies). -
Check basic running processes:
Type this command and press Enter>:
tasklistThis lists every running process along with their module names, process IDs (PIDs), and CPU/memory usage. Example output:TIMEOFDAY CPU %MEM PID Session Name Id Session# WinStation Name -------- ---- ---- -- ------- -- -------- --------- --------- 10:30:45 2 10% 1234 0 System Idle Process 0 0 Default-0 10:30:45 1 3% 4567 0 Explorer.exe 1 0 Default-0 -
Filter for specific applications:
Use
tasklist /FI "IMAGENAME eqto show only specific apps. Replace" with the exact app title (e.g.,chrome.exeornotepad.exe). Example:tasklist /FI "IMAGENAME eq msedge.exe" -
Show detailed process info:
Run
tasklist /SVPto get verbose output with process handles, object handles, and thread info. This requires admin rights; see Troubleshooting if it fails. -
Kill a process (if needed):
Find the PID from
tasklist, then use:taskkill /PIDExample:/F taskkill /PID 5678 /F/F flag forces termination (use cautiously—some processes are critical). -
Use PowerShell for advanced filtering:
Open PowerShell and run:
Get-ProcessThis provides detailed metrics (CPU, memory, threads) and supports filtering by name. Example:Get-Process -Name chromePowerShell includes better OOP features (inherently safer for batch tasks).
Common Mistakes
- Running CMD as non-admin:
Some commands (
tasklist /SVP,Get-Processwith admin filters) require elevation. To fix:- Close CMD/PowerShell.
- Right-click CMD in Task Manager > "Run as administrator."
- Typing misspelled app names:
tasklist /FI "IMAGENAME eq firefox"won't work if the app is named "firefox.exe" or "Firefox.exe." Use exact names from Task Manager or registry keys. - Ignoring PID values: Always note the PID when killing a process—using the wrong PID may crash system services.
- Overlooking system processes:
Critical processes like
lsass.exe(security layer) orsvchost.exe(services) should not be terminated unless absolutely necessary.
Tips
- Save output to a file:
For logging, redirect CMD output:
tasklist > running_processes.txtUseful for audits or monitoring. - Use filters for busy systems:
Combine flags like:
tasklist /FI "CPU GT 50"to show processes using >50% CPU. - PowerShell for automation:
Write scripts to monitor memory/CPU thresholds. Example:
Get-Process | Where-Object { $_.CPU -gt 90 } | Select-Object ProcessName, CPU - Check for zombie processes:
Run
tasklist /FI "STATUS eq NORMAL"to see processes stuck in "Not Responding." - Compare with Task Manager: Use Task Manager (Ctrl+Shift+Esc) for a GUI alternative. Press Alt+Tab to switch between CMD and Task Manager views.
Troubleshooting
-
Command not found:
Ensure CMD is properly installed (Windows includes it by default). If using PowerShell, switch to CMD:
PowerShell.exe -Command "Start-Process cmd"If still blocked, check if your shell is sandboxed (e.g., Windows Sandbox). -
Tasklist fails with "Access Denied":
- Run CMD as admin (see Common Mistakes).
- Check for malware—malicious processes may block access. Use
wmic process where "name='explorer.exe'" call processlistto test elevated permissions.
-
Processes disappear after running commands:
Some apps (e.g., antivirus, drivers) may hide processes. Use
Get-Process -AllUsersin PowerShell to see hidden processes. -
High CPU/memory usage but no visible apps:
- Run
wmic process get name,commandlineto see hidden command-line arguments. - Check for background services via
services.mscin Run dialog.
- Run
Frequently Asked Questions
Why can't I kill a process using taskkill?
This usually happens if the process is locked by another program (e.g., antivirus) or is a system process (like smss.exe). Try:
taskkill /PID
where is the full executable name.
How do I find the exact name of a process?
Use Task Manager (View > Select columns > add "Image Name") or run:
wmic process where "name='
in CMD.
Can I use this on Windows 10/11 with UAC?
Yes, but UAC may block elevated commands. Workaround: Run CMD as admin and grant permission prompts explicitly.
What if tasklist shows no processes?
This rarely happens, but check for:
- Malware replacing CMD (run from another terminal).
- Corrupted system files (reinstall Windows or run SFC /scannow).
How do I monitor processes over time?
Use PowerShell's timer module or schedule a script to run daily. Example:
Start-Sleep -Seconds 60; Get-Process | Select-Object Name, CPU, Id | Export-Csv -Path "process_log.csv"
Is this method safe for system stability?
Yes, provided you only kill user processes. Critical Windows processes (e.g., svchost.exe) should only be terminated by admins using approved tools.