From a7edae47bcbd3c1d4c84a5ce74b934f55ffaeaf8 Mon Sep 17 00:00:00 2001 From: Flowseal Date: Sat, 26 Apr 2025 21:00:09 +0300 Subject: [PATCH] Added winws.exe check for service_status --- service_status.bat | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/service_status.bat b/service_status.bat index 5d54e62..7b8dcd5 100644 --- a/service_status.bat +++ b/service_status.bat @@ -1,12 +1,18 @@ @echo off +setlocal EnableDelayedExpansion chcp 65001 > nul :: 65001 - UTF-8 if "%~1"=="" ( - echo Checking already running service instances, see services.msc for more info + echo Checking services and tasks... call :test_service zapret call :test_service WinDivert - echo Services status check complete! + tasklist /FI "IMAGENAME eq winws.exe" | find /I "winws.exe" > nul + if !errorlevel!==0 ( + echo Bypass is ACTIVE + ) else ( + echo Bypass NOT FOUND + ) pause ) else ( call :test_service "%~1" "soft" @@ -24,7 +30,7 @@ set "ServiceStatus=%ServiceStatus: =%" if "%ServiceStatus%"=="RUNNING" ( if "%~2"=="soft" ( - echo "%ServiceName%" is ALREADY RUNNING as service! Use "service_remove.bat" first if you want to run standalone bat. + echo "%ServiceName%" is ALREADY RUNNING as service, use "service_remove.bat" first if you want to run standalone bat. pause ) else ( echo "%ServiceName%" service is RUNNING.