How to restore Winsock/Winsock2

Deleted Winsock and Winsock 2?

Recently it has become more common to get the “Unidentified Network” issue on windows 10 where it shows that your network is not being identified as shown below, this happens because your Winsock registry file & IP config becomes corrupted.

You may have decided to find a solution online and followed the first link on Google which told you to delete Winsock which then made everything worse. I will show you how to fix this problem in a few simple steps without rolling back Windows or anything drastic. This will also fix the “Unidentified Network” error too.

fix unidentified wifi and ethernet

How to fix restore winsock files and fix ‘Unidentified network’

To fix this problem you will have to download the Winsock registry files which I will link to below so that you can have something to reset back to how it was before.

1. Download both WinSock registry files below:

To download click the links above and then press the download button on the top right.

2. Click on both files and continue

Allow changed registry

This will add Winsock and Winsock 2 to your registry again but may not have the correct information inside which is why we need to reset it in the next step.

3. Open CMD as administrator and type this command in:

netsh winsock reset

netsh winsock reset

After you have typed the command in, this should show up and tell you to restart your computer.

4. IP reset

netsh int ip reset

netsh int ip reset

This command will reset your ip settings in case they may have been corrupted and should fix the “Unidentified Network” issue for both Wi-Fi and ethernet. Where I have highlighted in the picture above may worry you but the command will still work. Lastly just restart your computer and router/hub and everything should work fine. If you are using powerline adapters to connect via ethernet than make sure to reconfigure them to because they may also be the cause of the problem.


Leave a Reply

Your email address will not be published. Required fields are marked *