Solved

Shortcuts contain hidden UNC mappings???

Posted on 1998-07-21
8
276 Views
Last Modified: 2013-12-14
I have an infrastructure that requires me to copy shortcuts around from one machine to another, and of course the shortcut references paths that those machines have in common.  However, when I send the .lnk file (the shortcut) to a text editor, the name of the original machine is included in the file.  Is there a way to copy/create shortcuts that leaves this out?  Here is an example of what a shortcut looks like in a text editor:  \\YKTTSCS01\C$ is a machine name that is not referenced ANYWHERE when viewing properties of the shortcut itself.  Please help!

L        À      F»        "”Aµ¼ "”Aµ¼ "”Aµ¼ 8L        W          ˆ   àOÐ ê:i¢Ø +00 #C:\                 î 1     a$yv usr   1     a$+u ss97   1     a$u wordpro   2  8L ="à:  wordpro.exe    t            -   4   W         ÒÚMh    C:\  y#                \\YKTTSCS01\C$ usr\ss97\wordpro\wordpro.exe % . . \ . . \ . . \ u s r \ s s 9 7 \ w o r d p r o \ w o r d p r o . e x e  c : \ u s r \ s s 9 7 \ w o r d p r o \  / L E N
0
Comment
Question by:j-enos
  • 4
  • 3
8 Comments
 
LVL 12

Expert Comment

by:Otta
Comment Utility
Is "\\YKTTSCS01\C$" the "host-name" of the original machine,
followed by the drive-letter (C:) of the boot-drive ???
0
 

Author Comment

by:j-enos
Comment Utility
I think that the fact that C is the boot drive is not pertinent here.  I can look at shortcuts from other drives, and it ALWAYS has the actual UNC path included somewhere in the .lnk file.  I can see the purpose in this feature, but there is also a real need for functionality to disable it!  Anyone have a clue?
0
 
LVL 12

Expert Comment

by:Otta
Comment Utility
The shortcut points to the host named 'YKTTSCS01',
and to the 'C:' drive on that machine.
So, it is "pertinent" to *FULLY* "qualify" the UNC,
by pointing to the host and to the drive-letter.
If you want to "edit" the short-cut,
to substitute one host-name for another,
then you are welcome to do so.









0
 
LVL 3

Accepted Solution

by:
TSauer earned 150 total points
Comment Utility
You can change your system where you create a shortcut to store the absolute path for example C:\office\word.exe
One way is to do this with the policies.
You need the policies for WINNT of the SP3 in this policies.
Open with poledit Local User/ Windows NT Shell/ Restrictions/Disable Link File Tracking , this will tell nt to store the absolut name, when you create a shortcut.

The second way is to use Regedit, oen the Key HKEY_Current_User\Software\Microsoft\Windows\Policies\Explorer\RestrictRun
And add the Key Reg_Binary : LinkResolveIgnoreLinkInfo
With the value of 1
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 

Author Comment

by:j-enos
Comment Utility
Thanks very much TSauer... I KNEW I had seen this issue come up before, and a solution.  I haven't tested it yet, but I'm confident it will solve my problem.

Otta- you sound like a know-it-all who just got NT yesterday and learned what a domain is, and needs to tell someone about it.  Obviously, the UNC name is needed if the shortcut is "intended" to point to the original location.  This does not show up in the properties of the shortcut, thus it cannot be changed.  You cannot simply edit the .lnk file and remove the pointer or substitute another machine name.  Test prior to preach, my friend.
0
 
LVL 12

Expert Comment

by:Otta
Comment Utility
J-ENOS, how very unprofessional of you to post a "flame"
on a forum called 'EXPERTS EXCHANGE'.  
The shame is upon you, for exposing your immaturity to the world.
0
 

Author Comment

by:j-enos
Comment Utility
The pot calls the kettle black, and the paradox continues... who gets the last post before the discussion is finally brought to a private level?  Not to under-rate my own value of the Experts-Exchange forum, but it is still missing some vital (and basic) functionality that prevents it from becoming the best friend to any System Engineer- and that is a SEARCH capability.
Otta- I agree, that was unprofessional of me- and should have been sent to you privately.  My apologies to whomever is drowning in this wasted bandwidth.  On the other hand, Otta, it WAS a message that you need to recognize.
0
 
LVL 12

Expert Comment

by:Otta
Comment Utility
> My apologies ...
> On the other hand, ...

Some apology -- you offer it, and then you retract it.

Enough wasting of my time.

> Check here if you'd like an email notification whenever this question is updated

No thanks, I have better things to do.



0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now