禁用IPV6

reg add hklmsystemcurrentcontrolsetservices cpip6parameters /v DisabledComponents /t REG_DWORD /d 4294967295 /f

and then check with:
reg query HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip6Parameters /v DisabledComponents

原文地址:https://www.cnblogs.com/zbw911/p/3502383.html