Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Invalid junction after moving "My Documents"?

25 May 2013   #11
Batch

W7 x86
 
 

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 System SpecsSystem Spec
.
25 May 2013   #12
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Batch View Post
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 System SpecsSystem Spec
25 May 2013   #13
Batch

W7 x86
 
 

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.
My System SpecsSystem Spec
.

25 May 2013   #14
if7

Windows 7 Professional SP1 - 32 bit
 
 

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.
My System SpecsSystem Spec
26 May 2013   #15
Batch

W7 x86
 
 

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 System SpecsSystem Spec
26 May 2013   #16
if7

Windows 7 Professional SP1 - 32 bit
 
 

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 System SpecsSystem Spec
Reply

 Invalid junction after moving "My Documents"?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Confused Between The Difference - "My Documents" & "Documents"-Win7?
Hello. I have been very curious for a while now and somewhat confused. This is regarding Windows 7, so if you are not using Windows 7 you may not know what I am talking about. Okay, I see in Windows 7 you have a folder called "Documents" in your start menu and when you open it, you have the...
General Discussion
moving the partition containing "my documents"
I currently have the "my documents" folder (and other folders) on a separate partition (E:) on a 2nd drive (drive 2). Drive 2 is failing (slowly) and I want to move E: off it, back to drive 1 with C:, but keeping it as a separate partition. I plan to use Partition Wizard to copy the old E: to...
General Discussion
Moving "My Documents"
Hello forum; I have a question about setting up a new SSD. I have installed the drive, and to save space I would like to move all the documents, pictures, music and other folders into my previous HDD. I have seen a couple of posts and tutorials on the subject, some seem to say moving the most...
Customization
Should I move "Documents" or "My Documents" folder to D partition?
G'day Folks, 1) Should I move "Documents" or "My Documents" folder to D partition? When I click on start --> documents it opens "Documents" folder which has apps-data ...etc folders.I like to be able to click on "documents" to access my data from D,is this possible? 2) just bought a new...
General Discussion
"documents and settings" junction? disappeared
i've been on 7-64 now for some 3 months. i used to see "documents and settings" -folder, including "all users" on my explorer tree. from what i understand, this was a junction/shortcut to c:\users\ this morning, however, the whole documents and settings folder is no longer appearing, and with...
General Discussion


Our Sites

Site Links

About Us

Find 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 21:40.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App