How to repair and reset the Windows TCP/IP stack ?
The TCP/IP stack Winsock settings in Windows can sometimes get corrupted, causing various problems with internet connectivity. Such corruption can be caused by various networking software installations, or virus/malware infections.
Corrupt Winsock can cause various networking errors, including inability to surf the internet with "Page cannot be displayed" browser error, even though the network card appears to be connected. Sometimes the ICS service is terminated as well.
To reset the Windows Vista/7/8/10 TCP/IP stack:
1. Run Elevated Command Prompt:
- Click the Start button
- Type: cmd in the Start Search text box.
- right-click and choose "Run as Administrator" (alternatively, press CTRL-SHIFT-ENTER to run it as administrator), and allow elevation request
2. Type: netsh winsock reset in the shell and hit Enter
3. Type: netsh int ip reset and hit Enter again.
4. Restart the computer
Alternatively, if you use the TCP Optimizer, just click the "Reset Winsock" and/or "Reset TCP/IP" in its "File" menu, then reboot.