How can I kill a process from the command prompt on Windows NT?
5,450
Solution 1
If you had XP or later you could use TASKKILL
. This on not NT though.
I think you're going to have to download something to do this. I'd recommend pskill
from Sysinternals.
You can use this either with a process ID or just with a process name. For example:
pskill notepad.exe
Another option is KILL
from the NT Resource Kit.
Solution 2
To kill process with children (like apache), from Windows XP to Windows Seven :
TASKKILL /T /F /PID 4520
Related videos on Youtube
Author by
Manga Lee
Updated on September 17, 2022Comments
-
Manga Lee over 1 year
How can I kill a process from the command prompt on Windows NT? Preferably with a tool that comes with the operating system.
-
Ivo Flipse over 14 years+1 Actually a much better question than how I formatted it yesterday for XP: superuser.com/questions/48864/shortcut-to-kill-an-application Though I don't think there will be much of a difference
-
-
Garik over 14 yearsThe AT utility doesn't kill the command. The command line is still using KILL. The advantage of calling it using AT as the KILL runs as LocalSystem instead of the current user which means it my kill some more processes which are less inclined to die.
-
user1686 over 14 years"This on not NT though." -- Windows XP is NT series, and has
taskkill
. So I guess you meant "NT 4.0 or older", or something like that.