Have you ever noticed when you close an application, it’s still running in Task Manager? While on most occasions, the .exe file will terminate in a few moments, there may be times, when the executable continues to run. I came across this situation a couple of times. Most of the time I was able to resolve the problem with the help of the Task Manager, but if you are unable to kill the .exe file, you can use a tool called Process Explorer by Mark Russinovich. The reason why we are using Process Explorer is that it will allow us to look into the files, dll, exe a program called during its operation. So this way, we may be able to find out our culprit.
Program exe file stays open in Task Manager after being closed
So first we need to download Process Explorer and run the application as administrator.
Now we need to enable the lower panel. To do so, click on the View Menu and click on “Show Lower Pane” or just press Ctrl + L.
The next part is a little tricky. Select the program that has problems closing. Now look through the Lower Panel. There, you may find a couple of handles belonging to the program. There will be a lot of other handles as well. For those who are not familiar with the term handle, Handles are open file references of a particular program.
Now what we have to do is ignore all the Microsoft-related handles like Frameworks, Session Managers, etc. because on normal conditions Microsoft related handles won’t cause the EXE to stay open in Task Manager, it’s mostly the third-party applications. Also ignore the application references itself, e.g. Outlook being stuck in the Task Manager after it’s closed. In such cases, you can ignore Outlook entries.
You have to look for other third-party application references. The most common ones I have come across are TeamViewer handles preventing the application from closing, Multi-Monitor utilities, etc. If it’s Team Viewer handle, you can see the location where Team Viewer is installed and a dll referring to Team Viewer. If you are not sure, you can just right-click on the reference and close the handle and see if the .exe disappears from the list. If it does, then you have found the culprit. If not then keep looking because in some cases there will be a lot of references.
I know it’s a little hard to track it down. But the geeks out know it’s really fun to troubleshoot – just as Sherlock Holmes loved solving a case.