My Shortcuts try and resolve to UNC paths?

John Savill

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A. Shortcuts when created are automatically created with an UNC with \ in .lnk file. This is usually a problem if you copy shortcuts to other machines, however there are a number of ways to fix this.

To fix a single shortcut you can use the shortcut.exe program supplied with the Windows NT Resource Kit supplement 1 kit.

To dump out a shortcut use shortcut -u .lnk

To alter the shortcut to not track the machine before you copy it to others use the command

shortcut -c -s -n .lnk

To change the target and working directory on a moved shortcut use

shortcut -c -t d:www.ntfaq.comindex.html -d d:www.ntfaq.com -n ntfaq.lnk

To disable link tracking for all shortcuts perform the following:

  1. Start the registry editor

  2. Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPolicies

  3. If the Explorer key exists move to it, if not create it using Edit - New Key "Explorer". Select the new key

  4. Create a new value LinkResolveIgnoreLinkInfo of type DWORD (Edit - New DWORD value)

  5. Double click the new value and set to 1

  6. Close the registry editor

  7. Logon and off for the change to take effect

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like