Resetting Winsock Catalog
Sometimes it happens that the settings for a network connection become unusable, corrupt and it is impossible for the computer to gain a proper IP address. The quickest and easiest fix that works most of the time is to go to Start -> Run and type control and press enter. In here locate the item Network Connections or Network and Dial-up and open it. In the window that opens, right-click the connection thats problematic and select Disable. Wait a few moments (5-10 sec.) and double-click the connection. This will re-enable the connection and repair most problems
If this doesnt work, another solution is to repair the Winsock catalog. There are a few options for doing this:
Option 1- Download and run WinsockFix
(you can put it on your USB flash drive, a floppy or a CD and then run it on the machine that has network issues)
Option 2- If the computer has XP with Service Pack 2
Click on the Start menu -> Run and type in cmd and press enter. In the command window that opens, type in
netsh winsock reset
Option 3 - If the computer doesnt have XP with service pack 2
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- In Registry Editor, locate the following keys, right-click each key, and then click Delete:
- When you are prompted to confirm the deletion, click Yes.
Note Restart the computer after you delete the Winsock keys. Doing so causes the Windows XP operating system to create new shell entries for those two keys. If you do not restart the computer after you delete the Winsock keys, the next step does not work correctly.
- Right-click the network connection, and then click Properties.
- Click Install.
- Click Protocol, and then click Add.
- Click Have Disk.
- Type C:\Windows\inf, and then click OK.
- On the list of available protocols, click Internet Protocol (TCP/IP), and then click OK.
- Restart the computer.
Resetting the Winsock catalog on Vista
- Click the Start button, in the search box enter cmd, right-click the "cmd" search result and choose "Run As Administrator"
- Click Continue when prompted
- In the command window enter:
netsh winsock reset
While you're in the command window, you can also reset the TCP/IP settings:
netsh int ip reset