I am unable to install TCP/IP, why?

John Savill

May 17, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. If you are trying to reinstall TCP/IP after previouslyuninstalling it the problem may be due to certain TCP/IP registry values notbeing removed correctly.

To manually remove perform the following:

  1. Start the registry editor (regedt32.exe)

  2. Select the key you want to delete.

  3. Select the 'Security' menu and select 'Owner...'. (The 'Owner' dialog boxappears.)
    Click 'Take Ownership'.

  4. Select the 'Security' menu and select 'Permissions...'. (The 'Registry KeyPermissions' dialog box appears.)

  5. In the 'Name' list box, select 'Everyone'.

  6. Select 'Full Control' from the 'Type of Access' drop-down list box.

  7. Select the 'Replace Permission on Existing Subkeys' check box.

  8. Click 'OK'.

  9. Repeat steps 2 to 8 for all registry keys to be deleted

  10. Reboot the computer so that Registry changes are recognized by Windows NT.

An alternative which avoids having to change security is to startregedt32.exe under the System account by submitting it via the schedule service

C:> net start schedule (only if not already running)
C:> at /inter regedt32.exe
C:> net stop schedule (only if you had to start it)

Once the computer has rebooted restart REGEDT32.EXE and ensure all of thefollowing are deleted (these are the keys whose security you must set)

Connectivity Utilities:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftNetBT

  • HKEY_LOCAL_MACHINESoftwareMicrosoftTcpip

  • HKEY_LOCAL_MACHINESoftwareMicrosoftTcpipCU

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDHCP

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLmhosts

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices'NetDriver'xParametersTcpip(where 'x' is the number of the network adapter).

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNetBT

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip

SNMP Service:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftRFC1156Agent

  • HKEY_LOCAL_MACHINESoftwareMicrosoftSNMP

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSNMP

TCP/IP Network Printing Support:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftLPDSVC

  • HKEY_LOCAL_MACHINESoftwareMicrosoftTcpPrint

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLPDSVC

FTP Server Service:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftFTPSVC

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesFTPSVC

Simple TCP/IP Services:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftSimpTcp

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSimpTcp

DHCP Server Service:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftDhcpMibAgent

  • HKEY_LOCAL_MACHINESoftwareMicrosoftDhcpServer

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDhcpServer

WINS Server Service:

  • HKEY_LOCAL_MACHINESoftwareMicrosoftWinsHKEY_LOCAL_MACHINESoftwareMicrosoftWinsMibAgent

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWins

Windows sockets:

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinsock

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinsock2

It may also be necessary to remove the following keys:

  • HKEY_LOCAL_MACHINESystemCurrentControlSetEnumRootLegacy_DHCP

  • HKEY_LOCAL_MACHINESystemCurrentControlSetEnumRootLegacy_Lmhosts

  • HKEY_LOCAL_MACHINESystemCurrentControlSetEnumRootLegacy_LPDSVC

  • HKEY_LOCAL_MACHINESystemCurrentControlSetEnumRootLegacy_NetBT

  • HKEY_LOCAL_MACHINESystemCurrentControlSetEnumRootLegacy_TCPIP

  • HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanManServerLinkageBind

  • HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanManWorkstationLinkageBind

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