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

แก้ข้อผิดพลาด An error occurred while renewing interface Ethernet ใน Windows 11/10

ผู้ใช้หลายคนเจอ "An error occurred while renewing interface Ethernet" เมื่อใช้คำสั่ง IP Config ใน Command Prompt/PowerShell ข้อความส่วนที่สองอาจเป็น:

  • Ethernet Access is denied
  • Unable to contact your DHCP server
  • The name specified in the network control block is used on a remote adapter
  • An attempt was made to access a socket
  • The RPC server is unavailable
  • The object already exists
  • The data is invalid
  • The DHCP client has obtained an IP address that is already in use on this network
  • The operation was canceled by the user

สาเหตุอาจเป็น IP Conflict ปัญหา Network Setting Network Adapter หรือ Router ลองวิธีต่อไปนี้:

An error occurred while renewing interface Ethernet

  1. Run Windows Network Diagnostics Tool
  2. Reset Winsock, Release TCP/IP, Flush DNS, Reset Proxy
  3. Enable DHCP Client Service
  4. Disable Firewall Temporarily
  5. Use Network Reset

1. Run Windows Network Diagnostics Tool

Network Troubleshooters ของ Windows แก้ปัญหา Connection ได้ คลิกขวา Network Icon Taskbar > Troubleshoot Problem เลือก Ethernet ที่มีปัญหา > Next Windows สแกนอัตโนมัติ หาปัญหา ถามอนุญาตแก้ไข หลัง Troubleshoot Release/Renew IP Address ตรวจสอบว่าปัญหายังคงอยู่หรือไม่

2. Reset Winsock, Release TCP/IP, Flush DNS, Reset Proxy

ปัญหา TCP/IP รีเซ็ต Network settings จะช่วยได้ เปิด CMD Admin รัน:

nbtstat -R
nbtstat -RR
netsh int reset all
netsh int ip reset
netsh winsock reset

Release TCP/IP: ipconfig /release

Flush DNS: ipconfig /flushdns (หมายเหตุ: ตัวอย่างเดิมพิมพ์ผิด pconfig)

Reset Proxy: netsh winhttp reset proxy

หรือใช้ Batch File รวมคำสั่งทั้งหมด รีสตาร์ทคอมพิวเตอร์ตรวจสอบ

3. Enable DHCP Client Service

Service ปิดอยู่ก็เป็นสาเหตุ เปิด Services หา "DHCP Client" คลิกขวา Run ถ้าทำงานอยู่ Restart ดู รีสตาร์ทคอมพิวเตอร์ตรวจสอบ

4. Disable Firewall Temporarily

ปิด Windows Firewall ชั่วคราว Release/Renew IP Address แต่ระวังอย่าดาวน์โหลดไฟล์ระหว่างปิด Firewall (เสี่ยง Virus/Malware)

5. Use Network Reset

ไม่มีวิธีไหนได้ ใช้ Network Reset ติดตั้ง Network Adapters ใหม่ ตั้งค่า Network Components กลับ Default

หวังว่าวิธีไหนวิธีหนึ่งจะช่วยได้