How to reinstall TCP/IP in Windows XP

Sometimes, no matter how many times you uninstall TCP/IP or Network drivers, your computer refuses to connect properly to the network. Signs usually entail erratic network connectivity, webpages won’t load when first accessed, no ip address is bound to the adapter, etc. The instructions below provide a way to essentially REINSTALL TCP/IP and fix corrupted Winsock registry values. If these steps do not work, the best thing to try is to run a repair using your Windows 2000 CD.
1. Remove TCP/IP
Note Before you remove TCP/IP, make a note of the IP and the DNS settings.
1. Click Start, point to Settings, and then click Network and Dial-up Connections.
2. Right-click Local Area Connection, and then click Properties.
3. In the Components checked are used by this connection list, click Internet Protocol (TCP/IP).
4. Click Uninstall, and then in the Uninstall Internet Protocol (TCP/IP) dialog box, click Yes.
5. When you are prompted to restart your computer, click Yes.
2. Delete the Bind registry value, the Tcpip subkey, the Winsock subkey, and the WinSock2 subkey
1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. In the left pane, expand HKEY_LOCAL_MACHINE, and then expand SYSTEM.
3. Expand CurrentControlSet, and then expand Services.
4. Expand lanmanserver, and then click Linkage.
5. In the right pane, right-click Bind, and then click Delete.
6. In the Confirm Value Delete dialog box, click Yes.
7. Expand lanmanworkstation, and then click Linkage.
8. In the right pane, right-click Bind, and then click Delete.
9. In the Confirm Value Delete dialog box, click Yes.
10. Right-click Tcpip, click Delete, and then in the Confirm Key Delete dialog box, click Yes.
11. Right-click Winsock, click Delete, and then in the Confirm Key Delete dialog box, click Yes.
12. Right-click WinSock2, click Delete, and then in the Confirm Key Delete dialog box, click Yes.
13. Restart your computer.
3. Reinstall TCP/IP
1. Click Start, point to Settings, and then click Network and Dial-up Connections.
2. Right-click Local Area Connection, and then click Properties.
3. Click Install, click Protocol in the Click the type of network component you want to install list, and then click Add.
4. In the Network Protocol list, click Internet Protocol (TCP/IP), and then click OK.
5. Replace the IP and the DNS settings with the values that you made note of at the beginning of the “Remove TCP/IP section.”