Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ไข msftconnecttest Redirect Error ใน Windows 11/10 (NCSI)

Windows ตรวจสอบอินเทอร์เน็ตโดยโหลด https://msftconnecttest.com/connecttest.txt หากล้มเหลว = ไม่มีเน็ต หาก Redirect Loop = ถูกบล็อกโดย AV/VPN หรือ Wi-Fi Captive Portal

4 วิธีแก้ไข

  1. Disable WiFi/VPN หรือ Whitelist URL:
    • ปิด VPN/AV ชั่วคราวทดสอบ
    • Whitelist: msftconnecttest.com และ ipv6.msftconnecttest.com
    • หากเป็น Captive Portal Wi-Fi: Login หรือปิด Wi-Fi
  2. Disable NCSI ผ่าน Registry (สำหรับ Win 10 Home):
    • Regedit > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet
    • EnableActiveProbing DWORD: 1 → 0
    • Restart - Windows จะไม่ตรวจสอบอินเทอร์เน็ตอัตโนมัติ
  3. Disable NCSI ผ่าน Group Policy (สำหรับ Pro/Enterprise, IT Admin):
    • gpedit.msc > Computer Config > Admin Templates > System > Internet Communication Management > Internet Communication Settings
    • Turn off Windows Network Connectivity Status Indicator active tests = Enabled
  4. Custom NCSI Server (IT Admin):
    • ตั้ง Web Server เอง วาง connecttest.txt
    • GPO: Computer Config > Admin Templates > Network > NCSI > Specify Corporate Website/DNS Probe URL/Host/Address
    • Registry: เปลี่ยน ActiveWebProbeHost, ActiveDnsProbeHost, ActiveDnsProbeContent ใน Key เดียวกับข้อ 2

คำเตือน: การปิด NCSI อาจลดความสามารถตรวจจับอินเทอร์เน็ตของ Windows/Components อื่น