Files
zapret-win-bundle/zapret-winws/windivert_delete.cmd
bol-van d1f72b1edf bundle
2025-12-14 18:52:10 +03:00

22 lines
295 B
Batchfile

@echo off
if "%1%" == "del" (
echo DELETE WINDIVERT DRIVER
sc delete windivert
sc stop windivert
goto :end
)
sc qc windivert
if errorlevel 1 goto :end
echo.
choice /C YN /M "Do you want to stop and delete windivert"
if ERRORLEVEL 2 goto :eof
"%~dp0elevator" %0 del
goto :eof
:end
pause