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 Check Faulty Drivers In Windows 10

For hardware devices to function properly, they must have device drivers  Installed, thus allow them to perform at their optimal state. It's all well and good when they're running without error, but they do tend to fail at the best of times, which can cause system Instability and/or loss of functionality. It can be a difficult task pinpointing the problematic driver(s), so In this tutorial, I will show you how to check faulty drivers , without the aid of third-party tools.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.