Skip navigation

JSI Tip 1785. Inconsistent registry entries cause loss of TCP/IP and DHCP.


If you can't open the TCP/IP configuration dialog on your Windows NT 4.0 server and you receive Error 2140: An internal Windows NT error occurred, when you start DHCP, you probably have registry conflicts.

To correct the problem, it is necessary to remove and reinstall TCP/IP, using this special procedure:

1. Control Panel / Network / Protocol / TCP/IP / Remove / Yes.

2. Restart your server when prompted.

3. Apply Service Pack 6 or later.

4. Using Regedt32.exe, delete the following registry keys (if present):

  HKEY_LOCAL_MACHINE\Software\Microsoft\DhcpMibAgent
  HKEY_LOCAL_MACHINE\Software\Microsoft\DhcpServer
  HKEY_LOCAL_MACHINE\Software\Microsoft\FTPSVC
  HKEY_LOCAL_MACHINE\Software\Microsoft\LPDSVC
  HKEY_LOCAL_MACHINE\Software\Microsoft\NetBT
  HKEY_LOCAL_MACHINE\Software\Microsoft\RFC1156Agent
  HKEY_LOCAL_MACHINE\Software\Microsoft\SNMP
  HKEY_LOCAL_MACHINE\Software\Microsoft\SimpTcp
  HKEY_LOCAL_MACHINE\Software\Microsoft\Tcpip
  HKEY_LOCAL_MACHINE\Software\Microsoft\TcpipCU
  HKEY_LOCAL_MACHINE\Software\Microsoft\TcpPrint
  HKEY_LOCAL_MACHINE\Software\Microsoft\Wins
  HKEY_LOCAL_MACHINE\Software\Microsoft\WinsMibAgent
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DhcpServer
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FTPSVC
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lmhosts
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SimpTcp
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Wins
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<NetDriver #>\Parameters\Tcpip
NOTE: NetDriver is your NIC.

     Take ownership and grant everyone full control of the following keys, so that you can delete them:

  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\Root\Legacy_DHCP
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\Root\Legacy_Lmhosts
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\Root\Legacy_LPDSVC
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\Root\Legacy_NetBT
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\Root\Legacy_TCPIP
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Linkage\Bind
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Linkage\Bind
NOTE: Use Security / Owner / Take Ownership
                and Security / Permissions / Everyone / Full Control / Replace Permission On Existing Subkeys.

5. Restart the server.

6. Reinstall TCP/IP (Control Panel / Network / Protocols / Add / TCP/IP Protocol / OK).

NOTE: Respond Yes to dynamically assign an IP address or No to statically assign it.

7. Press OK and Yes to restart the server.

8. Reapply Service Pack 6 or later.

9. Reconfigure TCP/IP.

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