解决电脑能上网,但是显示无法连接Internet

  1. 本地新建1.txt,写入下述代码,保存后重命名为1.reg, 然后双击该文件

    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"
    "EnableActiveProbing"=dword:00000001
    "PassivePollPeriod"=dword:0000000f
    "StaleThreshold"=dword:0000001e
    "WebTimeout"=dword:00000023
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\ManualProxies]
    
  2. Ctrl + r 输入regedit打开注册表

  3. 输入地址栏\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet

  4. 选中的地方设置为下图

image-20220330143138284

  1. 关闭,然后再次打开注册表,输入HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator
  2. 将此值设为0

image-20220330143102640

  1. 重启

猜你喜欢

转载自blog.csdn.net/qq_56039091/article/details/123857197
今日推荐