Nếu bạn gặp thông báo lỗi như trên, nguyên nhân chính là các registry entry của Windows Sockets (Winsock) đã bị hỏng. Windows Sockets (Winsock) là giao diện lập trình quản lý yêu cầu mạng đến/đi trên Windows. Bạn thường không thấy lỗi này cho đến khi chạy Network Troubleshooter, và không thể truy cập internet do lỗi:
One or more network protocols are missing on this computer
Windows Sockets registry entries required for network connectivity are missing.
Lý do chạy Network Troubleshooter là không thể online. Nếu yêu cầu mạng không được xử lý đúng, mạng sẽ hoàn toàn không hoạt động. Hãy xem ngay cách khắc phục.
Khắc phục lỗi "Windows sockets registry entries required for network connectivity are missing"
Hãy tạo điểm khôi phục hệ thống, phòng trường hợp có sự cố.
Cách 1: Reset các thành phần Winsock
- Mở Command Prompt (tìm cmd, Enter).
- Chạy lần lượt, Enter sau mỗi lệnh:
ipconfig /release
ipconfig /flushdns
ipconfig /renew - Mở lại Admin Command Prompt, chạy lần lượt:
ipconfig /flushdns
nbtstat –r
netsh int ip reset
netsh winsock reset - Khởi động lại máy. Flush DNS thường khắc phục được lỗi này.
Cách 2: Chạy Network Troubleshooter
- Windows + I → Settings → Update & Security.
- Bên trái chọn Troubleshoot.
- Chọn Internet Connections → Run the troubleshooter.
- Làm theo hướng dẫn trên màn hình.
- Khởi động lại máy.
Cách 3: Xóa registry entry Winsock và cài lại TCP/IP
- Windows + R, nhập regedit, Enter.
- Điều hướng: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2
- Chuột phải WinSock2 → Export. Chọn vị trí an toàn → Save.
Lưu ý: Đã backup khóa registry WinSock phòng sự cố. - Chuột phải WinSock2 registry key → Delete.
- Điều hướng: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
- Lặp lại bước 3-4 cho khóa Winsock.
- Windows + R, nhập ncpa.cpl, Enter mở Network Connections.
- Chuột phải Local Area Connection hoặc Ethernet → Properties.
- Cửa sổ Properties, nhấp Install.
- Cửa sổ "Select Network Feature Type", chọn Protocol → Add.
- Nhấp "Have Disk..." trên cửa sổ Select Network Protocol.
- Ô "Copy manufacturer's files from", nhập: C:\Windows\inf → Enter.
- Cửa sổ Select Network Protocol, chọn Internet Protocol (TCP/IP) – Tunnels → OK.
- Đóng tất cả, khởi động lại máy.
Nếu gặp lỗi sau khi làm các bước trên:
Could not add the requested feature. The error is: This program is blocked by group policy. For more information, contact your system administrator.
- Tải file registry Windows Socket và import vào Registry Editor:
Download WinSock Registry File
Download WinSock2 Registry File - Chuột phải file registry tải về → Run as Administrator.
- Nhấp Yes → khởi động lại máy.
- Lặp lại các bước trên để xem có khắc phục được không.
Cách 4: Dùng Google DNS
Có thể dùng Google DNS thay vì DNS mặc định của ISP hoặc nhà sản xuất card mạng. Điều này đảm bảo DNS trình duyệt dùng không liên quan đến lỗi video YouTube không load. Thực hiện:
- Chuột phải biểu tượng network (LAN) khay tác vụ → Open Network & Internet Settings.
- App Settings mở ra, bên phải nhấp Change adapter options.
- Chuột phải mạng muốn cấu hình → Properties.
- Chọn Internet Protocol Version 4 (IPv4) → Properties.
- Tab General, chọn 'Use the following DNS server addresses', nhập:
Preferred DNS Server: 8.8.8.8
Alternate DNS Server: 8.8.4.4 - OK để lưu.
- Khởi động lại, kiểm tra.
Cách 5: Tắt IPv6
- Chuột phải biểu tượng WiFi khay hệ thống → Open Network and Sharing Center.
- Nhấp kết nối hiện tại mở Settings.
Lưu ý: Nếu không kết nối được mạng, dùng cáp Ethernet rồi làm bước này. - Nhấp nút Properties.
- Bỏ tích Internet Protocol Version 6 (TCP/IP).
- OK → Close, khởi động lại.
Cách 6: Tắt Proxy
- Windows + R, nhập inetcpl.cpl, Enter mở Internet Properties.
- Tab Connections → LAN settings.
- Bỏ tích Use a Proxy Server for your LAN, đảm bảo "Automatically detect settings" được tích.
- OK → Apply, khởi động lại.
Cách 7: Cài lại driver Network Adapter
- Windows + R, nhập devmgmt.msc, Enter.
- Mở rộng Network adapters, chuột phải WiFi adapter → Uninstall.
- Xác nhận Uninstall.
- Chuột phải Network Adapters → Scan for hardware changes.
- Khởi động lại, Windows tự cài driver mặc định.
Cách 8: Khởi động lại Router
Nếu router cấu hình sai, bạn có thể không truy cập internet dù đã kết nối WiFi. Nhấn nút Refresh/Reset trên router, hoặc vào settings router tìm tùy chọn reset.
- Tắt router/modem, rút nguồn điện.
- Đợi 10-20 giây, cắm lại nguồn.
- Bật router, thử kết nối lại thiết bị.
Cách 9: Tắt rồi bật lại Network Adapter
- Windows + R, nhập ncpa.cpl, Enter.
- Chuột phải wireless adapter → Disable.
- Chuột phải lại adapter đó → Enable.
- Khởi động lại, thử kết nối lại WiFi.
Bài viết liên quan:
- Khắc phục One or more network protocols are missing on this computer
- Khắc phục You've been signed in with a temporary profile error
- Cách khắc phục Desktop Refers to A Location That Is Unavailable
- Khắc phục High CPU Usage bởi Service Host: Local System
Bạn đã khắc phục thành công Lỗi Windows sockets registry entries required for network connectivity are missing. Nếu còn thắc mắc, hãy bình luận bên dưới.