JSI Tip 4785. How do I reinstall the TCP/IP protocol in Windows XP?
Jerold Schulman
February 3, 2002
1 Min Read
If you need to reinstall the TCP/IP protocol in Windows XP, you will notice that theUninstall button is disabled.
The TCP/IP stack is a core component of Windows XP and can NOT be uninstalled.
You can reset the stack to its' installed state by using the built-in netsh tool.
When you run:
netsh int ip reset resetlog.txt
the following registry keys are rewritten:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParametersHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDHCPParameters
NOTE: If resetlog.txt exists, it will be appended.
Here is a sample snippet of a log file:
reset SYSTEMCurrentControlSetServicesDhcpParametersOptions15RegLocation old REG_MULTI_SZ = SYSTEMCurrentControlSetServicesTcpipParametersInterfaces?DhcpDomain SYSTEMCurrentControlSetServicesTcpIpParametersDhcpDomainadded SYSTEMCurrentControlSetServicesNetbtParametersInterfacesTcpip_{2DDD011E-B1B6-4886-87AC-B4E72693D10C}NetbiosOptionsadded SYSTEMCurrentControlSetServicesNetbtParametersInterfacesTcpip_{BAA9D128-54BB-43F6-8922-313D537BE03E}NetbiosOptionsreset SYSTEMCurrentControlSetServicesNetbtParametersInterfacesTcpip_{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A}NameServerList old REG_MULTI_SZ = 10.1.1.2deleted SYSTEMCurrentControlSetServicesNetbtParametersEnableLmhostsadded SYSTEMCurrentControlSetServicesTcpipParametersInterfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}AddressTypeadded SYSTEMCurrentControlSetServicesTcpipParametersInterfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}DefaultGatewayMetricadded SYSTEMCurrentControlSetServicesTcpipParametersInterfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}DisableDynamicUpdatedeleted SYSTEMCurrentControlSetServicesTcpipParametersInterfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}DontAddDefaultGatewayreset SYSTEMCurrentControlSetServicesTcpipParametersInterfaces\{2DDD011E-B1B6-4886-87AC-B4E72693D10C}EnableDhcp old REG_DWORD = 0
NOTE: If the log file is empty, the registrykeys have not been altered.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like