zoukankan      html  css  js  c++  java
  • windows 可以上网,显示无网络连接

    连接状态检测原理

    复制从:https://superuser.com/questions/277923/how-does-windows-know-whether-it-has-internet-access-or-if-a-wi-fi-connection-re

    Here are the details of the connection status determination process:

    The following list describes how NCSI might communicate with a Web site to determine whether a network has Internet connectivity:

    1. A request for DNS name resolution of dns.msftncsi.com

    2. A HTTP request for http://www.msftncsi.com/ncsi.txt returning 200 OK and the text Microsoft NCSI

    This can be disabled with a registry setting. If you set

     HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices
         NlaSvcParametersInternetEnableActiveProbing
    

    to 0, Windows will no longer probe for internet connectivity.

    Apple does something very similar in iOS to detect internet connectivity and possible hotel "login" wifi pages, etc.

    解决办法:

    计算机HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNlaSvcParametersInternetEnableActiveProbing 改为0  禁用检测

    ##############################################################20210706

    上面的不起作用 

    计算机HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNlaSvcParametersInternetEnableActiveProbing 改为1

    参考 :https://docs.microsoft.com/en-us/answers/questions/122033/win-10-version-2004-no-internet-connection-but-can.html

    The following registry entries worked for me immediately, and retain after multiple reboots. Even if there are no values present under the NetworkConnectivityStatusIndicator Key, add the one shown below and see if it helps.

    Key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNlaSvcParametersInternet
    Type: DWORD
    Value: EnableActiveProbing
    Data: 1

    Key: HKLMSoftwarePoliciesMicrosoftWindowsNetworkConnectivityStatusIndicator
    Type: DWORD
    Value: NoActiveProbe
    Data: 0

    If issues persist, I recommend wiping and reloading the OS w/ 2004 or 20H2 (whichever is your preference). An In-Place Upgrade will not resolve this issue.

  • 相关阅读:
    EOJ 2743 Stock Exchange
    POJ-3468 A Simple Problem with Integers
    EOJ-1104 bitmap
    【转】旋转卡壳——凸多边形间对踵点对(定义)
    Ring 3层枚举进程的四种方法
    XX-Net项目,免费浏览谷歌的伟大项目
    浅析Java中的内存机制
    Ubuntu下eclipse中安装Scala插件
    注入(5)---导入表注入(HookINT)
    Linux下MySQL导入文件出错ERROR 1290 (HY000)
  • 原文地址:https://www.cnblogs.com/wolbo/p/14965939.html
Copyright © 2011-2022 走看看