Kill Running Process Using Command Line

When infected with a virus that blocks most programs from running it can be hard to kill off the task. You can not delete a file while it is in use. We normally recommend users simply re-name the file and then re-boot the computer.

A better but slighlty more complicated way is to use the command line to terminate/kill the task and then delete the file.

This video covers how to do that.

The above video was for a file located at


The command we used was

taskkill /f /im Protector-Irtp.exe

You can do the exact same by first browsing in the command line to the directory where the file is located. Then type in the above commande of "taskkill /f /im processname.exe" of course processname.exe is the name of the process you are wanting to kill.

Once this is done you can easily delete the file with out having to re-boot your computer after renaming it.

Another in-depth article covering more technical information about taskkill can be found at

Speak Your Mind

* cannot be held liable for any damages that may occur from using our community virus removal guides. Viruses cause damage and unless you know what you are doing you may loose your data. We strongly suggest you backup your data before you attempt to remove any virus. Each product or service is a trademark of their respective company. We do make a commission off of each product we recommend. This is how is able to keep writing our virus removal guides. All Free based antivirus scanners recommended on this site are limited. This means they may not be fully functional and limited in use. A free trial scan allows you to see if that security client can pick up the virus you are infected with.