@echo off echo Stopping YS render worker... powershell -NoProfile -Command "Get-CimInstance Win32_Process | Where-Object { $_.CommandLine -like '*ys_worker.py*' } | ForEach-Object { Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue }" echo Stopped. (Server side will show the machine as offline.) timeout /t 3 >nul