My colleague’s home computer running Windows 10 began to lose the Internet access from time to time (once in 2-3 days with the Limited connection status in tray). When running the Network Diagnostics wizard (started by clicking the icon of the network connection with an error or from Settings -> Update & Security -> Troubleshoot -> Run the Internet Connections troubleshooter), a typical error appears:
Windows Sockets registry entries required for network connectivity are missing.
My colleague usually solved this problem by restarting Windows and router, after which he could access the Internet for some time. But in a couple of days the issue came back. Recently he has asked me to help to fix the missing network protocol error. Here is what I have done.
If such a floating problem occurs, it is usually recommended to start with the simples thing: reset TCP/IP and Windows Sockets settings. If you have set the IP address manually instead of using DHCP, the following commands will reset your network settings. So write down your current IP address, subnet mask, gateway and DNS server settings for your LAN connections.
netsh winsock reset
Sucessfully reset the Winsock Catalog. You must restart the computer in order to complete the reset.
netsh interface ipv4 reset
Resetting Compartment Forwarding, OK! Resetting Compartment, OK! Resetting Control Protocol, OK! Resetting Echo Sequence Request, OK! Resetting Global, OK! Resetting Interface, OK! Resetting Anycast Address, OK! Resetting Multicast Address, OK! Resetting Unicast Address, OK! Resetting Neighbor, OK! Resetting Path, OK! Resetting Potential, OK! Resetting Prefix Policy, OK! Resetting Proxy Neighbor, OK! Resetting Route, OK! Resetting Site Prefix, OK! Resetting Subinterface, OK! Resetting Wakeup Pattern, OK! Resetting Resolve Neighbor, OK! Resetting , OK!
These commands will reset the TCP/IP settings of all network adapters and all processors (Winsock Layered Service Providers) to the default state. Thus, you will delete all third-party handlers that were built in your Winsock stack by any third-party software. The most often antivirus software, sniffers, firewalls or even some viruses integrate their handlers into Winsock network stack.
After you have run all these commands, reboot your computer and check your Internet connectivity.
If the problem persists, delete the current Windows Sockets settings from the registry.
- Open the Registry Editor (regedit.exe) and go to the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock. Backup this registry key by exporting it to a REG file (right-click it -> Export);
- Delete the Winsock reg key (right-click it -> Delete);
- Do the same for the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock2.
Then you have to manually reinstall the TCP/IP protocol components.
- Open the properties of your network adapter in the Network Connection management panel (ncpa.cpl) and click Install;
- Select Protocol in the list of components to be installed (Select Network Feature Type);
- Then specify that you want to install the component from the disk and specify the path to the folder: C:\Windows\INF;
- Select Internet Protocol version 4 (TCP/IPv4) in the list of available network protocols and reboot your computer.
Network Connections Could not add the requested feature. The error is: This program is blocked by group policy. For more information, contact your system administrator.
To fix it, you must manually import the following registry keys:
HKLM\SYSTEM\CurrentControlSet\Services\Winsock2 from another computer running the same OS version and build number and apply them on the problem PC.
You can download ready-made reg files for clean Windows 10 x64 LTSC following the links below:
Import these REG files to the registry and restart your computer. Now try to re-install the TCP/IP protocol. (If there is no other way, you can use your winsock registry key backed up earlier, but it is better to use clean ones.)
In the properties of your network connection, check if it is configured to get the dynamic IP address and DNS server settings or specify the IP address and DNS servers manually (in my case, static IP settings are cleared after reset). You can use the following static Google DNS server addresses for a home computer:
Click on the Advanced button here and in the WINS tab disable LMHOSTS lookup and NetBIOS over TCP/IP. These network protocols are outdated and you do not need them in modern networks.
After that the error of “one or more network protocols are missing” disappeared in Windows 10. If it did not help you, I would recommend to reinstall (update) your NIC drivers. They may also cause this problem.