Understanding Windows process monitoring can save your application from experiencing performance issues. Let’s expand your knowledge of Windows task manager and take a look at how you can monitor Windows processes more effectively.
Let’s start with picking the process from the list in the Task Manager and studying its properties. We will use the example of the process called “COM Surrogate” to illustrate our points:
In the picture above, you can see the list of processes and the “End task” button you would use to end frozen processes. However, don’t rush with decisions, as you might compromise the performance of the entire system architecture.
Our example, COM surrogate, is the process that hosts DLL files (the library of files that contain code and data used by several programs at the same time). Stopping it could potentially affect other essential Windows processes.
You can also investigate the process yourself by checking available properties, including:
Checking these basic metrics will help you better understand the nature of the process and its significance for the entire system.
The next step in monitoring Windows processes through the Task Manager is to check the process’s location. If the process is unknown to you and you currently don’t have access to the Internet to learn what it does, identifying the process’s file location will give you more information about it.
Let’s take our COM surrogate example. To check its file location, you need to right-click with your mouse and choose “Open file location”:
The file for this process is located in the System 32 folder, indicating that this is an important process for the system:
Here’s a list of Windows processes that you should never stop as to not compromise the work of the entire system:
Killing one of these processes can also result in the permanent loss of important data. One of the Windows processes you can kill, should you find it necessary, is Explorer.exe. You might be reluctant to end it, but if your Start menu or taskbar isn’t working, rebooting this process may solve the issue and will actually be faster than restarting your entire computer.
If you find that one of the processes is not running smoothly, you can check its Wait Chain to troubleshoot any issues.
The Wait Chain tree is a tool that helps you identify if a process is frozen. To find it, go to details, select the process, right-click on it, and choose the “Analyze wait chain” option:
If the process is running normally, you will receive the message like this:
However, if the process is hung, it will be highlighted in the Details, and you will see a message saying that it is “Not responding” or “Suspended”:
In case you find stuck processes, you can fix them by assigning a new task or kill the process altogether if it doesn’t have a significant impact on the system.
If you want to analyze the performance of an app on your computer, it’s best not to do it through the Task Manager. Instead, you can use an APM tool like Retrace, which allows better and more precise error tracking and real-time monitoring than any other native Windows solution.
The last step of windows process monitoring is checking the process permissions. You can access this feature by right-clicking on the process, choose Properties, and then go to Security:
Checking the permission can also help find a solution to debug apps and processes.
Sometimes, if a process has a hard time running smoothly, it might not have the necessary permissions to do it. Check the process’s Security Properties to see the existing permissions and assign new ones if necessary.
Using Task Manager for Windows processes is quite straightforward. If you know where to click, the Task Manager will provide you with all the information about the process to effectively check its performance.
However, it is important to remember which processes you can and cannot kill. We listed some of them in this article to help you navigate them and better understand their role. If you are hesitant, check the file’s location, how much CPU, disk space, and memory it uses to run.
If the process is stuck, try to check its permissions. Or, if the app doesn’t perform smoothly, check if there are any restrictions that don’t allow it to run properly.
If you would like to be a guest contributor to the Stackify blog please reach out to [email protected]