Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไข: "Windows couldn't automatically bind the IP protocol stack to the network adapter"

ผู้ใช้รายงานเจอข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack to the network adapter" หลังพยายามซ่อมการเชื่อมต่อไร้สายโดยรัน Windows Troubleshooter ผู้ใช้ส่วนใหญ่รายงานว่าปัญหาเริ่มหลัง Windows Update ที่ผิดปกติ หรือหลังถอนการติดตั้งซอฟต์แวร์ VPN

แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter

สาเหตุของข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack"

หากสังเกตรายละเอียด ข้อความข้อผิดพลาดชี้ให้เห็นแหล่งที่มาของปัญหาเล็กน้อย เราสืบสวนจากรายงานผู้ใช้และวิธีแก้ที่พวกเขาใช้ พบว่ามีผู้ก่อให้เกิดข้อผิดพลาดนี้หลายอย่าง:

  • Windows ดึง IP Address ด้วย DHCP ไม่ได้ - เมื่อเงื่อนไขบางอย่างตรงกัน Windows อาจมีปัญหาดึง IP ด้วย Dynamic Host Configuration Protocol (เนื่องจาก Bad Driver หรือ Network Tools ที่ขัดแย้ง)
  • Virtual Private Network (VPN) Client รบกวนการเชื่อมต่อ - นี่เป็นสาเหตุทั่วไปที่สุดของข้อผิดพลาดนี้ พบบ่อยเมื่อผู้ใช้พยายามลบ VPN Client โดยไม่ทำตามช่องทางทางการ
  • VPN Software ที่ไม่รองรับติดตั้งระหว่างอัปเกรด - หากเพิ่งอัปเกรดเป็น Windows 10 VPN Software อย่าง Cisco VPN อาจทิ้งไฟล์ซากเหล็กที่รบกวนการเชื่อมต่อไร้สาย
  • WLan AutoConfig Service ถูกปิดใช้งาน - แอปพลิเคชันบางตัวหรือ Windows Update ที่ผิดปกติ อาจหยุดบริการนี้ไม่ให้เริ่มต้นที่ทุกครั้งบูต

หากคุณกำลังเผชิญปัญหานี้ บทความนี้จะช่วย Troubleshoot ปัญหา นี่คือคอลเลกชันวิธีแก้ที่ผู้ใช้ในสถานการณ์คล้ายกันใช้สำเร็จ

เพื่อผลลัพธ์ที่ดีที่สุด ทำตามวิธีด้านล่างตามลำดับจนกว่าจะพบวิธีที่แก้ปัญหาในสถานการณ์ของคุณได้

วิธี 1: คืนค่า Network Adapter Properties เริ่มต้น

เริ่มจากสิ่งง่ายๆ - ตรวจสอบว่าไม่มี Network Items อื่นที่รบกวนการเชื่อมต่อ (นอกจากมาตรฐาน) น่าจะเป็นที่ 3rd Party Network Client (VPN, Virtual Machine Networking Driver, หรืออย่างอื่น) กำลังทำให้ Wi-Fi ทำงานผิดปกติ

คุณสามารถแก้การรบกวนประเภทนี้ได้โดยปกติโดยการให้แน่ใจว่า Wi-Fi Connection ใช้เฉพาะ Items ที่จำเป็นเท่านั้น นี่คือคำแนะนำด่วน:

  1. กด Windows + R พิมพ์ ncpa.cpl Enter เปิดแท็บ Network Connections
  2. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  3. ในแท็บ Network Connections คลิกขวาที่ Wi-Fi Network Adapter ที่ไม่ทำงาน เลือก Properties
  4. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  5. ในหน้าจอ Wi-Fi Properties ตรวจสอบว่าอยู่ในแท็บ Networking แล้วปิดเครื่องหมายถูกของทุกรายการ ยกเว้น รายการด้านล่าง และคลิก Okหมายเหตุ: ก่อนทำ โปรดถ่ายภาพหน้าจอการตั้งค่าปัจจุบันไว้ก่อน เพื่อให้ทราบว่าจะคืนค่าไหนหากวิธีนี้ไม่ได้ผล

    File and Printer Sharing for Microsoft Networks
    QoS packet scheduler
    Link-Layer Topology Discovery Responder
    Internet Protocol Version 4 (TCP/IPv4)
    Link-Layer Topology Discovery Mapper I/O driver
    Internet Protocol Version 6 (TCP/IPv6)
    Microsoft LLDP Protocol Driver
    Client for Microsoft Networks

     

    แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  6. เชื่อมต่อคอมพิวเตอร์กับเครือข่ายบ้าน (หรือที่ทำงาน) อีกครั้ง ดูว่าข้อผิดพลาดหายไปหรือไม่

