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: User Folders - Change Default Location

07 Jul 2013   #260
MatthewCarter

Windows 7 Home Premium SP1 64-bit (second reinstall)
 
 

Sorry, I meant that if you put UsersFilesFolder in the run dialogue and press enter, it would come up with a not existing dialogue. I am actually quite familiar with user folders and moving them around, have done it a lot, but admittedly did not know about this shell:UsersFilesFolder command.


My System SpecsSystem Spec
.
07 Jul 2013   #261
MatthewCarter

Windows 7 Home Premium SP1 64-bit (second reinstall)
 
 

I was just reading posts to extend my knowledge, I don't have a problem with this. I do use an external drive for my videos and pictures folder, in case you were wondering
My System SpecsSystem Spec
07 Jul 2013   #262
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by MatthewCarter View Post
Sorry, I meant that if you put UsersFilesFolder in the run dialogue and press enter, it would come up with a not existing dialogue. I am actually quite familiar with user folders and moving them around, have done it a lot, but admittedly did not know about this shell:UsersFilesFolder command.
I see. Thanks for explaining.

I'm on the other end of the spectrum. I have not had much need to move folders around, but I use OS variables in batch files and scripts so that I don't have to know where the user has moved a folder to. Unfortunately, some users move folders in a way that the OS loses track of them.

Enjoy the forums :-)
My System SpecsSystem Spec
03 Aug 2013   #263
Stamimail

W7 64 IE 8
 
 

[Win7 x64 ; I apologize for not reading all the pages above... Please let me know if my question has been answered.]

I want to change the location of some User Folders (My Documents, My music...) to D:/Users/User/ while keeping 3 principles:

1. I'm thinking to use Junction Points (mklink /j ) for each folder I'm moving from C:/Users/User/ (EXAMPLE: mklink /j C:\Users\User\Documents D:\Users\User\Documents), because I want that C:\Users\User\Documents will lead to D:\Users\User\Documents.

2. I have noticed that the Visual Folder Name is different from the Real Folder Name. Example: A Visual Folder Name is My Documents while the Real Folder Name is actually Documents (C:\Users\User\Documents). I want to keep it. The real paths would be C:\Users\User\Documents & D:\Users\User\Documents, while the Visual Folder Names would be My Documents.

3. I have noticed that before you change any location, the %userprofile% Folder is actually a mirror of C:\Users\User. I want to keep it as a mirror even after changing of locations. [%userprofile% would be exactly like C:\Users\User. No duplicates of "My Documents" etc in %userprofile%, and No missing folders in C:\Users\User.]

Can I achieve it somehow?
My System SpecsSystem Spec
.

03 Aug 2013   #264
Brink

64-bit Windows 10 Pro
 
 

Hello Stamimail,

You could use OPTION TWO in the tutorial on the first page to accomplish this.

However, if you are doing this just to save space, then you might consider doing what's in the yellow Tip box at the top of the tutorial with libraries instead.

Hope this helps,
Shawn
My System SpecsSystem Spec
03 Aug 2013   #265
Stamimail

W7 64 IE 8
 
 

Hi shawn, thank you for replying.

I've seen the tutorial already.
I do not see how your answer fulfills the first and the third conditions I mentioned.
My System SpecsSystem Spec
03 Aug 2013   #266
Brink

64-bit Windows 10 Pro
 
 

You're welcome.

It accomplishes that as well since they are already linked, and will be as well to the new location.

The old name say "Documents" is a junction point that is linked with the actual folder say "My Documents" for backwards compatibility of older programs that still reference the old say "Documents" location than the newer "My Documents" location. These two different names are still one in the same folder referenced by both names.

When you move a user folder using the method in Option Two, it will keep this junction point and link for the new location.

It's best to not try and rename these folders to avoid messing up their junction point.
My System SpecsSystem Spec
04 Aug 2013   #267
Stamimail

