@echo off REM =================================================== REM S.W.A.R.M-Watchdog - Sauberes Stoppen REM - Beendet watchdog_server.py REM - Beendet cloudflared REM =================================================== echo [INFO] Stoppe Watchdog-Server... powershell -NoProfile -Command "Get-CimInstance Win32_Process | Where-Object { $_.CommandLine -match 'watchdog_server\.py' } | ForEach-Object { Write-Output (' - PID ' + $_.ProcessId); Stop-Process -Id $_.ProcessId -Force -ErrorAction SilentlyContinue }" echo [INFO] Stoppe cloudflared-Tunnel... taskkill /F /IM cloudflared.exe >nul 2>&1 echo [OK] Alles gestoppt. timeout /t 2 /nobreak >nul