How can I tell which "explorer.exe" process is the main one?

Posted by HodofHod on Super User See other posts from Super User or by HodofHod
Published on 2012-06-08T01:16:30Z Indexed on 2012/06/08 4:43 UTC
Read the original article Hit count: 177

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?

© Super User or respective owner

Related posts about Windows

Related posts about windows-explorer