How to set a timeout for a process under Windows 7? June 15, 2023 by Tarik start yourprogram.exe timeout /t 60 taskkill /im yourprogram.exe /f