How to Save List of Running Processes to File in Windows


A process is an instance of a program that is being executed. Each process running in Windows is assigned a unique decimal number called the process ID, or PID.

If you like, saving a list of currently running processes on the local computer can be useful when you want to see which apps you have running, or need to post the file while getting help troubleshooting an issue.

This tutorial will show you how to save a list of all currently running processes and their details to a text file in Windows 7, Windows 8, and Windows 10.


 CONTENTS:

  • Option One: Save List of Running Processes to File in Command Prompt
  • Option Two: Save List of Running Processes to File in PowerShell


EXAMPLE: Currently running processes in Task Manager
Save List of Running Processes to File in Windows-task_manager_running_processes.png






OPTION ONE

Save List of Running Processes to File in Command Prompt


1. Open a command prompt.

2. Copy and paste the command below into the command prompt, and press Enter. (see screenshot below)

tasklist /V > "%userprofile%\Desktop\Running processes.txt"

Save List of Running Processes to File in Windows-running_processes_command.png

3. You will now have a Running processes.txt file on your desktop. When you open this file, you will see a list of currently running processes and their details. (see screenshot below)

Save List of Running Processes to File in Windows-running_processes_list_command.png






OPTION TWO

Save List of Running Processes to File in PowerShell


1. Open Windows PowerShell.

2. Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

Get-Process | Out-File -filepath "$Env:userprofile\Desktop\Running processes.txt"

Save List of Running Processes to File in Windows-running_processes_powershell.png

3. You will now have a Running processes.txt file on your desktop. When you open this file, you will see a list of currently running processes and their details. (see screenshot below)

Save List of Running Processes to File in Windows-running_processes_list_powershell.png


That's it,
Shawn