Windows 10连接VPN后误报无网络问题求助
我知道这个问题已经被问过很多次了,但我还没找到真正能解决它的办法。
我住在中国,为了获取信息自由(这是基本人权),必须通过VPN访问国际互联网。之前VPN连接时Windows 10能正确显示“Internet访问”,但现在明明能正常访问所有被屏蔽的网站(比如www.google.com),系统却错误地显示“无网络”。
这看起来不是大问题,但我的ISP会不断尝试断开我的VPN,有时候还真能成功——可网络连接状态指示器(NCSI)根本没法告诉我什么时候真的断网了,这就很麻烦。
我已经尝试过以下所有方法,但都没有效果:
- 修改网上推荐的注册表配置(内容如下)并重启路由器
- 验证能正常ping通测试服务器(结果如下)
- 禁用并重新启用网络适配器
- 执行
dism /online /cleanup-image /restorehealth和sfc scannow命令 - 重装操作系统
- 使用Snappy Driver Installer更新网卡驱动
- 多次重启电脑
我尝试的注册表配置:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet] "ActiveDnsProbeContent"="8.8.8.8" "ActiveDnsProbeContentV6"="2001:4860:4860::8844" "ActiveDnsProbeHost"="dns.google" "ActiveDnsProbeHostV6"="dns.google" "ActiveWebProbeContent"="success" "ActiveWebProbeContentV6"="success" "ActiveWebProbeHost"="detectportal.firefox.com" "ActiveWebProbeHostV6"="detectportal.firefox.com" "ActiveWebProbePath"="success.txt" "ActiveWebProbePathV6"="success.txt" "CaptivePortalTimer"=dword:00000000 "CaptivePortalTimerBackOffIncrementsInSeconds"=dword:00000005 "CaptivePortalTimerMaxInSeconds"=dword:0000001e "EnableActiveProbing"=dword:00000001 "PassivePollPeriod"=dword:0000000f "StaleThreshold"=dword:0000001e "WebTimeout"=dword:00000023 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\ManualProxies] [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator] @=""
Ping测试结果:
PS C:\Users\Xeni> ping detectportal.firefox.com Pinging prod.detectportal.prod.cloudops.mozgcp.net [34.107.221.82] with 32 bytes of data: Reply from 34.107.221.82: bytes=32 time=203ms TTL=120 Reply from 34.107.221.82: bytes=32 time=203ms TTL=120 Reply from 34.107.221.82: bytes=32 time=203ms TTL=120 Reply from 34.107.221.82: bytes=32 time=204ms TTL=120 Ping statistics for 34.107.221.82: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 203ms, Maximum = 204ms, Average = 203ms PS C:\Users\Xeni> ping 8.8.8.8 Pinging 8.8.8.8 with 32 bytes of data: Reply from 8.8.8.8: bytes=32 time=203ms TTL=120 Reply from 8.8.8.8: bytes=32 time=203ms TTL=120 Reply from 8.8.8.8: bytes=32 time=203ms TTL=120 Reply from 8.8.8.8: bytes=32 time=200ms TTL=120 Ping statistics for 8.8.8.8: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 200ms, Maximum = 203ms, Average = 202ms
我还发现一个规律:只要断开VPN,NCSI立刻就能正确显示有网络访问,这个现象我已经反复验证过了,但这显然不是解决办法。
现在我的「设置 -> 网络和Internet -> 状态 -> 网络状态」里显示:
No Internet access
Your device is connected, but you might not be able to access
anything on the network. If you have a limited data plan, you can
make this network a metered connection or change other
properties.
到底该怎么解决这个问题?
P.S. 补充一些可能有人会问到的细节:我用的是Windows 10 Pro 22H2 x64版本,有线以太网连接;上述所有常规修复手段都试过了,毫无效果。
备注:内容来源于stack exchange,提问作者Ξένη Γήινος

