kill the process in windows code example Example: windows kill process // Kill process by exe name taskkill /IM "ProcessName.exe" /F