How-To Geek

Kill Processes from the Windows Command Line

If you are familiar with linux/unix, you will be very accustomed to the ability to kill (and start) processes from the command line. Linux gives you a very rich set of command line tools that simply don’t exist on Windows by default.

Enter the Command Line Process Viewer/Killer/Suspender utility from the Beyond Logic website. This is a simple command line utility that lets you perform a number of utilities including viewing a list of processes, killing processes, and even changing the priority of a process.


process -k “Process ID”

process -k “Process Name”

Example usage:

> process -k “notepad.exe”

Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03
Copyright(C) 2002-2003
Killing PID 2304 ‘notepad.exe’


> process -k 2192

Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03
Copyright(C) 2002-2003
Killing PID 2192 ‘notepad.exe’

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 09/13/06

Comments (14)

  1. prasad.A

    To Get the command under windows to get PID of a process if its name of that process is Known.

  2. uroms

    well its really interested and i actually wish to get tis information in my inbox.
    how do i go about it?

  3. Philip

    I would recommend a more elegant solution called Process Tamer by It does the same things but in a more user friendly way with a GUI. The software developer doesn’t charge for the software but does ask for a donation — which is justified, in my opinion.

  4. Rob

    How do I kill a process that is running under the system account?
    I have two instances of msiexec running under system account as soon as I start my windows 2003 server.

  5. Aakash

    I would instead recommend the built in “taskkill” command in Windows to kill a process to avoid any third party software. And if you need to print out a list of all of the current processes, you can use “tasklist”.

  6. NuttCorp

    taskkill /f /im note*
    f to force im to allow wildcards

  7. avishek

    Can you please tell me the method and steps to use “LUSRMGR.MSC” to block the guest login for exploring my personal drive in WIN XP. Please suggest me the idea.

  8. calebstein

    you can also use the “taskkill /f /im [process name] /t” syntax or the “taskkill /f /pid [process id] /t” syntax.

  9. Suraj

    is this possible to kill linux process from windows machine
    using command prompt.

  10. davy

    how do i avoid having to reload installed programs after i reload my xp

  11. Abhijeet

    In Windows 7, the syntax to kill a running program (a process) is-


  12. shocked

    How is that last message still on this thread?

  13. fail

    this is old. this command does not work for windows xp, vista, or 7.

  14. Craig

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!