ERROR MESSAGE WHEN INSTALLING TCP/IP OR ADDING TCP/IP SERVIC

Error Message When Installing TCP/IP or Adding TCP/IP Service
The information in this article applies to:
Microsoft Windows NT Workstation 3.5
Microsoft Windows NT Workstation 3.51
Microsoft Windows NT Workstation 4.0
Microsoft Windows NT Server 3.5
Microsoft Windows NT Server 3.51
Microsoft Windows NT Server 4.0

This article was previously published under Q151237

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

SYMPTOMS
When you attempt to reinstall TCP/IP or add a TCP/IP service, you may receive one or more of the following error messages:

– Registry service subkey already exists

-or-

– Unable to remove name space provider
RESOLUTION
To resolve this problem, make sure that all of the components of a given TCP/IP Service are properly removed, and then make sure that the following registry subkeys are also removed before you restart the computer:

IMPORTANT: If you have Windows NT 4.0 with Service Pack 2, see the following article in the Microsoft Knowledge Base before removing any registry keys:

162837Replacing TCPIP after SP2 causes STOP 0x00000050

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
NOTE: You may or may not have all of the following Registry entries depending on your TCP/IP configuration.

NOTE: CCS=CurrentControlSet

HKEY_LOCAL_MACHINESoftwareMicrosoftDhcpMibAgent
HKEY_LOCAL_MACHINESoftwareMicrosoftDhcpServer
HKEY_LOCAL_MACHINESoftwareMicrosoftFTPSVC
HKEY_LOCAL_MACHINESoftwareMicrosoftLPDSVC
HKEY_LOCAL_MACHINESoftwareMicrosoftNetBT
HKEY_LOCAL_MACHINESoftwareMicrosoftRFC1156Agent
HKEY_LOCAL_MACHINESoftwareMicrosoftSNMP
HKEY_LOCAL_MACHINESoftwareMicrosoftSimpTcp
HKEY_LOCAL_MACHINESoftwareMicrosoftTcpip
HKEY_LOCAL_MACHINESoftwareMicrosoftTcpipCU
HKEY_LOCAL_MACHINESoftwareMicrosoftTcpPrint
HKEY_LOCAL_MACHINESoftwareMicrosoftWins
HKEY_LOCAL_MACHINESoftwareMicrosoftWinsMibAgent

HKEY_LOCAL_MACHINESYSTEMCCSServicesDHCP
HKEY_LOCAL_MACHINESYSTEMCCSServicesDhcpServer
HKEY_LOCAL_MACHINESYSTEMCCSServicesFTPSVC
HKEY_LOCAL_MACHINESYSTEMCCSServicesLmhosts
HKEY_LOCAL_MACHINESYSTEMCCSServicesLPDSVC
HKEY_LOCAL_MACHINESYSTEMCCSServicesNetBT
HKEY_LOCAL_MACHINESYSTEMCCSServicesSimpTcp
HKEY_LOCAL_MACHINESYSTEMCCSServicesSNMP
HKEY_LOCAL_MACHINESYSTEMCCSServicesTcpip
HKEY_LOCAL_MACHINESYSTEMCCSServicesWins
HKEY_LOCAL_MACHINESYSTEMCCSServicesWinSock
HKEY_LOCAL_MACHINESYSTEMCCSServicesWinSock2
HKEY_LOCAL_MACHINESYSTEMCCSServicesParametersTcpip
where is the name of network card installed on system and
where is the number of the network adapter.

It may also be necessary to remove the following keys:

HKEY_LOCAL_MACHINESystemCCSEnumRootLegacy_DHCP
HKEY_LOCAL_MACHINESystemCCSEnumRootLegacy_Lmhosts
HKEY_LOCAL_MACHINESystemCCSEnumRootLegacy_LPDSVC
HKEY_LOCAL_MACHINESystemCCSEnumRootLegacy_NetBT
HKEY_LOCAL_MACHINESystemCCSEnumRootLegacy_TCPIP
HKEY_LOCAL_MACHINESystemCCSServicesLanManServerLinkageBind
HKEY_LOCAL_MACHINESystemCCSServicesLanManWorkstationLinkageBind
HKEY_LOCAL_MACHINESYSTEMCCSServicesPPTP

NOTE: Removing these additional keys requires manipulation of the rights on those keys. The default rights for Everyone is Read. This needs to be done for each key you wish to remove. To change the rights, log on as Administrator, run Regedt32.exe, and select the key you want to delete. From the menu, select Security, Owner, Take ownership. Then, Select Security, Permissions, and give full control to Everyone, selecting “Replace permission on existing subkeys.”

Restart the computer so that registry changes are recognized by Windows NT.

If Remote Access Service (RAS) is installed, you may also need to manually delete the following RAS and NDISWANx registry entries:

Locate HKEY_LOCAL_MACHINESystemCCSServicesNetBIOSLinkage.
Double-click Bind, and remove all NetBT_xxxx entries, such as:

DeviceNetBT_El59x1
DeviceNetBT_NdisWan1
DeviceNetBT_NdisWan2
DeviceNetBT_NdisWan3
DeviceNetBT_NdisWan4
HKEY_LOCAL_MACHINESystemCCSServicesRASARP
HKEY_LOCAL_MACHINESystemCCSServicesRASAUTO
HKEY_LOCAL_MACHINESystemCCSServicesRASMAN
HKEY_LOCAL_MACHINESystemCCSServicesRASACD
HKEY_LOCAL_MACHINESystemCCSServicesRASPPTPE
HKEY_LOCAL_MACHINESystemCCSServicesRASPPTPF
HKEY_LOCAL_MACHINESystemCCSServicesRASPPTPM
HKEY_LOCAL_MACHINESystemCCSServicesNDISWANxParametersTCPIP
(where x reflects the numbers corresponding to the preceding DeviceNetBT_NDISWANx.
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASARP
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASACD
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASAUTO
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASMAN
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASPPTPE
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASPPTPF
HKEY_LOCAL_MACHINESystemCCSENUMRootLegacy_RASPPTPM

Last Reviewed: 6/11/2002
Keywords: kbnetwork kbprb KB151237