Solved

Network Share Shortcut Changes to Folder

Posted on 2006-06-30
13
1,469 Views
Last Modified: 2011-09-20
Under "My Network Places" in the Windows XP file explorer I have many network share shortcuts.  These are great and I use them all the time.  They save time in many areas over having to map a drive.  However, it seems that over time these shortcuts turn into folders with the same name and a "target" shortcut to the share inside of the folder.  This is very annoying because I have to delete the folder and recreate the share.

Is there any way to prevent this behavior?

Also, in order to create the shortcut you have to actually open a file on the share.  Is there a way to create a network shortcut under My Network Places manually?

Darryl Allen
PayTech, Inc.
Greenwood Village CO
0
Comment
Question by:darrylka
  • 7
  • 5
13 Comments
 
LVL 24

Expert Comment

by:Kenneniah
ID: 17018432
You can hit "Add a network place" then when it asks for the address use the UNC path.

You also don't even need to use Network Locations. You can make a folder anywhere you want, right-click in the empty space and go to New->Shortcut and type in the UNC path (\\server\share).
0
 
LVL 5

Author Comment

by:darrylka
ID: 17022661
Thank you, but why does it seem that an existing link times out or changes to a folder with the link inside?
0
 
LVL 6

Expert Comment

by:javeedabdul
ID: 17026956
hmm
strange for me

but if you right click on the folder and go to properities and then change icon you can put what ever icon you want to it


but changing it self is strange.
i could or couldnt be virus. see when excatly is changing. just try find out what  are the changes  you did before after the icon had changed to folder

hope this get you an idea what u doing

cheers

javeedabdul
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 24

Expert Comment

by:Kenneniah
ID: 17027795
Because My Network Places isn't aren't standard folders. The automatically created shortcuts are based on how often you access different network resources. Windows creates, changes, and deletes these shortcuts at will. If you don't want them to change, you have to make the shortcuts yoruself.
0
 
LVL 5

Author Comment

by:darrylka
ID: 17031312
I figured it had something to do with not being used for a period of time, but the result is strange.  I can see it just going away, but to change into a folder with the link inside?  Very strange.  It doesn't just change the icon to a folder, it BECOMES a folder.  The behavior changes.

Anyhow, I'll try some of these tips.  Thank you.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 17042788
Ahh ok, I think I know what you are referring to now.
What you are seeing is how it is actually set up. Network Places is a special folder that Windows treats differently. Every single link to a network location, really is a folder with that target shortcut inside. What happens, is Windows translates this information, and presents you with what you are used to seeing. When you actually do see the folder with the shortcut inside, most likely Windows has tried to access that network location and couldn't. Ocassionally, even after the network connection is back, it stays in that form.
0
 
LVL 5

Author Comment

by:darrylka
ID: 17042803
Is there any way to change it back, or do you just have to delete it and recreate it?
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 17043090
Probably delete and recreate. I've never liked the way My Network Places works, so I just use normal shortcuts and mapped drives.
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 17043309
Right now I'm trying to figure out how exactly Windows treats those folders differently. If I can figure that out, I might be able to figure out a way of fixing them.
BTW, if you go to command prompt in C:\Documents and Settings\Username\NetHood
Then change directory into one of your shortcuts, you'll see what I mean about them all actually being folders with the shortcut inside.
Now to just find out why Windows translates some and not others. I'm trying to break one so I can play around with it at the moment.
0
 
LVL 24

Accepted Solution

by:
Kenneniah earned 125 total points
ID: 17043532
Ok, figured it out LOL.
It's when the folder loses it's read-only attribute.
Go to a command prompt (Start|Run->cmd).
Then type....
cd \Documents and settings\yourusername\nethood
Then to fix a single folder....
attrib +R "folder name"
Where folder name is the name of the network location (c$ on pc15788) for example.

To fix them all....

attrib +R *.  /s /d
0
 
LVL 5

Author Comment

by:darrylka
ID: 17043672
I'll give that a try.  Any reason it loses its read-only attribute?
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 17043830
No clue why unfortunately. It has to be some kind of bug with how Windows is accessing those folders. I can't think of any reason for Windows to mess around with the attribute. Wish I had a better answer, but I have no idea what's resetting the attribute.

I can tell you why the attribute matters though. Folders marked read-only (actually marked read-only using attrib etc, not the right-click, properties in exlplorer) are treated differently by Windows. It uses the registry info from HKEY_CLASSES_ROOT\Folder (which uses Idlist among other things to read the info from target.lnk) to determine how to open and explorer read-only folders. Normal non-read only folders use the info from HKEY_CLASSES_ROOT\Directory instead.
0
 
LVL 5

Author Comment

by:darrylka
ID: 17043862
Thanks for the info.  You have been very helpful.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows XP and blocking external Internet only 6 208
Repair old Windows 2000 boot 15 218
symbolic link problem 6 92
Decrypting the Zepto Virus 21 626
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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