Windows - Quick Fix for Networking ProblemsUse this guide to repair Internet connection problems in Windows 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 7 & Vista
•Windows XP
•Summary
Windows 7 & Vista
1. Click
Start and type "
command" in the search box.
Right-click on
Command Prompt and choose
Run as administrator.

2. Type the following commands, pressing Enter after each command:
◦
netsh int ip reset reset.txt◦
netsh winsock reset◦
netsh advfirewall reset
3. Restart the computer.
Windows XP1. Click
Start, then select
Run.

2. Type "
command" and press
enter.

3. 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.4. Restart the computer.
Summary If the commands are typed in properly but errors occur, Windows networking may be heavily damaged. In addition, if these commands do not return errors, yet do not fix the Internet connection after the computer has been restarted, consider further troubleshooting:
•Power-cycle any external networking devices, i.e. routers, cable modems, DSL gateways, etc.
•Check Device Manager for any problems with Network adapters, i.e. if they are disabled or if drivers are not properly installed.