windows kill task command line code example Example: windows kill process // Kill process by exe name taskkill /IM "ProcessName.exe" /F