Загрузка данных


@echo off

taskkill /f /im rustdesk.exe >nul 2>&1

rd /s /q "C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\RustDesk"
rd /s /q "%AppData%\RustDesk"

timeout /t 2 >nul

start "" "C:\Program Files\RustDesk\rustdesk.exe"

timeout /t 5 >nul

:: Настройки RustDesk
mkdir "%AppData%\RustDesk\config" >nul 2>&1

(
echo {
echo   "verification-method":"use-permanent-password",
echo   "permanent-password":"Lemon.3712",
echo   "custom-rendezvous-server":"155.212.245.106",
echo   "relay-server":"155.212.245.106",
echo   "key":"kh7K8SXhwXmtmKdvtNEQDP1mZr7oQSDOnbFhxBByLCk=",
echo   "allow-remote-config-modification":"Y",
echo   "enable-unsecure-tls":"Y"
echo }
) > "%AppData%\RustDesk\config\RustDesk2.toml"

taskkill /f /im rustdesk.exe >nul 2>&1
timeout /t 2 >nul

start "" "C:\Program Files\RustDesk\rustdesk.exe"

echo Done
pause