Sunday, January 25, 2009

How to kill all process by user in Windows

kill all processes belong to user ayam
taskkill /F /FI "USERNAME eq ayam"

Just kill all calc.exe processes that belong to ayam.
taskkill /F /FI "USERNAME eq ayam" /im calc.exe

0 comments: