Kill a process from the command line (Windows)Tag(s): Misc Prog HowTo


FIrst, get the process id with TASKLIST
tasklist /fi "imagename eq java.exe"
output :
Image Name          PID    Session Name  Session# Mem Usage Status
=================== ====== ============= ======== ============
Java.exe            1060   RDP-Tcp#8     0        81 408 Ko
the use TASKKILL <pid>
taskkill /pid 1060

blog comments powered by Disqus