Quicklaunch Tutorial: working everytime for 2 years
#21
Posted 02 August 2005 - 07:26 AM
You can make the shortcuts "stupid" before you copy them using the shortcut.exe ms utility. Or you can turn off "link tracking" in windows. Better yet, don't do it - it's amateurish! Always install re-create the shortcuts using a script or utility.
#22
Posted 02 August 2005 - 07:44 AM
This copys those for YOUR Machine and Quicklaunch, not others lol
#23
Posted 02 August 2005 - 09:10 AM
maxXPsoft, on Jul 27 2005, 08:20 AM, said:
THIS = BAD! BAD BAD BAD BAD BAD !!!
You are copying shortcut files (.lnk) from one machine (your development machine) to another machine (the PC you're building).
#24
Posted 02 August 2005 - 04:02 PM
What happens when XP encounters a shortcut thats invalid? Gives you that stuff about removing it or either goes off looking for Target and attempts to correct it.
That don't happen with this, never has in as I said about 2 years If the Target is still there then it simply opens it and adjusts anything needing adjusted.
I have several pointing to different drive's and they work like a charm.
Its the same as modding dlls and pratically all the files on a setup which has been occuring here long before you or I came here and it will continue to happen in a quest for that knowledge.
Thats what Msfn is all about.
This post has been edited by maxXPsoft: 02 August 2005 - 04:08 PM
#25
Posted 15 August 2005 - 09:05 PM
You're not understanding the issue here. And that's understandable, because very few people really know whats going on with shortcut (.lnk) files.
Try this:
1. Manually create a link to notepad on your desktop.
2. Copy that .lnk file to another computer.
3. Double-click the copied link.
4. Note the delay before notepad actually starts.
5. Now go into Start/Programs and double-click the regular notepad link.
Notice the difference? If you don't, you probably have link-tracking disabled in the registry (good thing to do btw). I'm talking about regular everyday shortcuts here. Shortcut files remember the name of the PC they were created on. The issue I'm talking about here has nothing to do with NTFS.
When you run them on another computer, Windows will "sometimes" try to access the originating PC over the network. To really see this you need 2 PC's with different names on separate networks. The delay can sometimes be quite pronounced, In NT4 I've seen it take minutes to timeout and then finally try and access the program on the local PC.
In my first sysadmin job (a long long time ago) this was a huge problem. I built all the PC's with .lnk files I developed on a test machine. We constantly had performance problems when people tried to start their applications. We also noticed a lot of undue network activity during these delays. It was a well learned lesson when we finally figured out what was going on. When we scripted the creation of these shortcuts (using shortcut.exe instead of copying them, the problem disappeared.
The registry fix is explained here.
#26
Posted 16 August 2005 - 08:03 AM
Quote
1. Manually create a link to notepad on your desktop.
2. Copy that .lnk file to another computer.
3. Double-click the copied link.
4. Note the delay before notepad actually starts.
5. Now go into Start/Programs and double-click the regular notepad link.
lolololol
lol yes I remember those delays
Back on a 486 50mhz SX running 3.1 WFW, nowadays we're talking milliseconds with XP. It grunts and wants to delete or it goes out and finds it in very short time.
I'm not talking shortcuts to the Network or other computer's either by the way. My shortcuts are to applications installed to either %ProgramFiles%\APP I want A Quicklaunch or to another drive on my PC which remains the same since I'm formatting my C or D partition for my tests.
These things work for Intended purposes. They also work for most the people who download and run my program that know what they are doing.
I'm sorry Nois3 but I think that what you're saying is yesterday's news if you running XP.
#27
Posted 16 August 2005 - 01:21 PM
But the fact is you'll be using shortcuts that contain invalid data in them. If you do things like this in an enterprise environment you will have problems. Shortcuts should be created on the system in which they'll be used, period.
<edited out because it was mean>
This post has been edited by Nois3: 16 August 2005 - 05:34 PM
#28
Posted 16 August 2005 - 05:55 PM
http://msdn.microsoft.com/library/default....ts/shortcut.asp
Quote
I see nothing in that about a pointer to a specific PC. Only the path.
#29
Posted 16 August 2005 - 06:00 PM
I also know that I have several shortcuts in my Windows\Desktop folder in my Network Share and they do work when I logon somewhere else. Thats on NT and 2000 PCs we have at work. Most those point to other drives within the network, its not like I'm starting an app on the C: drive of my primary workstation
This post has been edited by maxXPsoft: 16 August 2005 - 06:01 PM
#30
Posted 12 September 2005 - 12:56 PM
Is there a regmod for unhide the quicklaunch only?
And what is the script for rebuilding links on the new machine?
(or links
thanks.
This post has been edited by Kapo: 12 September 2005 - 04:08 PM
#31
Posted 13 September 2005 - 06:31 AM
Kapo, on Sep 12 2005, 12:56 PM, said:
Is there a regmod for unhide the quicklaunch only?
Quote
(or links
No scripts, you're copying them to the correct location.
As I explained above, nothing in a shortcut is proprietary to any machine. Link to code above proves that as I have been using similar code to do same thing for year's.
As long as the PATH Is same then they will work.
#32
Posted 13 September 2005 - 02:38 PM
#33
Posted 13 September 2005 - 05:38 PM
You could also use shortcut.exe to do this for you.
#34
Posted 13 September 2005 - 08:32 PM
"REGEDIT /S quicklaunch2.reg"
#35
Posted 14 September 2005 - 03:49 PM
You should have read the link you posted (which was very interesting, btw).
http://msdn.microsoft.com/library/default....ts/shortcut.asp
Quote
states the following:
Quote
1. Search four directory levels down from the last directory.
2. Move up one directory and repeat steps 1 and 2 another three times, which can yield results if the object has moved nearby.
3. Search four levels down from the desktop root, which can yield results if the object has moved to a location on the same desktop.
4. Search four levels down from the root on each local fixed drive.
5. Repeat steps 1-3 without the four directory limit.
Note: These link tracking schemes are transparent to the end user. However, they do not always yield positive results, and can be time consuming.
and:
Quote
#36
Posted 14 September 2005 - 04:09 PM
#37
Posted 19 September 2005 - 11:05 PM
This is an interesting thread and something that i will try out, as another option, i wrote a guide sometime ago specifically for using the Quicklaunch features, feel free to have a look and see what you think.
Customizing the Default User Profile : Enabling the Quick Launch Toolbar
#38
Posted 20 September 2005 - 07:50 AM
I've read it but thats in C which i partially understand. I have the code in VB which I use and I know exactly what each thing does.
My Point being that theres nothing machine specific about this, maybe in the old pifmgr day's but just not anymore.
I stated in very first line of the very first post that this is for XP and not VM either, I run this same thing on my old 450 with XP as I do on my 1800 and have no delays, If it don't exist it pops the error dialog in a fraction of a second. I can't even blink that fast
`Felix`
interesting but I've used that for quite some time, its what I do to load the different hives for each user in my XPPolicy app to modify and set policies for each. A backdoor method I guess.
If you don't want to use this then don't, GO elsewhere
Its 1 method of doing it
This post has been edited by maxXPsoft: 20 September 2005 - 03:56 PM
#39
Posted 20 September 2005 - 07:42 PM
#40
Posted 21 September 2005 - 02:36 AM
It seems you still haven't read the MSDN articles or my quotes from them.
Quote
My Point being that theres nothing machine specific about this, maybe in the old pifmgr day's but just not anymore.
That's bul*****.
How do you think all these link tracking features that Microsoft describes in their article
would be possible without machine specific data in the .lnk file?
Do the following:
1. create a shortcut.
2. Open a cmd and type "move <your shortcut>.lnk <your shortcut>.txt"
3. Open it with notepad.
You will see your computername and your partitions volume label in
cleartext.
"It worked for two years for me and many others" is not an argument. Absolutely not.
- ← WDS Failing to cut in
- Unattended Windows 2000/XP/2003
- How to Remove or hidden format... in local disk →



Help


Back to top









