Windows – Quick Fix for Networking Problems (WinSock Reset)

Use this document to repair Internet connection problems in Windows 10, 8, 7, Vista and XP. These commands reset TCP/IP, Windows Socket, and Windows Firewall.

Programs like firewalls, antivirus applications, VPN clients, and various malware can cause Internet connection problems. When there are Internet connection problems in Windows 7, Vista, or XP, make sure there are no firewalls installed other than the Windows Firewall. If other firewalls are in use, consider uninstalling them and re-enable the Windows Firewall. If problems persist, try the following commands.

Windows 8 and 10
Windows 7 & Vista
Windows XP
Summary
Windows 8 and 10
Open the Metro screen and type “command” which will automatically open the search bar. Right-click on Command Prompt and choose Run as administrator at the bottom of the screen.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset

Restart the computer.

Windows 7 & Vista
Click Start and type “command” in the search box. Right-click on Command Prompt and choose Run as administrator.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh advfirewall reset

Restart the computer.

Windows XP
Click Start, then select Run.

Type “command” and press enter.

Type the following commands, pressing Enter after each command:

netsh int ip reset reset.txt
netsh winsock reset
netsh firewall reset

Note: Windows XP must have Service Pack 2 (or later) installed in order for these three commands to work properly. Otherwise, only the first command will work.

Restart the computer.