JSI Tip 1785. Inconsistent registry entries cause loss of TCP/IP and DHCP.
November 8, 1999
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_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_MACHINESYSTEMCurrentControlSetServicesDHCP HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDhcpServer HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesFTPSVC HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLmhosts HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLPDSVC HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNetBT HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSimpTcp HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSNMP HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWins HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinSock HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWinSock2 HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesParametersTcpip
NOTE: NetDriver is your NIC.
Take ownership and grant everyone full control of the following keys, so that you can delete them:
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
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.
About the Author
You May Also Like