Skip navigation

My Shortcuts try and resolve to UNC paths?

A. A. Shortcuts when created are automatically created with an UNC with \\<Computer name>\<file> 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 <file>.lnk

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

shortcut -c -s -n <shortcut name>.lnk

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

shortcut -c -t d:\www.ntfaq.com\index.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_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies
  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

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish