I know this has been asked many times but I haven't found anything that actually solves it.
I use VPNs to access international internet, freedom of information is a basic human right, unfortunately I live in China, so I have to use VPNs to exercise that right.
And now Windows 10 falsely reports "No Internet" while the VPN is connected, despite the fact I can visit any blocked website just fine (e.g. www.google.com). Windows correctly reported "Internet Access" while the VPN was active in the past, but somehow it doesn't now.
You might think this is not a big deal, but my ISP constantly tries to disconnect my VPN and sometimes they succeed, and Network Connectivity Status Indicator would fail to tell me when I am actually disconnected.
I of course Googled this, and some results suggested the following registry edits and reboot router:
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]
@=""
I tried it and it didn't work.
I can ping the servers used in the test just fine:
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
I have disabled and re-enabled the network adapter...
Nothing works.
However I know if I disconnect the VPN, the NCSI will immediately correctly report that I have internet access, I have successfully reproduced this many times without failure, but of course this isn't the solution for obvious reasons.
My Settings -> Network & Internet -> Status -> Network Status says:
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.
How do I fix this problem?
P.S. These details are irrelevant, but I will add them here in case someone mentions them:
My operating system is Windows 10 Pro 22H2 x64, and I am using wired Ethernet connection, but they don't affect the problem that much; and no, dism /online /cleanup-image /restorehealth, sfc scannow absolutely don't fix this problem, so doesn't reinstalling the OS; And I have already updated the network driver using Snappy Driver Installer earlier, and I have rebooted my computer...