Microsoft KB Archive/242091

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft Windows NT Server version 4.0

-

SYMPTOMS
When you try to open the Transmission Control Protocol/Internet Protocol (TCP/IP) dialog box on a computer running Microsoft Windows NT Server 4.0 with any service pack, the dialog box may not open. Also, when you try to start the Dynamic Host Configuration Protocol (DHCP) service in Control Panel, you may receive the following error message:

Error 2140: An internal Windows NT error occurred.

Attempts to resolve this issue, including reapplying the latest service pack and removing and reinstalling the Remote Access Service (RAS) and DHCP, are unsuccessful.

CAUSE
This behavior can occur if keys in the registry conflict with the current configuration.

RESOLUTION
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To resolve this issue, remove TCP/IP, edit the registry, and then reinstall and reconfigure TCP/IP:

Remove TCP/IP:

 In Control Panel, double-click Network. Click the Protocols tab, and then click TCP/IP. Click Remove, and then click Yes. Click Yes to restart the computer and to have the new settings take effect.

If you have not already done so, apply the latest service pack for Microsoft Windows NT Server 4.0.

Start Registry Editor (Regedt32), and delete the following registry keys from the registry.

NOTE: Depending on your TCP/IP configuration, you might not have all of these entries.  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\<#>\Parameters\Tcpip (where  is the name of the network card installed on the computer and < # > is the number of the network adapter.)

Modify the rights and then delete each of the following seven registry keys:

 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  In Registry Editor, click the registry key to delete.</li> On the Security menu, click Owner, and then click Take Ownership.</li> On the Security menu, click Permissions.</li> Click Everyone, and then click Full Control in the Type of Access box.</li> Click to select the Replace Permission on Existing Subkeys check box.</li> After modifying its rights, delete the key.</li></ol>

Quit Registry Editor.

Restart the computer.

Reinstall TCP/IP:

 In Control Panel, double-click Network.</li> Click the Protocols tab, and then click Add.</li> Select TCP/IP Protocol, and then click OK.</li> Click Yes to have the IP address dynamically assigned, or click No to have it manually assigned.</li> Click OK.

CAUTION: To prevent data loss, save open files and quit all applications before proceeding.</li> Click Yes to restart the computer and to have the new settings take effect.</li></ol>

Reapply the latest Windows NT Server 4.0 Service Pack.

Reconfigure TCP/IP.

MORE INFORMATION
For additional information about how to obtain the latest service pack, please see the following article in the Microsoft Knowledge Base:

"Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack" Additional query words: regedt32 network ghost DHCP

Keywords         : Version          : winnt:4.0 Platform         : winnt Issue type       : kbprb
 * }