Use Process Monitor to troubleshoot a problem

If you are not familiar, process monitor (procmon) is monitoring tool that helps you to monitor in real time processes activitiy, Registry and file-system. It combines to useful former tools of Sysinternals utilities called FileMon and RegMon. Also with Process Monitor you can log activity during the initialization of boot-start device drivers which is probably the most useful option.
My example will be rather simple just to show you how to use ProcMon as far as this will be enough to understand what can be done with it. To be honest, to use Process Monitor you must have certain knowledge about windows processes as well as their names and usage.
I will use the general Process Monitor example with Notepad. What I will do, will be to open a read only file and then will try to save it, and will see what Proc Mon will say.
Open the application and click on ‘Filter’ and then set the application that you want to monitor.

Use Process Monitor to troubleshoot a problem

Then click on Options – > Select Coumns’¦ which will open Process Monitor Column Selection.

Use Process Monitor to troubleshoot a problem

There under ‘Event Details’ select \”Sequence Number\”

Use Process Monitor to troubleshoot a problem

Click OK and then press CTRL+E or click on the magnifier glass icon. If there is already captured information with CTRL+X you can clear the procmon history.
Then try to save with Notepad something that is forbidden by default, and see what the result in the Proccess monitor will be.

Use Process Monitor to troubleshoot a problem

As you can see in my case I tried to write the hosts file on my Windows 7 computer.
You saw how Process monitor works, and you can use it to observe many more things with it.

Tags

Filed Under: Misc

Anthony Gee About the Author: Anthony G. is an IT specialist with more than 9 years of solid working experience in the Web Hosting industry. Currently works as server support administrator, involved in consultative discussions about Web Hosting and server administration. One of the first writers in the Onlinehowto.net website, now writing for Free Tutorials community - he is publishing tutorials and articles for the wide public, as well as specific technical solutions.

Leave a Reply