Uninstall and Reinstall TCP/IP?

R

RJ

We recently had a WinXP Pro PC that was having weird
network problems. It would lose network connectivity,
seemingly at random, and when you ran ipconfig from a command prompt,
it just returned the below, and nothing else. Pinging 127.0.0.1 and
all other ping tests failed. Cabling was good, as was the switch port.
NIC was swapped.

C:\>ipconfig

Windows IP Configuration

C:\>ipconfig

I wanted to uninstall TCP/IP and reinstall the stack, thinking there might
be a problem with it, but I could find no way of doing this. The most I
could do is uncheck it in network properties, but that does not uninstall it.

So, can you uninstall and reinstall TCP/IP in WinXP?
 
W

Will Denny

Hi

Try the following from Start>Run:

netsh int ip reset resetlog.txt

The name of the .TXT file can be anything you like.
 
G

Guest

Hi RJ,

You can uninstall TCP/IP, but I am hesitant to tell an end-user to go
playing in the registry. Please let me know if this is something you are
comfortable with, and I will guide you through it.

Mitch
 
R

RJ

Thanks. Please do.


Mitch Garvis said:
Hi RJ,

You can uninstall TCP/IP, but I am hesitant to tell an end-user to go
playing in the registry. Please let me know if this is something you are
comfortable with, and I will guide you through it.

Mitch
 
R

RJ

Thanks. But what does this really do. The reset command says:

reset - Resets TCP/IP and related components to a clean state.

What is a "clean state"?
 
W

Will Denny

Hi

That command reinstalls the TCP/IP components and resets Registry keys for a
fresh start. It doesn't interfere with any Network settings.
 
R

RJ

Actually, from the MS KB site, MS says TCP/IP is a core component and cannot
be uninstalled, (unless there is an undocumented way of doing it). So much for uninstalling
it. You can repair and reinstall it though, so that will have to do.

Thanks again for your help.
 
W

Will Denny

Hi

You could check with the Networking Gurus, but I didn't think TCP/IP could
be uninstalled:

news://msnews.microsoft.com/microsoft.public.windowsxp.network_web

If you go to Control Panel>Network Connections, then right click on the
connection and select Properties if you highlight 'Internet Protocol
(TCP/IP)', the Uninstall buttons dims out.

It may be possible to uninstall TCP/IP via the Registry, but I've never
tried it.
 
G

Guest

Hey RJ,

Remember that before you start playing in the registry, BACK IT UP!!! We do
not want you making a mistake and not be able to recover!

What you have to do is remove the TCP/IP protocol from all of your network
adapters. Then you have to go into the registry and remove all instances of
Winsock2. Once that's done you should be able to reinstall TCP/IP, and it
should work properly.

Let me know if this helps at all!

Mitch
 
R

RJ

I think you are referring to the procedure below. As far as uninstalling TCP/IP,
you cannot actually remove it, or so I've found out.

Thanks for the info.

How to Recover from Winsock2 corruption

To resolve this issue, delete the corrupted registry keys, and then reinstall the TCP/IP protocol.

Step 1: Delete the corrupted registry keys

1.
Click Start, and then click Run.

2.
In the Open box, type regedit, and then click OK.

3.
In Registry Editor, locate the following keys, right-click each key, and then click Delete:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

4.
When you are prompted to confirm the deletion, click Yes.


Note Restart the computer after you delete the Winsock keys. Doing so causes the Windows XP
operating system to create new shell entries for those two keys. If you do not restart the computer
after you delete the Winsock keys, the next step does not work correctly.

Step 2: Install TCP/IP

1.
Right-click the network connection, and then click Properties.

2.
Click Install.

3.
Click Protocol, and then click Add.

4.
Click Have Disk.

5.
Type C:\Windows\inf, and then click OK.

6.
On the list of available protocols, click Internet Protocol (TCP/IP), and then click OK.

7.
Restart the computer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top