Friday, 7 December 2012

Kill Any Process in Windows 7

It is pretty annoying when a program you want to exit do not close, because of too many apps running in your desktop. The primary step a user takes to close that particular program is opening a Task Manager. What if the Task Manager stucks? What should you do next? You can make use of your command prompt to kill the process. Let us see how do you kill a process in Windows 7.
Log in to your system with administrator privileges and open up the command prompt. Type “Tasklist” on the command prompt, it will give you a list of processes running on your system. The processes will have their ‘process IDs’.
Which command do I need to use in order to kill a process?
“Taskkill” is the command which has to be used to kill any process. Let us assume that you need to kill Firefox, all you need to type is:

Taskkill /IM firefox.exe /F
The significance of ‘/F’ is it kills any process forcefully, it is not always that you should kill the process using the process names. You can also kill the processes using their process IDs, you need to run the command called:
Taskkill /PID 2704 /F
How do I kill many processes simultaneously?
At times killing processes one by one would not only be a tedious job, but also a time consuming job. So it will be great, if you can kill all the processes at a time. The command to kill all the processes at a time is:

Taskkill /PID 2704 5472 4344 /F

No comments:

Post a Comment

THANK YOU FOR COMMENT ON HTTP://TWEEKNTRICK.blogspot.com