Kill stubborn tasks that refuse to die with Taskkill

Everyone who has ever used Microsoft Windows has had a program freeze up on there and if you say you have not then your computer must stay off 24/7! If you are lucky the program will just close itself after freezing up and you won’t lose any data. But sometimes you aren’t that lucky and have to force close the program.

The first thing most people try is to go into Task Manager, finding the application name in the Applications tab and then try to end it by clicking on End task. And if that doesn’t work you can try to go to the Process tab and then try to end the actual process. In Windows 10 there is no Application tab and the main view is from the Processes tab and you would go to the Details tab to get a view of the list of executables running on your system.

Windows 10 Task Manager

But then again sometimes even these methods don't work and you need to take things to the next level. This is where Taskkill comes into play. Taskkill is an executable you run from a command prompt and its used to end a process or task by process ID (PID) or image name. To find the PID or image name you can run tasklist from a command prompt to show you the same information you can get from Task Manager but tasklist will show you multiple instances of the same task so the list will be much longer.

Windows Tasklist

Now keep in mind that Taskkill has many different parameters you can use besides image name and PID. If you run taskkill /? you will see the parameter list and other switches you can run to fine tune things such as connecting to a remote system, running taskkill as a different users and killing any child processes along with the one you are trying to kill. At the bottom it will even show you some examples.

Windows Taskkill

To use Taskkill to simply kill a process the easiest way it to use the PID since it’s easy to find. In our example above we want to kill EXCEL.EXE with the process ID of 13604 so we type in the command taskkill /PID 13604 and press enter on the keyboard.

Windows Taskkill

As you can see it sent the termination signal to the process with PID 13604 which is exactly what we wanted and then Excel was shut down. We have seen where even taskkill won’t close a program and have noticed it with programs like Google Chrome and it will say there is no instance of the program running and in that case you are pretty much stuck rebooting since Windows doesn’t seem to know that the program is still running and therefore can’t shut it down.

So if you are in a bind and can’t close a frozen program and don’t want to reboot then keep Taskkill in mind because for the most part it will do the job and prevent headaches at the same time!

Pin It

Join Us On FaceBook

Join Us On Twitter

Get insights into the computer industry and regular updates on our site. Click Here

OCT Youtube Channel

New tech tip videos posted on a regular basis. Subscribe today! Click Here

Sponsored

LATEST VIDEOS

Try out some interesting free software from Kaspersky ...

Learn How to Create a RAID 1 Mirrored Drive Set ...

Use the ipconfig command to troubleshoot network problem...

Avoid having to put in your password when you start your...

Kill stubborn tasks that refuse to die with Taskkill ...

Find out how much information Microsoft is gathering fro...

RECENT TIPS

Another utility you can use to fight off spyware As you...

Get those programs uninstalled completely with Revo Unin...

Make your computer easier to use with the Windows Ease o...

Learn the history of wireless technology and how it work...

Try out some interesting free software from Kaspersky ...

Tweak Windows 10 to have it work the way you want it to ...

NEWS

Microsoft to release Windows 10 Pro for Workstations If...

Microsoft wants to change how we use Windows 10 with Win...

FCC challenges the current net neutrality regulations A...

Mozilla takes things up a notch with its new faster and ...

Qualcomm Inc. has come out with a new server level proce...

Once again it's time for a Microsoft security breach tha...