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.