I'm running Windows 7 x64. Once in a while I have a process that freezes and that cannot be killed. I've tries the following:
- Process Explorer
- taskkill /F /T
Nothing worked. Tools report that the process was killed successfully, but it just stays there.
How do I kill it?
I know now that it always happen when some application tries to connect to a SQL Server and the SQL Server is not started. The application always freezes.
As DougN assumed the number of handles of the frozen process was indeed 1. In the process explorer it showed this
Not sure what this is. I couldn't close this handle from Process Explorer. Then I searched for other processes that contained references to the frozen process. Found two handles in csrss.exe. Closed them. Then I tried to close the frozen process again, but it didn't work.
UPDATE I have tried the application called Advanced Process Termination v4.2. Which has 12+2+2 methods to kill stubborn processes. I've tried all the 16 methods and non of them worked. I believe that this is a Windows 7 bug.
UPDATE Seems that here's the discussion of this problem: