How can I kill an orphaned process?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. When a service terminates abnormally, it can sometimes leave an"orphaned" child process behind.

If you have the resource kit you can use the following to view a list of allprocesses and their relationship to one-an-other.

C:> tlist -t

To then kill a process use

C:> kill

If this fails add -F to force the kill, e.g. kill -F . If this still fails you could try submitting the kill command as itwill then run under the computers built in System account:

C:> AT /INTERACTIVE CMD /C KILL -F

(you would need the schedule service to be running for this to work, netstart schedule).

If this still fails one last approach is possible using the Resource KitPVIEW.EXE utility:

  1. Start PVIEW.EXE (Start - Run - PVIEW)

  2. Select the process you wish to kill from the drop down list

  3. Click the Process button in the Security section

  4. Grant the Administrators "All Access" to the process. Click OK

  5. Repeat for Thread and P.Token

  6. Close PLIST

  7. Use kill.exe to terminate the process

If none of the above works you will have to reboot.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like