Solved

Network Share Shortcut Changes to Folder

Posted on 2006-06-30
13
1,459 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
 
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

16 Experts available now in Live!

Get 1:1 Help Now