Cant kill process on Windows Server 2008!! - Thread in Wait:Executive State

6,645

Solution 1

You could try Process Hacker. This open source tool has nearly the same functionality than process explorer but offers several ways to kill processes.

Right click the process and choose Miscellaneous / Terminator: enter image description here

Solution 2

This kind of issues are caused by bad drivers. Please check the drivers used by your software, the version number of .sys files etc...

EDIT:

See also: http://blogs.technet.com/b/markrussinovich/archive/2005/08/17/unkillable-processes.aspx

Share:
6,645

Related videos on Youtube

adrian
Author by

adrian

Updated on September 18, 2022

Comments

  • adrian
    adrian almost 2 years

    I hope someone can help me with our issue we are having. We have a major issue with a process that we can not kill and the only way to get rid of the process is to reboot the machine.

    I have tried killing it from the normal task manager but no joy.

    I have tried killing it using the taskkill /F command from a command prompt and no joy. The command reports as sucessful but the process remains.

    I have tried to start task manager with system rights by calling "psexec -s -i -d taskmgr" and attempting to kill the process but no joy

    I have tried killing it from Process Explorer but again the process remains.

    I have tried creating a scheduled task that runs under the SYSTEM name to kill the task but that also does not kill it :

    schtasks /create /ru system /sc once /st 13:16 /tn test1 /tr "taskkill /F /PID 1576" /it

    Nothing I do will kill this process. Even logging off and logging back on will not kill this process.

    Using Process Explorer I notice that there is on stubborn thread that is in the Wait:Executive state. I have tried to kill this thread using Process Explorer but again no joy.

    We are using Windows Server 2008 R2 64-Bit. The server is brand new and windows is freshly installed.

    Now heres the thing. We have brought two identical servers from Dell with the same specs and the same OS installed and I can not replicate this issue on the other server. Only on this server, under certain circumstances does this server process hang and can not be restarted!

    I have also changed the compatability mode by setting it the process to "Windows 2003" but this has not helped.

    I have noticed in Process Explorer that DEP is turned on but im not sure this has got any bearing on the issue ot not.

    Please, can someone help??

    • murisonc
      murisonc almost 13 years
      Looks like the process is hooked by the OS and is stuck in a crashing state. What is the process name?
    • adrian
      adrian almost 13 years
      The Process is SchOPC.exe. It is a 3rd party OPC Server that is used to communicate to devices in the field.
    • Marcel Janus
      Marcel Janus almost 11 years
      In which user context is the process running?
  • adrian
    adrian almost 13 years
    I have checked the drivers on both machines using the DriverView utility here: nirsoft.net/utils/driverview.html and all driver versions between the two servers are identical!!!! Where do you recommend I go from here?
  • Mircea Vutcovici
    Mircea Vutcovici almost 13 years
    How much is the CPU usage of the process with problems?