Microsoft KB Archive/169049

From BetaArchive Wiki
Knowledge Base

Unable to Restore Persistent Connection During Logon

Article ID: 169049

Article Last Modified on 11/1/2006


  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition

This article was previously published under Q169049

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.


When you log on to a Windows NT domain, one of the following error messages may be displayed:

An error occurred while reconnecting <Driveletter>: to \\<Computername>\<Share>


Microsoft Windows Network: The network name cannot be found.


This behavior can occur when both of the following conditions are true:

  • The domain that you are logging on to contains the network share specified in the error message.

  • The name of the network share to which you are attempting to log on contains more than 12 characters.


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.

To resolve this issue, follow these steps:

  1. Install Windows NT 4.0 Service Pack 3 on the computer. For information about installing Service Pack 3, see the following article in the Microsoft Knowledge Base:

    152734 How to Obtain the Latest Windows NT 4.0 Service Pack

  2. Create a REG_DWORD value named AllowLongShareName in the following registry key, and set the data value to 1:


NOTE: This change does not take effect until you restart your computer.


Microsoft has confirmed this to be a problem in Windows NT version 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):


Keywords: kbbug kbfix kbnetwork KB169049