title: Taskkill /f doesn't kill a process
body: <p>When I start up an Experimental instance of VS from VS for debugging and stop debugging (sometimes directly from the parent VS), a zombile devenv.exe process remains running which I am unable to kill. It holds on to many of my dlls.</p>
  
  <p>As I am logged onto this 64bit Win7 machine as Administrator, I would expect to be able to kill any process I wish to.</p>
  
  <pre><code>I tried (from Administrator command prompt):
  
  End Task from Task Manager.
  TASKKILL /F /IM devenv.exe
  PSKILL devenv.exe
  </code></pre>
  
  <p>None return any error and <code>TASKKILL</code> and <code>PSKILL</code> returned success messages of terminating/killing the process. But devenv.exe still runs, it is not re-spawned as the <code>PID</code> remains constant. It goes away only on restart of the system which is not a great solution.</p>
  
  <p>Note. LockHunter shows devenv has got a lock on itself. And it cannot unlock it.</p>
  
  <p><img src="https://i.stack.imgur.com/Jd77o.png" alt="Process Monitor shows devenv to be in some kind of &#39;Process Profiling&#39; loop"></p>
  
  <p>The above screenshot is the output of Process Monitor showing devenv to be in some kind of 'Process Profiling' loop (Right click on it and click open image in new tab to see it properly).</p>
  
  <p>Any ideas how to kill such a process on Windows?</p>