After Microsoft launched the Windows 7 operating system, many of its friends upgraded to Windows 7, some of which were originally upgraded from Vista. However, you may encounter the following problem during use: each time you restart or in use, the system will occasionally prompt "the default gateway is unavailable" and then you will not be able to connect to the network. You can use the repair function or the ipconfig-renew command to restore the normal status, but it will appear again later. How can you solve this problem completely?
Even when ipconfig-renew is used,"When loopback pseudo-interface 1 is released, the system cannot find the specified file. Operation failed, no adapter is in the status that allows this operation.".
The solution is to fix Winsock.
Next let's take a look at how to do it?
Fix Winsock commands
Step 1: Click the win icon in the lower left corner, Enter cmd, and press enter to open the DOS mode window.
Step 2: Enter "netsh Winsock RESET" directly at the doscommand line prompt, and press Enter. The system will prompt you to restart it.
Step 3: Enter "netsh int IP reset. log" at the doscommand prompt and press enter to restart the computer.
Step 4: Close the DOS window, restart the computer, and solve the problem.