The information in this article applies to:
SYMPTOMS
When you create a shortcut to a resource on a mapped network drive, and
then remap the same drive to a different network resource, Windows
attempts to connect to the original network resource when you access the
shortcut.
CAUSE
This behavior is part of the mechanism by which Windows attempts to
resolve and automatically maintain shortcuts to network resources.
Q128932 How Windows 95 Resolves Shortcut Links RESOLUTION
Individual shortcuts can be modified by using the Shortcut.exe tool to
remove Universal Naming Convention (UNC) path information from the
shortcut.
Windows 95The Shortcut.exe tool is included in the Microsoft Windows 95 Resource Kit and is also located in the Admin\Apptools\Envvars folder on the Windows 95 CD-ROM.Windows NTThe Shortcut.exe tool is included in the Microsoft Windows NT Server Resource Kit Version 4.0, Supplement One, in the I386\Desktop folder, MIPS\Desktop folder, and ALPHA\Desktop folder on the Windows NT Server Resource Kit CD-ROM.For more information about how to resolve this issue in Windows NT, please see the following article in the Microsoft Knowledge Base: Q158682 Shortcuts Created Under NT 4.0 Resolve to UNC PathsTo remove the UNC information from a shortcut, follow these steps: NOTE: If you want to disable only the automatic resolution, and you are not concerned about deleting the UNC path information from the shortcut, you should perform only steps 1 and 2. The shortcut must contain both a UNC path and a static path.
Q134401 Windows 95 Resource Kit Readme.txt File The same result can be applied globally to all shortcuts by installing the following updated file for Windows 95, or a later version of this file:
STATUS
This behavior is by design. An update for Windows 95 to change this
behavior is now available, but is not fully regression tested and should
be applied only to computers experiencing this specific problem. Unless
you are severely impacted by this specific problem, Microsoft does not
recommend implementing this update at this time. Contact Microsoft
Technical Support for additional information about the availability of
this update.
MORE INFORMATION
Automatic resolution may be undesirable if the file pointed to by the
shortcut has been deliberately moved to a different resource, or if a load-
balancing mechanism is in place so that the same drive letter may be mapped
to one of several network resources with identical contents.
Shortcut Containing UNC Path OnlyDisabling automatic shortcut resolution in a local shortcut, or one containing only UNC information, has no effect on the manner in which the shortcut is resolved.Shortcut Containing UNC and Static PathsFor a shortcut that contains both UNC and static paths, shortcut resolution is more complex. If the you have not disabled shortcut resolution, then the original network resource is used. If the shortcut is mapped to the drive specified in the static path, that drive is used. If the resource is mapped to a different drive, the new drive is used, and the shortcut's static path is updated with the new drive information. If the resource is not currently mapped to a drive, one is assigned automatically, and the shortcut is updated with the new drive information.If shortcut resolution has been disabled, it is resolved to the specified static path. Note that the original UNC path information is still contained within the shortcut. If the original network share is mapped to the drive specified in the static path, the shortcut is resolved to it, but the UNC path information is not deleted from the shortcut. If a different network share has been mapped to the drive indicated by the static path, and the static path points to an existing file on that drive, then the UNC information is removed from the shortcut, and the shortcut is resolved like a local shortcut. The update to Shell32.dll causes UNC information in all shortcuts to be ignored if the DWORD value "LinkResolveIgnoreLinkInfo" is present in the following registry key, and set to a data value of "1":
If this registry value is not present, this update will function the
same as the released Windows 95 version in this respect. This registry
value is not added automatically when installing this update.
For additional information about issues resolved by updates to this component, please see the following articles in the Microsoft Knowledge Base: Q161100 File May Be Truncated When Copied to a Full Network Drive Q160807 Cannot Connect to Windows NT Server with Many Shares For additional information about Windows 95 updates, please see the following article in the Microsoft Knowledge Base: Q161020 Implementing Windows 95 Updates Additional query words: winnt prodnt
Keywords : kbnetwork kbpolicy kbui win95 |
Last Reviewed: June 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |