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

  1. 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).
  2. Check basic running processes: Type this command and press Enter>: tasklist This 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
  3. Filter for specific applications: Use tasklist /FI "IMAGENAME eq " to show only specific apps. Replace with the exact app title (e.g., chrome.exe or notepad.exe). Example: tasklist /FI "IMAGENAME eq msedge.exe"
  4. Show detailed process info: Run tasklist /SVP to get verbose output with process handles, object handles, and thread info. This requires admin rights; see Troubleshooting if it fails.
  5. Kill a process (if needed): Find the PID from tasklist, then use: taskkill /PID /F Example: taskkill /PID 5678 /F /F flag forces termination (use cautiously—some processes are critical).
  6. Use PowerShell for advanced filtering: Open PowerShell and run: Get-Process This provides detailed metrics (CPU, memory, threads) and supports filtering by name. Example: Get-Process -Name chrome PowerShell includes better OOP features (inherently safer for batch tasks).

Common Mistakes

  • Running CMD as non-admin: Some commands (tasklist /SVP, Get-Process with admin filters) require elevation. To fix:
    1. Close CMD/PowerShell.
    2. 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) or svchost.exe (services) should not be terminated unless absolutely necessary.

Tips

  • Save output to a file: For logging, redirect CMD output: tasklist > running_processes.txt Useful 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

  1. 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).
  2. Tasklist fails with "Access Denied":
    1. Run CMD as admin (see Common Mistakes).
    2. Check for malware—malicious processes may block access. Use wmic process where "name='explorer.exe'" call processlist to test elevated permissions.
  3. Processes disappear after running commands: Some apps (e.g., antivirus, drivers) may hide processes. Use Get-Process -AllUsers in PowerShell to see hidden processes.
  4. High CPU/memory usage but no visible apps:
    1. Run wmic process get name,commandline to see hidden command-line arguments.
    2. Check for background services via services.msc in Run dialog.

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 /IM .exe /F where .exe 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=''" get imageName 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:

  1. Malware replacing CMD (run from another terminal).
  2. 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.