หากยังเจอข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack to the network adapter" ให้ไปวิธีถัดไป

วิธี 2: ใช้ Registry Editor เพิ่มค่า DhcpConnEnableBcastFlagToggle

มีอีกวิธีแก้ยอดนิยมที่ช่วยผู้ใช้หลายคนแก้ข้อผิดพลาดนี้

วิธีนี้เกี่ยวข้องกับการใช้ Registry Editor ไปที่ Key NetworkCards และดึง Value Data ของ Adapter ที่แสดงข้อผิดพลาด เราจะใช้ Value Data นั้นไปที่ String ServiceName และสร้าง DWORD ใหม่ชื่อ DhcpConnEnableBcastFlagToggle

สิ่งนี้อาจดูยากเพราะทำใน Registry Editor ทั้งหมด แต่จริงๆ แล้วทำง่ายมาก หากทำตามคำแนะนำด้านล่างอย่างเคร่งครัด คุณไม่ได้ลบอะไรจาก Registry จึงไม่เสี่ยงทำลายส่วนประกอบอื่น

นี่คือสิ่งที่คุณต้องทำ:

  1. กด Windows + R พิมพ์ regedit Enter เปิด Registry Editor เมื่อ UAC ถาม คลิก Yes ให้สิทธิ์ Admin
  2. ใน Registry Editor ใช้แผงขวาไปที่ Registry Key ด้านล่าง (สามารถ Paste Path นี้ใน Registry Editor ของคุณได้เลย หรือนำทางด้วยตนเอง):
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards
  3. ใน Registry Key NetworkCards คุณควรมี Sub-key 2 ตัว (หรือมากกว่า) จำไว้ว่าแต่ละ Sub-key ตรงกับ Adapter ตอนนี้เพื่อหาว่า Sub-key ไหนตรงกับ Adapter ที่มีปัญหา ให้เลือกแต่ละโฟลเดอร์ (2, 3, ฯลฯ) และตรวจสอบ Data value ของ Description เพื่อระบุผู้กระทำร้าย
  4. เมื่อระบุได้ว่า Sub-key ไหนตรงกับ Wireless Network Adapter ของคุณ ให้เลือกมัน แล้วใช้แผงขวา คลิกสองครั้งที่ ServiceName
  5. เมื่อเปิด Value ServiceName แล้ว Copy Value data ทั้งหมดไปที่ Clipboard
  6. ไปที่ Registry Key ต่อไปนี้ด้วยการนำทางด้วยตนเอง หรือ Paste ตำแหน่งใน Navigation Bar กด Enter:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\[Value Data]

    หมายเหตุ: [Value Data] เป็นเพียง Placeholder สำหรับค่าที่ Copy ขั้นตอน 5 อย่าลืมแทนที่ด้วยข้อมูลของคุณเอง

  7. เมื่อถึงตำแหน่งแล้ว ไปแผงขวา คลิกขวาที่ว่าง เลือก New > DWORD Value (32-bit) ตั้งชื่อ DWORD ใหม่ว่า DhcpConnEnableBcastFlagToggle
  8. คลิกสองครั้งที่ DhcpConnEnableBcastFlagToggle ตั้ง Value Data เป็น 1 กด Ok
  9. Reboot เครื่อง ดูว่าข้อผิดพลาดหายไปตอนบูตใหม่หรือไม่
แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter

หากยังเจอข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack to the network adapter" ให้ไปวิธีถัดไป

วิธี 3: ลบ Registry Keys ของ CISCO VPN ที่รบกวน

จากรายงานผู้ใช้ ดูเหมือนว่าเวอร์ชันเก่าของ Cisco VPN มักเป็นผู้ก่อให้เกิดข้อผิดพลาดนี้ มีการคาดเดาของผู้ใช้มากว่าเกิดเพราะ Cisco VPN Builds เก่าไม่ได้ออกแบบมาให้รันร่วมกับ Windows 10 Updates ล่าสุด (Anniversary Update และ Creators Update) ได้ดี

