Invalid junction after moving "My Documents"?

Page 2 of 2 FirstFirst 12

  1. Posts : 25
    W7 x86
       #11

    I've just come across the exact same situation and I can confirm that it is left over when you do a Move of My Documents. I have tried it several times (after repeatedly doing image restores). I assume it is something that Microsoft never addressed.

    My guess is that the vast majority of folks that do such a Move are never aware of the redundant Junction. Unless they go into C:\Users\XXX (with "Hide protected operating system files" disabled) and click on the My Documents, you don't tend to come across it. And unless they run into issues with software accessing the junction via hard coded paths in software it will never become an issue.

    At the moment I haven't decided whether to just leave this junction (does anything really use it?), delete it, or delete it AND create a new one pointing to D:\XXXData\Documents.
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #12

    Batch said:
    I've just come across the exact same situation and I can confirm that it is left over when you do a Move of My Documents. I have tried it several times (after repeatedly doing image restores). I assume it is something that Microsoft never addressed.

    My guess is that the vast majority of folks that do such a Move are never aware of the redundant Junction. Unless they go into C:\Users\XXX (with "Hide protected operating system files" disabled) and click on the My Documents, you don't tend to come across it. And unless they run into issues with software accessing the junction via hard coded paths in software it will never become an issue.

    At the moment I haven't decided whether to just leave this junction (does anything really use it?), delete it, or delete it AND create a new one pointing to D:\XXXData\Documents.
    Bad written software uses it! Software meant for winxp
      My Computer


  3. Posts : 25
    W7 x86
       #13

    A bit more info. on a couple of aspects:-

    I've also just done another image restore and tried moving the Documents folder to another path on the C: partition to see whether the My Documents junction would be updated in such a case (as I wondered whether it was just not updated if the Move was to another drive / partition). No joy - same result as before.

    Also, the original Documents folder contained junctions pointing back at My Music, My Pictures and My Videos. These are lost during the Move.
    Last edited by Batch; 25 May 2013 at 11:29. Reason: typo
      My Computer


  4. if7
    Posts : 9
    Windows 7 Professional SP1 - 32 bit
    Thread Starter
       #14

    You made an interesting final observation there - I just confirmed that for a different user on my system, one I rarely use which takes up very little space and which I simply left on the C partition, there are indeed hidden junctions in My Documents for My Music, My Pictures and My Videos just as you describe. Those were not recreated in the new location when My Documents was moved on my system, either.

    This looks like another "junction bug" when moving My Documents. I have fortunately never had any problem with their absence.

    The procedure Kaktussoft described to fix the My Documents junction worked for me (albeit with the one permissions problem I mentioned that I worked around and described), and I've never had any problems since.

    So I'd recommend it if you want to clean up as I did.

    I suppose I should also now add the 3 missing junctions you just discovered. I would imagine adding those junctions would be absolutely harmless - if software is looking there, they'll find the junctions, and if not, they'll just sit there harmlessly.

    Good luck, and thanks for confirming the problem. I never tried to confirm for myself whether it was a bug or a mistake that I made, and you've made it clear now that it's a Microsoft bug. And thanks for adding more to the overall information about this.
    Last edited by if7; 25 May 2013 at 20:52. Reason: Quick Reply removed my paragraphing - fixing that now.
      My Computer


  5. Posts : 25
    W7 x86
       #15

    Good to hear your feedback.

    I also found this in Windows 7 Inside Out:

    "If you move any or all of your personal data folders, watch out for one gotcha: the Windows Search index includes the original profile locations by default, but it doesn’t pay attention when you relocate. To ensure that the files in your relocated folders show up, you must add the new locations to the list of folders that the search engine indexes."
      My Computer


  6. if7
    Posts : 9
    Windows 7 Professional SP1 - 32 bit
    Thread Starter
       #16

    After partitioning my system to create a D:\ drive and moving my main user files there, I added D:\ to the indexed locations. The indexing options are confusing. The tutorial here shows AppData;AppData are excluded (meaning the AppData of 2 different users). Maybe it's possible to hunt the registry to figure out WHICH AppData are being excluded, but the basic indexing dialog gives no way to figure this out. At one time I figured it out and got it to index my most important AppData. (People can debate whether or not that's a good idea.) The registry entries used by search are very convoluted, not even clear what is an exclude vs. an include, while the GUI's display of what's excluded only shows the final part of a folder path... horrible. HORRIBLE. And then, search is much more difficult to use than XP search (though, when it works, much faster). Overall - hate it! You need to keep an expert tutorial open at all times to use search for anything more than the most obvious searches.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:59.
Find Us