Windows10可以上网但显示无 Internet
出现这种情况是因为Windows 测试网络的 DNS 服务器在中国无法访问
相关网络测试配置数值在注册表的位置
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet
手动修改注册表中相应的值即可,或者用脚本文件执行修改,方法如下
新建internet.txt,添加以下内容
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet] "ActiveDnsProbeContent"="131.107.255.255" "ActiveDnsProbeContentV6"="fd3e:4f5a:5b81::1" "ActiveDnsProbeHost"="dns.msftncsi.com" "ActiveDnsProbeHostV6"="dns.msftncsi.com" "ActiveWebProbeContent"="Microsoft NCSI" "ActiveWebProbeContentV6"="Microsoft NCSI" "ActiveWebProbeHost"="www.msftncsi.com" "ActiveWebProbeHostV6"="ipv6.msftncsi.com" "ActiveWebProbePath"="ncsi.txt" "ActiveWebProbePathV6"="ncsi.txt" "CaptivePortalTimer"=dword:00000000 "CaptivePortalTimerBackOffIncrementsInSeconds"=dword:00000005 "CaptivePortalTimerMaxInSeconds"=dword:0000001e "EnableActiveProbing"=dword:00000001 "PassivePollPeriod"=dword:0000000f "StaleThreshold"=dword:0000001e "WebTimeout"=dword:00000023
文件后缀名改为reg,双击运行该文件
以管理员身份运行cmd输入以下内容并回车确定
ipconfig /flushdns
断开wifi重新连接,若问题仍未解决则重启电脑