Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows

Khắc phục lỗi "An error occurred while renewing interface Ethernet" trên Windows 11/10

Nhiều người dùng gặp lỗi "An error occurred while renewing interface Ethernet" khi chạy lệnh IP Config trong Command Prompt/PowerShell. Phần thứ hai của lỗi có thể là:

  • 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

Nguyên nhân có thể do xung đột IP, cài đặt mạng, Network Adapter hoặc Router. Dưới đây là các giải pháp:

Các giải pháp khắc phục

  1. Chạy Windows Network Diagnostics Tool
  2. Reset Winsock, Release TCP/IP, Flush DNS, Reset Proxy
  3. Kích hoạt DHCP Client Service
  4. Tạm tắt Firewall
  5. Sử dụng Network Reset

1. Chạy Windows Network Diagnostics Tool

Các trình khắc phục sự cố mạng của Windows có thể sửa lỗi kết nối. Thử cách này trước.

  • Chuột phải icon mạng trên taskbar → Troubleshoot Problem
  • Chọn Ethernet đang gặp sự cố → Next
  • Windows quét tự động, nếu phát hiện lỗi sẽ xin phép sửa tự động
  • Sau khi xong, release và renew IP để kiểm tra

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

Nếu lỗi do TCP/IP, reset các cài đặt mạng sẽ ổn định kết nối.

Mở Command Prompt (Admin) và chạy lần lượt:

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

Release TCP/IP:

ipconfig /release

Flush DNS:

ipconfig /flushdns

Reset Proxy:

netsh winhttp reset proxy

Hoặc dùng file Batch thực hiện tất cả cùng lúc. Khởi động lại máy và kiểm tra.

3. Kích hoạt DHCP Client Service

Nguyên nhân có thể đơn giản là dịch vụ DHCP Client bị tắt.

  • Mở Services từ Start Menu
  • Tìm "DHCP Client" → chuột phải → Run
  • Nếu đang chạy: Restart dịch vụ
  • Khởi động lại máy và kiểm tra

4. Tạm tắt Firewall

Nếu vẫn lỗi, tắt Windows Firewall tạm thời để release/renew IP. Lưu ý: Không tải file khi tắt Firewall vì máy dễ bị tấn công.

5. Sử dụng Network Reset

Nếu không cách nào khắc phục, dùng Network Reset để cài lại Network Adapter và đưa cài đặt mạng về mặc định.

Hy vọng một trong các giải pháp giúp ích cho bạn.