Article ID: 197155 - View products that this article applies to.
This article was previously published under Q197155
When a service terminates abnormally, "orphaned" child processes may remain. This article describes several methods to remove this kind of process.
Method 1: The KILL CommandTo remove orphaned child processes, use the kill command from the Resource Kit:
kill process name or id
kill -f process name or idTo obtain a list of processes and process IDs, use the Task Manager or the TLIST utility from the Resource Kit.
Method 2: The AT UtilityIf neither of the commands described in the preceding section work, if the Schedule service is running on the computer in the Local System context, you may be able to terminate the process successfully by scheduling one of the preceding commands with the AT utility:
at time /interactive cmd /c kill -f process name or id
Method 3: The PVIEW UtilityIf method 1 and method 2 are unsuccessful, use the PVIEW utility from the Resource Kit, Supplement 3, to adjust the permissions on the process and then kill it. You must be an Administrator to perform this task.
Note PVIEW may not run correctly in a Terminal Services session.
For additional information about how this problem can arise, and foralternative solutions to the problem, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/142011/EN-US/ )How to Close a Remote Process by Using the Scheduler Service
(http://support.microsoft.com/kb/138340/EN-US/ )Trouble Quitting Program Started with AT.EXE Scheduler
Article ID: 197155 - Last Review: February 22, 2007 - Revision: 4.2
Contact us for more help
Connect with Answer Desk for expert help.