Use this document 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.
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.