Results 1 to 10 of 16
- 11-17-2009, 10:15 AM #1
Kill Processes using Command Prompt in Windows 7 | 8
If your Task Manager gets stuck or unresponsive due to intensive apps and you are not able to kill the particular process. What do u do ? You press ctrl alt delete to open up task manager and find the culprit. But you can kill also multiple processes using command prompt in Windows 7.
Kill Processes using Command Prompt in Windows 7 | 8
To do so, open the Command Prompt in the Administrative privileges mode and run the tasklist command, it will show you a list of all the running processes.

To views the processes, type Taskview and hit Enter.
To kill any particular process use the Taskkill command. For example to kill Chrome, run the command as:
Taskkill /IM chrome.exe /F
where /F is used to kill the process forcefully. You can also kill any particular process by using it’s ID, the tasklist command displays the process ID’s as well (you can see the PID column in the screenshot). To kill any process using it’s ID, run the command as:
Taskkill /PID 2704 /F
Now to kill multiple processes simultaneously, run the above command with the PID’s of all the processes followed by spaces
Taskkill /PID 2704 5472 4344 /F
That's it!Last edited by knightrider™; 11-17-2009 at 10:25 AM.
- 11-17-2009, 10:21 AM #2
Member
- Join Date
- Oct 2008
- Location
- Italy
- Posts
- 1,674
Excellent, no doubt!
Thank you
- 11-17-2009, 10:26 AM #3
thanks leo i ll post some if i get time
- 11-17-2009, 03:13 PM #4
I think that works in Vista too. All the commands are there.
- 11-17-2009, 03:49 PM #5
Member
- Join Date
- Nov 2008
- Posts
- 1,926
- 11-18-2009, 10:05 AM #6
Beginner
- Join Date
- Nov 2009
- Location
- Hyderabad, India
- Posts
- 14
Taskkill is powerfull.
I just want to give a situation where taskkill is not right choice. If you have multiple MMCs(dsa.msc, adsiedit.msc, and few other) running on PC and if you want to kill only dsa.msc(Active Directory Users and Computers), then taskkill is not your choice. The reason is it all MMC applications runs with same process name mmc.exe(args are different).
If you are in such a situations, the below can help you.
Get-Process | where {$_.mainwindowtitle -match "active directory users and computers"} | stop-process
Sitaram's Blog: Get process details using window title:
Thanks,
Sitaram Pamarthi
- 11-18-2009, 10:31 AM #7
Here is a detailed description already on TheWindowsClub
- 11-18-2009, 10:54 AM #8
nice tip knightrider™ tnx
- 01-10-2011, 11:33 AM #9
New Member
- Join Date
- Jan 2011
- Posts
- 1
Thank you, you just saved a lot of unsafed data.

One addition:
Miranda was not only locking the taskmanager and explorer but also the command prompt.
Lucky as I am I'm using Launchy, which can also pass commands to cmd. :-)
"cmd [Tab] Taskkill /IM miranda32.exe /F" did the trick.
Thanks again!
- 01-28-2011, 02:00 PM #10
Thank you for tasklist command. It's a nice tip.





LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks