cd %~dp0 taskkill /F /FI "USERNAME eq %username%" /IM pyOpenRPA_Agent.exe pause >nul