Skip to main content

Print All Running Processes To A Text File

Among many other settings, Windows Task Manager has a list of processes that're currently running on your computer. Some are executed by the operating system, whilst others are automatically launched during boot up, or manually when you open applications, tools etc. It's very handy to print a list of all running processes to view and analyze, hence In this tutorial, I will show you how to do this with Incredible ease.

Before I begin, here's what I'm referring to. Open Task Manager, select the Processes tab, and you will see a compete list as per the Image below.

At the time of this article, Windows 10 does not have a built-In feature to click and print your PC's processes, so I will demonstrate how It's done by using a couple of native Windows tools, namely the Command Prompt and PowerShell. 

All that's required on your part, Is to enter a command, and the text file will be generated containing every process that was running at the time. So without further delay, let's begin.

Step One:
Firstly, I will use the Command Prompt. To access It, open the Run menu, enter cmd and hit OK.

Step Two:

The Command Prompt will now execute, so copy & paste the following command.
tasklist > %userprofile%\desktop\processes.txt

Then hit Enter on your keyboard.

Step Three:
The text file will now be generated to your computer's desktop, or you can navigate to the Users directory In File Explorer. I've done exactly that, and here's my processes text file.

Step Four:
I've now executed the processes text file and as you can see, It contains a list of every running process. I can view It's PID, memory usage etc and If need be, use this Information to Identify Issues.

Step Five:
To locate a given process, simply select the Edit tab and click on Find.

Step Six:
In the Find what field, I've entered the process that I wish to locate, namely mspaint. The entry Is Immediately returned.

Step Seven:
Now let's generate the processes text file using PowerShell. Open the Run menu, enter powershell and hit OK.

Step Eight:

PowerShell will now open, so copy & paste the following command.
Get-Process | Out-File $env:userprofile\desktop\processes.txt

Then hit the Enter key on your keyboard.

Last Step:
As with the Command Prompt In Step Three above, the processes text file has been generated. This actually contains more details, hence a very good platform to work with.

Final Thoughts:
The good thing about printing a text file of all running processes, Is that unlike the entries In Task Manger that change from one second to the next, the text file Is fixed, therefore you have a solid foundation to see exactly what was happening at the time.

The above directories where the text file was generated, are for demonstration purposes. Feel free to change It according to your preference and usability.


Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key, that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Create A Virtual Machine Using VMware

A virtual machine, often abbreviated as a VM, Is a software program containing an operating system that's Installed on the physical machine (PC), and operates In It's own Isolated environment. Every task performed In the VM, remains there, without affecting the main computer. Every user should have a virtual machine up and running, so In this tutorial, I will demonstrate a detailed guide on how to create & Install a virtual machine on your computer, namely VMware Workstation.

Check The Health Of Your Laptop's Battery

When you first purchase your laptop and fully charge the battery thereafter, It runs at It's optimal state for quite a while. However, over time, It Inevitably decreases In performance, and does not hold It's charge capacity as per It's brand new state. This Is due to wear & tear, and a few other factors. It's very Important to know the condition of your battery, so In this tutorial, I will show you how to view the current status and health of your laptop's battery.