Skip navigation

JSI Tip 4785. How do I reinstall the TCP/IP protocol in Windows XP?


If you need to reinstall the TCP/IP protocol in Windows XP, you will notice that the Uninstall 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 <PATH>\resetlog.txt

the following registry keys are rewritten:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ParametersHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP\Parameters\
NOTE: If <PATH>\resetlog.txt exists, it will be appended.

Here is a sample snippet of a log file:

reset   SYSTEM\CurrentControlSet\Services\Dhcp\Parameters\Options\15\RegLocation
            old REG_MULTI_SZ =
                SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpDomain
                SYSTEM\CurrentControlSet\Services\TcpIp\Parameters\DhcpDomain

added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\NetbiosOptions
added   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_\{BAA9D128-54BB-43F6-8922-313D537BE03E\}\NetbiosOptions
reset   SYSTEM\CurrentControlSet\Services\Netbt\Parameters\Interfaces\Tcpip_\{BD2859BA-B26A-4E2B-A3FE-3D246F90A81A\}\NameServerList
            old REG_MULTI_SZ = 10.1.1.2
deleted SYSTEM\CurrentControlSet\Services\Netbt\Parameters\EnableLmhosts
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\AddressType
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\DefaultGatewayMetric
added   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\DisableDynamicUpdate
deleted SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\DontAddDefaultGateway
reset   SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\\{2DDD011E-B1B6-4886-87AC-B4E72693D10C\}\EnableDhcp
            old REG_DWORD = 0
NOTE: If the log file is empty, the registry keys have not been altered.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish