You can't uninstall TCP/IP in Windows XP, because there is no Uninstall button for this protocol. According to Microsoft, that is because TCP/IP is an integral part of the operating system, and removing it would cause major problems. You can, however, use the Windows XP command line utility NetShell to reset all IP-related Registry settings to their default values. The result is a brand-new TCP/IP configuration.
The Netsh.exe program is located in the C:\Windows\ System32 directory. To use the program, enter the command "netsh int ip reset filename." You must specify a filename, such as Ipstuff.txt. After Netsh .exe runs, the file will contain a detailed log of the Registry keys that were modified.