Just a write-up on a small application, so that I don’t forget what I did.
Problem: An application keeps spawning multiple instances of msiexec.exe on a Windows 7 desktop computer. Typically, a user would have to go into the Task Manager and manually kill the msiexec.exe process to perform another install. This solution was to create an executable that I could just drop on my taskbar and start up whenever I needed to just kill the msiexec.exe proccess.
Solution: Created a simple C# console application to retrieve all the current running processes on a single windows 7 computer and kill any process named ‘msiexec’.