Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I kill a process from the command prompt on Windows NT? Preferably with a tool that comes with the operating system.

share|improve this question
1  
+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 –  Ivo Flipse Oct 1 '09 at 8:09
add comment

3 Answers 3

up vote 10 down vote accepted

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.

share|improve this answer
1  
"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. –  grawity Oct 1 '09 at 13:07
add comment

There are a couple of choices:

KILL Command

kill process name or id

or

kill -f process name or id

AT Utility

at time /interactive cmd /c kill -f process name or id

And of course

Reboot :-)

share|improve this answer
2  
The 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. –  Dave Webb Oct 1 '09 at 8:03
add comment

To kill process with children (like apache), from Windows XP to Windows Seven :

TASKKILL /T /F /PID 4520
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.