From f3556ec9c872925b9a4dd6f74b249ca160b90528 Mon Sep 17 00:00:00 2001 From: harmonicano <237638681+harmonicano@users.noreply.github.com> Date: Sat, 13 Dec 2025 13:50:06 +0000 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D0=B5?= =?UTF-8?q?=D1=80=D0=B2=D0=B8=D1=81=D0=BE=D0=B2=20VPN=20=D0=B2=20=D0=B4?= =?UTF-8?q?=D0=B8=D0=B0=D0=B3=D0=BD=D0=BE=D1=81=D1=82=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=85=20(#6135)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service.bat | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/service.bat b/service.bat index aaf17ca..710ace4 100644 --- a/service.bat +++ b/service.bat @@ -451,7 +451,14 @@ echo: :: VPN sc query | findstr /I "VPN" > nul if !errorlevel!==0 ( - call :PrintYellow "[?] Some VPN services found. Some VPNs can conflict with zapret" + for /f "tokens=2 delims=:" %%A in ('sc query ^|^ findstr /I "VPN"') do ( + if not defined VPN_SERVICES ( + set "VPN_SERVICES=!VPN_SERVICES!%%A" + ) else ( + set "VPN_SERVICES=!VPN_SERVICES!,%%A" + ) + ) + call :PrintYellow "[?] VPN services found:!VPN_SERVICES!. Some VPNs can conflict with zapret" call :PrintYellow "Make sure that all VPNs are disabled" ) else ( call :PrintGreen "VPN check passed"