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
Share:
5,450

Related videos on Youtube

Manga Lee
Author by

Manga Lee

Updated on September 17, 2022

Comments

  • Manga Lee
    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.

  • Garik
    Garik over 14 years
    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.
  • user1686
    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.