mirror of
https://github.com/bol-van/zapret-win-bundle.git
synced 2025-12-17 04:14:37 +03:00
bundle
This commit is contained in:
21
zapret-winws/windivert_delete.cmd
Normal file
21
zapret-winws/windivert_delete.cmd
Normal file
@@ -0,0 +1,21 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user