@echo Off
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Set-NetAdapterBinding -Name '*' -ComponentID ms_tcpip6 -Enabled $False
echo ipv6 Disabled.
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d 0xFF /f
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v "EnableIPv6" /t REG_DWORD /d 0 /f
shutdown -r -t 0