Kill a Process From the Command Prompt in Windows 7
Although I can do this task using the Windows 7 Task Manager, being a long time Linux user, sometimes I am more comfortable doing dirty things at the Command Prompt. If you prefer to Kill processes using the Command Prompt then this Windows Tip is for you. First to execute the Kill command in Windows 7, you have to run the Command Prompt as Administrator. To do this just right click command prompt from "All Programs > Accessories > Command Prompt" then select "Run as Administrator" on the pop-up menu.
On the Command Prompt, perform the following. 1. Type "tasklist" and press enter. It will show you a list of all the running processes.
2. Now you can End any particular process by executing the "Taskkill" command. For Example, to kill Chrome just type.
Taskkill /IM chrome.exe /F
Where: /IM - Kill by Image Name /F - Kill the process forcefully.
To kill any process using it's ID, run the command as:
2 comments:
i don't know why is this posted as for win7
it works exactly the same for xp
@Maeena - i just want to emphasize that the same command exist in windows 7. thanks for the clarification :)
Post a Comment