How to debug a non starting application with ProcMon

Posted on 06.03.18   .NET ProcMon Windows 10

I just had to install some old legacy software on a new Windows 10 computer. Vendor says it “should work”, but apparantly not without some challenges.

Fast forward ten minutes. Application installed successfully. A couple dll error messages during the setup but I happily ignored those and went on my way.

I cross my fingers and start the application…. nothing happens. Try again. Reboot. Still nothing. Login as local administrator account and reinstall software. Nothing. Start in compatibility mode for XP and set to 256 colors… nothing. Run as admin. Nothing works, you know the drill.

So naturally our next point is to either give up or go all in and fire up ProcessMonitor. Unfortunately we really needed this to work so ProcMon it is.

 

1) First of we have to set up some filters. Click on the Filter button as showed in the picture below:

2) Set the Process Name == executable filename.exe and Result != SUCCESS. Leave the default filters as they are.

3) Now clear the log for good measure and start the troubling application. ProcMon will now be populated with every single failed event processed by the application.

In the picture above I started to notice a pattern with .NET framework. Then I remembered we had some other software which required .NET framework 3.5, and that’s not easily available on Windows 10. So the next thing I did was to install .NET framework 3.5 and the application worked!!

See this other post for .NET 3.5 install instructions:

How to install .NET Framework 3.5 on Windows 10

 

More on ITDB

Managing WiFi profiles in Windows 10


How to debug a non starting application with ProcMon


Create a cmd alias/shortcut for issuing commands on remote computer


Telnet alternative to check if port is open on host


Turn off CTRL + ALT + DEL at login prompt Windows 10