น่าจะเป็นที่แอป Cisco VPN ทิ้ง Registry Key บางตัว (ตัวนี้ก่อให้เกิดข้อผิดพลาด) ไว้แม้โปรแกรมจะถูนถอนการติดตั้งแล้ว โชคดีที่คุณแก้ได้ง่ายๆ โดยรันคำสั่ง CMD ด้วยสิทธิ์ Admin นี่คือคำแนะนำด่วน:

  1. กด Windows + R พิมพ์ cmd แล้ว Ctrl + Shift + Enter เปิด CMD แบบ Elevated เมื่อ UAC ถาม คลิก Yes ให้สิทธิ์ Admin
  2. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  3. ใน CMD Elevated พิมพ์หรือ Paste คำสั่งด้านล่าง กด Enter เพื่อลบ Key ที่ก่อให้เกิดปัญหา:
    reg delete HKCR\CLSID\{988248f3-a1ad-49bf-9170-676cbbc36ba3} /f

    หมายเหตุ: หาก Key ถูกลบออกจากระบบแล้ว คุณจะได้ข้อผิดพลาด "The system was unable to find the specified registry key or value"

  4. ใส่คำสั่งต่อไปนี้ กด Enter เพื่อทำให้การลบ Key เสร็จสมบูรณ์:
    netcfg -v -u dni_dne
  5. Reboot คอมพิวเตอร์ ดูว่าข้อผิดพลาดหายไปตอนบูตใหม่หรือไม่

หากยังเห็นข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack to the network adapter" ให้ไปวิธีถัดไป

วิธี 4: เปลี่ยน Startup Type ของ AutoConfig เป็น Automatic

ผู้ใช้รายงานว่าแก้ได้หลังเปลี่ยน Startup Type ของ AutoConfig Service เป็น Automatic

แม้บริการนี้ควรเปิดใช้งานโดยค่าเริ่มต้นตอนบูตทุกครั้ง แอปบุคคลที่สามหรือกระบวนการอัปเกรดที่ผิดปกติอาจเปลี่ยนพฤติกรรมมาตรฐาน นี่คือคำแนะนำด่วนให้แน่ใจว่า Startup Type ของ AutoConfig เปิดอยู่:

  1. กด Windows + R พิมพ์ services.msc Enter เปิดหน้าจอ Services
  2. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  3. ในหน้าจอ Services เลื่อนลงหา WLAN AutoConfig พอเจอ คลิกสองครั้ง
  4. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  5. ในหน้าจอ Properties ไปแท็บ General ตั้ง Startup type เป็น Automatic จาก Dropdown Menu กด Apply บันทึก
  6. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  7. Reboot เครื่อง ตอนบูตใหม่ Windows ควรเริ่ม WLAN AutoConfig Service อัตโนมัติและแก้ปัญหา

หากยังเข้าอินเทอร์เน็ตผ่าน Wi-Fi ไม่ได้ ให้ไปวิธีถัดไป

วิธี 5: ใช้ System Restore Point

หากคุณมาถึงจุดนี้โดยไม่มีผลลัพธ์ คุณน่าจะแก้ปัญหาได้ หากมี System Restore Point ที่บันทึกไว้ก่อนหน้า วันที่ก่อนคุณเริ่มประสบปัญหา

ผู้ใช้ในสถานการณ์คล้ายกันรายงานว่า System Restore ช่วยได้หลัง Windows Update ผิดปกติ หรือถอนการติดตั้ง VPN Software ผิดปกติ

System Restore Point เก่าจะคืนเครื่องไปสถานะที่ Wi-Fi Adapter ทำงานปกติ นี่คือคำแนะนำด่วน:

  1. กด Windows + R พิมพ์ rstrui Enter เปิด System Restore Wizard
  2. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  3. รอ Utility เริ่มต้น แล้วเลือก Choose a different restore point คลิก Next ที่พรอมต์แรก
  4. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  5. หน้าจอถัดไป ติ๊ก Show more restore points เพื่อรายการเต็ม เลือก Restore Point ที่วันที่ก่อนปัญหาเริ่ม กด Next อีกครั้ง
  6. แก้ไข:  Windows couldn t automatically bind the IP protocol stack to the network adapter
  7. คลิก Finish คอมพิวเตอร์จะรีสตาร์ทและคืนสถานะเครื่องเก่า

ตอนบูตใหม่ คุณควรสังเกตว่า Wireless Connection ทำงาน และไม่เจอข้อผิดพลาด "Windows couldn't automatically bind the IP protocol stack to the network adapter" อีกแล้ว