Published by


Brink's Avatar
Administrator

Posts: 33,061

Show Printable Version 


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
Name:  Task_Manager_running_processes.png
Views: 93
Size:  69.0 KB






Save List of Running Processes to File in Windows OPTION ONE Save List of Running Processes to File in Windows
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"

Name:  Running_processes_command.png
Views: 93
Size:  17.5 KB

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)

Click image for larger version. 

Name:	Running_processes_list_command.png 
Views:	17 
Size:	62.8 KB 
ID:	206163






Save List of Running Processes to File in Windows OPTION TWO Save List of Running Processes to File in Windows
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"

Name:  Running_processes_PowerShell.png
Views: 92
Size:  17.6 KB

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)

Name:  Running_processes_list_PowerShell.png
Views: 92
Size:  48.9 KB


That's it,
Shawn