How To Force Close a Program in Windows 10

How to force close a program in Windows 10-1

Windows 10 may be more stable than ever before but that doesn’t stop it, or programs running on it, misbehaving occasionally. Usually a quick Alt +F4 will do the trick and close the faulty app but sometimes it isn’t enough. This tutorial is for those times. Here’s how to force close a program in Windows 10.

Usually when a program becomes unresponsive, it freezes. If you’re particularly unlucky, it will also freeze the desktop or the entire operating system. If just the program freezes, there are a couple of things you can do before hitting the reset button on your device. Let’s see if we can force close the misbehaving program and restore the desktop to fully working condition.

Force close a program in Windows 10

Usually, if a program freezes, you hit Alt + F4 and close it. Sometimes it works and sometimes it doesn’t. Alt +F4 is a request, not a command so much depends on what happened to the program in question. Fortunately, it is only one of a few methods we have at our disposal to force close programs. Here are some more.

Force close a program using Task Manager

The next most obvious method to force close a program it to use Task Manager. In fact, for most Windows users, it’s the only time they would every use Task Manager.

  1. Hit Ctrl + Alt + Delete to access Task Manager.
  2. Highlight the unresponsive program and select End Task.
  3. Wait a few seconds for it to close the program.

Like Alt + F4, sometimes Ctrl + Alt + Delete works and sometimes it doesn’t. If the program is completely locked, more drastic action is required.

If you use Task Manager a lot to control apps, you might want to set it to always load on top. This stops those frustrating moments when you hit Ctrl + Alt + Delete and Task Manager opens underneath the frozen program so you cannot get to it. It isn’t perfect but works in the majority of instances.

  1. Hit Ctrl + Alt + Delete to access Task Manager.
  2. Select Options from the top menu.
  3. Select Always on top.

This will set Task Manager to load on top of any programs you might have open at the time.

How to force close a program in Windows 10-2

Force close a program using taskkill

Taskkill is a Windows command line action that forces the OS to shut down the process. You can use it either as an instruction to use as and when or set t as a desktop shortcut.

  1. Open a CMD window as an administrator.
  2. Type ‘tasklist’ and hit Enter. Locate the locked program and note its PID.
  3. Type ‘taskkill /PID 1234 /f’ and hit Enter. Where you see 1234, type the PID of the unresponsive program.

You should see a message that says ‘SUCCESS: The process with PID 1234 has been terminated.’

How to force close a program in Windows 10-3

Set taskkill up as a shortcut

If you come up against a lot of unresponsive programs, it might be worthwhile setting up this command as a desktop shortcut. That way, all you need do it double click an icon and Windows will force close the program.

  1. Right click on an empty part of your desktop.
  2. Select New, Shortcut and type ‘taskkill.exe /f /fi “status eq not responding’ in the location and click Next.
  3. Give it a name and click OK.

Now if a program freezes, just double click the icon and the script should automatically close any program that is not responding. You can also assign it a shortcut key combination for even faster execution.

  1. Right click your new taskkill shortcut and select Properties.
  2. Add a key into the Shortcut key box. Windows will automatically add Ctrl + Alt to create the combination.
  3. Set Run to Minimized if you don’t want to see the CMD window flash up when it works.

Force close a program using another program

There are two Windows programs of note that are useful for unresponsive programs, ProcessXP and SuperF4.

ProcessXP is a free program that you can use instead of Task Manager. It offers much more detail and control over resources and programs and is very lightweight. It is actually a Microsoft product and why they don’t integrate some of its features into Task Manager I do not know.

SuperF4 is a program that needs to be installed and running but offers a much deeper control over force closing a program in Windows 10. It provides the shortcut Ctrl + Alt +  F4 and works at a much deeper level within Windows. This allows it to work in many more situations where Alt + F4 or Ctrl + Alt + Delete cannot help.

Posted by Jamie on March 11, 2017

Leave a Reply

Your email address will not be published. Required fields are marked *