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.



Comments

Popular posts from this blog

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.

How To Use Sandboxie In Windows 10

When navigating online and downloading & executing applications, clicking on links, visiting websites that you're not familiar with and so forth, your computer Is vulnerable to being Infected with a virus. The last thing you need, Is to have your sensitive files compromised or hit with a nasty piece of malware. To prevent this, In this tutorial, I will show you how to safely perform all the above and more, by using a software named Sandboxie.

Create A Bootable USB Flash Drive

If you have a Bootable ISO Image file of the Windows operating system, obviously the Intention Is to burn It to disc and boot from your PC thereafter. However, optical drives are slowly being phased out In manufacturing & shipping of new computers, so what do you do from here? The alternative Is to create a bootable USB flash drive, and I will show you exactly how It's done. The process Is quite simple, yet a lot of users fail to grasp the concept.