How can I tell which "explorer.exe" process is the main one?
- by HodofHod
I have a batch file that changes a few registry files, and then restarts explorer.exe so that they take effect. I'm using the command taskkill /f /im explorer.exe and then explorer.exe which of course kills all the explorer.exe processes, including the explorer windows I have open.
Obviously, I am using the option to Launch folder windows in a separate process.
Is there any way I can determine which instance of explorer.exe is the main one, and just kill that?