W7 64 IE 8
 
 

Quote   Quote: Originally Posted by Brink View Post
It accomplishes that as well since they are already linked, and will be as well to the new location.
1. You are right, but only for the 2 folders: The new locatiion and the linked folder in shell:UsersFilesFolder.

The problem is: In the original location "C:\Users\User" (it is not the same as shell:UsersFilesFolder) My Documents is now missing. If you try to type and get "C:\Users\User\Documents", or subfolders based on it (ex: "C:\Users\User\Documents\MyFolder"), you get an error.

Therefore I wanted to use Junction Points in the original location "C:\Users\User", to direct old paths (based on the original location) to the right and new location. The problem now is: While doing this, I can't accomplished the other conditions. HELP

2. BTW, In my system (W7 x64) I think the actual folder say "Documents", as the path of "My Documents" in CMD is "C:\Users\User\Documents". "My Documents" is a name found in Desktop.ini file.
My System SpecsSystem Spec
04 Aug 2013   #268
Brink

64-bit Windows 10 Pro
 
 

Correct. The actual folder name is "Documents", but only referenced as "My Documents". "Documents" is used for the actual folder path for backwards compatibility.

There's no need for you to do a MKlink since one already exists. If you do, you will break the junction point that already exists with the user folders and cause issues in your Windows.

If you move the "C:\Users\User\Documents" folder to another location, then of course that "Document" folder will no longer be there. Instead, it will be at the location you moved it to.

The shell command shell:Personal will open your Documents folder no matter where you move it to. Here's a complete list of shell commands for the others if you like.

Shell Command
My System SpecsSystem Spec
04 Aug 2013   #269
Stamimail

W7 64 IE 8
 
 

Thank You.

From my experience, the closest way to achieve what I wanted is to use Recovery Console:
Code:
robocopy /copyall /mir /xj C:\Users\User\Documents D:\Users\User\Documents
rmdir /s /q C:\Users\User\Documents
mklink /j C:\Users\User\Documents D:\Users\User\Documents
The only problem in this way is that it does not accomplished the second condition.

Is there an issue in that way or another way to improve it?
My System SpecsSystem Spec
Reply

 User Folders - Change Default Location




Thread Tools




Similar help and support threads
Thread Forum
User Folders - Restore Default Location
How to Restore Default Location of User Folders in Windows 7 and Windows 8 This will show you how to restore the default location of all or a single user folder of your choice in Windows 7 and Windows 8. If you have duplicate user folders instead, then you will need to backup the contents...
Tutorials
User Profile - Change Default Location
How to Change the Default Location of a User Profile in Vista and Windows 7 A user profile is the main C:\Users\(user-name) folder of a user account that contains all of the account's settings, shortcuts, information, and user folders (ex: My Music) with the files in them. This will...
Tutorials
User Folders - Change Default Icon
How to Change Default User Folder Icons in Windows 7 and Windows 8 This will show you how to change the default folder icon with the icon of your choice for all of your personal User folder icons to display with it in both the Start Menu and C:\Users\(user-name) locations in Windows 7 and...
Tutorials
Location - Change Computer Default Location
How to Change the Default Location of your Windows 7 Computer This will show you how to set a default location to provide programs information about your computer's geographic location to use when a location sensor, such as a GPS receiver, is unavailable or not installed. When you set a default...
Tutorials
Change location of user folders?
I usually try to separate data from system files and programs, to counter defragmentation and for better backup possibilities. So I would like to change the location of the user folders (by default: c:\users) so that user data is stored on my data partition instead (d:\users). So far I was able to...
Customization
User Folders - Restore Default Location Issue
Hello all Having "lost" several Windows 7 user files, the special ones with Location tabs, I have followed Brink's tutorial to recreate them: Contacts, My Music and My Pictures. My Music has worked - thanks to Brink! It is back in the user folders and has a Location tab (though does not show...
Customization


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 02:01.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App