TB_信息安全_点滴

collect info about work need

Windows 怎麼知道我已連線到網際網絡?

2021-10-12 admin 网络

1. 電腦啟動, 或網線接上了, 假設Windows經過DHCP得到IP Address
2. Windows 嘗試向DNS查詢一條A紀錄 www.msftncsi.com
3. 成功的話再查詢dns.msftncsi.com
固定是得到131.107.255.255這個結果的, 如果Windows發現得不到這個結果, 或者結果不相同
就會覺得電腦沒有正確得到網絡連接, 或會顯示不能接入網絡的訊息.
4. 假如以上步驟成功的話, 會向http://www.msftncsi.com/ncsi.txt 發出GET指令

把下面的代码复制到记事本,并另存为为reg后缀名的文件(例如:修复网络.reg)
双击打开并 重启 即可解决问题

修复网络.reg
windows Registry Editor Version 5.00

[HKEY_LOCAL_ MACHINE\SYSTENN\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\SYSTEMNNCurrentControlSet(ServicesWlaSvc\Parameters\Internet\ManualProxies]



https://dotblogs.com.tw/swater111/2014/01/09/139420


Win10 2004显示无法访问Internet小地球 却可以上网 的 简单解决办法(附上注册表文件

https://blog.csdn.net/dongsizhuo/article/details/106546777


标签: internet

发表评论: