Try doing this.
Step 1: Delete the corrupted registry keys
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
For more information about how to back up the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up, edit, and restore the registry in Windows XP and Windows Server 2003
1. Click
Start, and then click
Run.
2. In the
Open box, type
regedit, and then click
OK.
3. In Registry Editor, locate the following keys, right-click each key, and then click
Delete:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2
4. 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.
Step 2: Install TCP/IP
1. Right-click the network connection, and then click
Properties.
2. Click
Install.
3. Click
Protocol, and then click
Add.
4. Click
Have Disk.
5. Type
C:\Windows\inf, and then click
OK.
6. On the list of available protocols, click
Internet Protocol (TCP/IP), and then click
OK.
7. Restart the computer.