mirror of
https://github.com/bol-van/zapret-win-bundle.git
synced 2025-12-16 20:07:04 +03:00
22 lines
295 B
Batchfile
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
|