ITKB #Q001 - Uninstalling-Reinstalling TCP/IP From WinXP/2003

Discussion in 'OT Technology' started by ittech, Sep 12, 2004.

  1. ittech

    ittech "If You're Not Part of the Solution, There's Good OT Supporter

    Joined:
    Dec 31, 2001
    Messages:
    18,998
    Likes Received:
    0
    Location:
    Sonoma, California
    This is the first of possibly more helpful tech tips that I run into at work and aren't available easily on google or Technet.

    This is especially useful if you are having TCPIP problems like DHCP failure, ping but no DNS, etc... Use this as a last resort, it's not dangerous but you should troubleshoot the network normally before attempting this.

    ITKB #Q001 - Uninstalling-Reinstalling TCP/IP From WinXP/2003
    ======================================================================================================
    Supported Operating Systems:
    Windows XP All Versions/Machine Types(?) Windows 2003 All Versions/Machine Types(?)

    PROBLEM: TCP/IP not working, "netsh interface ip reset resetlog.txt" fails to resolve.

    RESOLUTION: Enabling of Uninstalling TCP/IP, Uninstalling TCP/IP, Reinstalling TCP/IP, Reboot

    1. Open up Regedit

    2 Browse over to the following keys and delete them

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2

    3. Close regedit and locate the nettcpip.inf file in %winroot%\inf. Make a backup copy to restore later (optional).

    4. Open the nettcpip.inf in notepad

    Under the section [MS_TCPIP.PrimaryInstall],
    Change "Characteristics = 0xa0" to "Characteristics = 0x80" and save the file.

    5. Open Network Connections and right click on Local Area Connection and select properties

    6. In the Properties of Local Area Connection, click Install, Protocol, Add click "have disk" and type in c:\windows\inf. Note that it may warn you that the driver is not certified anymore, continute anyways.

    7. Choose TCP/IP from the list.

    Note: This will bring you back to a properties screen, but now the Uninstall button is available.

    8. Highlight TCP/IP and then click uninstall. *rebooting optional. Note that a lot of services will fail*

    9. Restore the backup copy of nettcpip.inf that you made (optional)

    10. Open Network Connections and right click on Local Area Connection and select properties

    11. In the Properties of Local Area Connection, click Install, Protocol, Add click "have disk" and type in c:\windows\inf.

    12. Choose TCP/IP from the list. Reboot normally


    ======================================================================================================

    Also of note with Windows XP SP2 and When Windows Server 2003 Service Pack 1 is available, you can use the "netsh winsock reset" command to repair Winsock. This may be an alternative to the following steps in some scenarios.
     

Share This Page