From 4275dfda690dbd5a11166feb41f7cf4142e65425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=93=99=F0=9D=93=BE=F0=9D=93=B5=F0=9D=93=B2?= =?UTF-8?q?=F0=9D=93=B8?= Date: Mon, 20 Apr 2026 14:13:59 -0400 Subject: [PATCH] Update any-desk-reset-trial.bat --- any-desk-reset-trial.bat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/any-desk-reset-trial.bat b/any-desk-reset-trial.bat index 0196e16..b93fcb3 100644 --- a/any-desk-reset-trial.bat +++ b/any-desk-reset-trial.bat @@ -71,7 +71,9 @@ pause goto :eof :got_id -echo [*] New ID obtained. Stopping AnyDesk to restore user settings... +for /f "tokens=2 delims==" %%A in ('findstr /C:"ad.anynet.id=" "%PD%\system.conf"') do set "NEWID=%%A" +echo [*] New ID obtained: %NEWID% +echo [*] Stopping AnyDesk to restore user settings... call :stop_any echo [*] Restoring user.conf and thumbnails... @@ -87,7 +89,6 @@ if exist "%temp%\ad_thumbnails" ( echo [*] Starting AnyDesk... call :start_any -for /f "tokens=2 delims==" %%A in ('findstr /C:"ad.anynet.id=" "%PD%\system.conf"') do set "NEWID=%%A" echo. echo ============================================================ echo Script is finished. You can continue using AnyDesk. @@ -151,4 +152,4 @@ goto stop_any :so_kill taskkill /f /im "AnyDesk.exe" >NUL 2>&1 timeout /t 1 /nobreak >NUL -exit /b \ No newline at end of file +exit /b