Friday 10 July 2015

How to kill processes using command prompt

We often use task manager to kill apps which are not responding well or somehow not letting our system work properly. 
Note : To open task manager you can use Ctrl + Shift + Esc Keys together.
But Sometimes when this doesn't work or you love to use command prompt a lot, you can use command prompt to kill processes.Here's how : 



1. Open command prompt(Obviously :P ). (Window + R keys, type cmd and press enter)

2. Type the command tasklist , and you will see a list of processes that are currently running along with their process id and the bytes of memory they are using.
Note:  PID (i.e., process identification number) is an identification number that is automatically assigned to each process when it is created on an operating system. A process is an executing (i.e., running) instance of a program.

The command will list all the process running on the system, however for the sake of brevity I have not shown all the processes in the image.

3. Find out the process you want to kill and remember it Process Id. Its must.

4. Use the command taskkill/pid "Enter you Process Id"  (Without quotes). Here you have to enter the process id of the process you want to kill.


Its Done !!!

No comments:

Post a Comment