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_MACHINE\SYSTEM\CurrentControlSet\Services\
     NlaSvc\Parameters\Internet\EnableActiveProbing

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_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing 改為0  禁用檢測

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

上面的不起作用 

計算機\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing 改為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_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet
Type: DWORD
Value: EnableActiveProbing
Data: 1

Key: HKLM\Software\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator
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.

 

 

以上方法都不管用 每次重啟網卡吧

netsh interface set interface 以太網 disable
netsh interface set interface 以太網 enable

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM