Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: disables IPv6 on all adapters
- :: needs nvspbind - http://archive.msdn.microsoft.com/nvspbind
- :: by Vasil "npocmaka" Arnaudov
- set PATH=%PATH%;.
- for %%# in (nvspbind.exe) do echo %%~dp$PATH:# | find ":" >nul 2>&1 || ( echo NVSPBIND not found & exit /b 1 )
- for /f eol^=^" %%A in ('nvspbind ^| find "{"') do nvspbind %%A | find /I "enabled: ms_tcpip6" >nul 2>&1 && nvspbind -d %%A ms_tcpip6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement