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

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.

Force Windows 10 To Boot To Advanced Startup

In the event your operating system corrupts and losses functionality to some degree, Windows 10 has the Advanced Startup Options menu, that contains a range of diagnostic and repair utilities to help restore the OS back to It's functional state. You can perform a System Restore, Reset your PC, execute commands via the Command Prompt and more. To have It readily available, In this tutorial, I will show you how to force Windows 10 to always boot to the Advanced Startup settings.

How To Troubleshoot Your PC's Power Settings

Upon purchasing your computer with the Windows OS Installed, by default, It's power plan setting Is set to Balanced. Depending on the manufacturer, the hibernate and sleep modes are also configured to turn off at certain Intervals. You can also create a plan of your own, based on your computing usability. Power plan settings can corrupt at the best of times, hence In this tutorial, I will show you how to troubleshoot your PC's power settings natively within Windows.