Thursday, September 19, 2013

Kill a process via command line

One server
taskkill /im besclientui.exe /f

Multiple servers
List servers in a file named C:\servers.txt

for /f %x in (c:\servers.txt) do taskkill /s %x /im besclientui.exe /f