Killing the explorer process
Maybe a little OT, but... I am having some trouble killing the explorer a process from inside a C# application.
I am using the line
System.Diagnostics.Process.GetProcessesByName("explorer")[0].Kill();
and it works partially, because it kills the process, but it restarts immidiately after it died. This is probably not a direct C# issue, but what can i do to kill it "permanently"? If i kill the process using task manager, it dies and stays dead until i start it again manually. Can i do this from inside the C# app?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

ssswamiiRank #4,500 · 340 reputationPosted Oct 16, 2003, 1:19 PM EDT
manolito5 reputationPosted Oct 16, 2003, 11:42 PM EDT
ssswamiiRank #4,500 · 340 reputationPosted Oct 17, 2003, 6:55 AM EDT