Windows Guides Feed

This quick tip is in response to a couple of readers’ questions on how to forcefully kill a program.

Sometimes a program will hang up and wont close. You can use task manager to kill the process or you can run a simple command. Learn how to do both of these in this guide.

Use Task Manager to Terminate a Program

To use task manager to terminate a program, do the following:

  1. Press CTRL+SHIFT+ESC to open the task manager
  2. Find the frozen process and right click the name
  3. Click End Process

    Terminate programs in Windows - 1

  4. Exit the Task Manager

Use the Command Line to Terminate a Program

Sometimes you just want to use the command line; to use the command line to terminate a program, do the following:

  1. Press WINKEY+R to Open the Run dialogue (Start, type run, click run)
  2. Type cmd and hit Enter

    Terminate programs in Windows - 2

  3. Type taskkill /f /im process.exe (process exe is the frozen process’s name)
  4. Wait for confirmation and exit the command line

Terminate programs in Windows - 3



About Rich

Rich is the owner and creator of Windows Guides; he spends his time breaking things on his PC so he can write how-to guides to fix the problems he creates.

Free PC tips by email

Search Windows Guides




Comments

  • D.DuPre’

    thanks, i been using the task manager which eventually miscue afterward
    shortcuts aren’t always the best solution.i’ll use the cmd for now on

  • D.DuPre’

    thanks, i been using the task manager which eventually miscue afterward
    shortcuts aren’t always the best solution.i’ll use the cmd for now on

  • D.DuPre’

    thanks, i been using the task manager which eventually miscue afterward
    shortcuts aren’t always the best solution.i’ll use the cmd for now on

  • rsvr85

    You can also create a shortcut on the desktop with the following into the location bar. Make sure that the name is automatically taskkill. It’ll kill any windows “not responding”

    taskkill.exe /f /fi “status eq not responding”

  • Francisco Wesley

    Very interesting, I was using this command recently for close the internet explore and firefox.

  • Very interesting, I was using this command recently for close the internet explore and firefox.

  • Very interesting, I was using this command recently for close the internet explore and firefox.

  • rsvr85

    You can also create a shortcut on the desktop with the following into the location bar. Make sure that the name is automatically taskkill. It’ll kill any windows “not responding”

    taskkill.exe /f /fi “status eq not responding”

  • You can also create a shortcut on the desktop with the following into the location bar. Make sure that the name is automatically taskkill. It’ll kill any windows “not responding”

    taskkill.exe /f /fi “status eq not responding”

  • MSherwood

    Sometimes, when I REALLY want to kill all instances and processes involved with an application, I’ll choose “End Process Tree” and that does the trick.

  • Sometimes, when I REALLY want to kill all instances and processes involved with an application, I’ll choose “End Process Tree” and that does the trick.

  • Sometimes, when I REALLY want to kill all instances and processes involved with an application, I’ll choose “End Process Tree” and that does the trick.

  • Rich

    rsvr and MSherwood — thanks for sharing your tips!

  • rsvr and MSherwood — thanks for sharing your tips!

  • rsvr and MSherwood — thanks for sharing your tips!

  • SandeepChouhan

    Hi,

    This is the best way to close the program, but can you put any other way! Because sometimes, a virus is executed and the process cannot be killed through Task Manager or Command Prompt, whats the best way at that time to kill the program and minimize the damange on computer!

    Thanks,
    Sandeep Singh Chouhan

  • SandeepChouhan

    Hi,

    This is the best way to close the program, but can you put any other way! Because sometimes, a virus is executed and the process cannot be killed through Task Manager or Command Prompt, whats the best way at that time to kill the program and minimize the damange on computer!

    Thanks,
    Sandeep Singh Chouhan

  • SandeepChouhan

    Hi,

    This is the best way to close the program, but can you put any other way! Because sometimes, a virus is executed and the process cannot be killed through Task Manager or Command Prompt, whats the best way at that time to kill the program and minimize the damange on computer!

    Thanks,
    Sandeep Singh Chouhan

  • Asif

    its really nice.

  • its really nice.

  • its really nice.

  • saleh13

    thank you

  • Joe Russell

    Knowing how to do this from the command line is a nifty trick!

  • Knowing how to do this from the command line is a nifty trick!

  • Knowing how to do this from the command line is a nifty trick!

  • GarykPatton

    I have been looking looking around for this kind of information. Will you post some more in future? I’ll be grateful if you will.

  • I have been looking looking around for this kind of information. Will you post some more in future? I’ll be grateful if you will.

  • I have been looking looking around for this kind of information. Will you post some more in future? I’ll be grateful if you will.

  • Cómo finalizar "a

    […] Via. Average: 0 ‹ Cómo detectar y corregir errores en memorias USB. arriba Cómo se hace: Instalar Windows 7 RC como un arranque dual, de Vista, o desde cero. › 264 lecturas […]

  • Pingback: Cómo finalizar "a la fuerza" los programas de Windows XP/Vista/7. | subinet.es beta información tecnológica y de actualidad.()


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Enter your email address:
 

Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook