Monday, 16 October 2017

Kill Processes using Command Prompt in Windows 7 (might work for higher versions as well)


Hi All,

In this blog am going to share the method by which you can kill processes using Command Prompt in Windows 7. So, lets get started:-

For this we will use the Tasklist and the Taskkill command as follows:

1. Open the command prompt in the administrative privileges mode.

2. Now, type the command: Tasklist and press Enter.

3. It will list down all the running processes.

4. Move down the list till you find the process that you want to kill and make note of its PID (process id).

5. Now, run the command: Taskkill /PID <enter the above PID> /F where /F is used to kill the process forcefully.

6. You can also kill the process by its name.

7. Say, you want to kill Chrome.Use this command:Taskkill /IM chrome.exe /F

8. In fact, you can kill multiple processes at the same time, by running a command like below:
Taskkill /PID <PID1> <PID2> <PID3> /F

Please make sure to include single space between each element of the above commands..

Done!


No comments:

Post a Comment