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: Possible to use mlink to move (e.g.) user's folder

07 Dec 2009   #1
FuriousGeorge

Linux
 
 
Possible to use mlink to move (e.g.) user's folder

I'd like to move "Users" and "Program Files" and some others to another partition.

I usually do this via brute force registry hacks, but I understand this is not supported, and it is tedious.

I was thinking it would be more elegant to do it with mlink.

I've heard that it is possible to do this with certain folders (e.g. Users and \Windows\winsxs) by jumping through some hoops.

I was hoping that with a Linux boot cd I could facilitate the process. Currently I am downloading a new Linux boot cd, because the ones I had weren't cutting it.

I was wondering if someone could tell me if I am wasting my time, as I await the completion of this download.

Here is an example of how to move the winsxs folder.
Other folders can also be moved.

P.S. The target partition is part of a dynamic disk.


My System SpecsSystem Spec
.
07 Dec 2009   #2
logicearth

Windows 10 Pro (x64)
 
 

It is possible, just be aware it may or may not work depending on certain unknown factors. But I've in the past reorganized the Program Files to a new location without much issue in both Windows XP and Windows Vista using junctions.

Just understand one thing. You will not save any hard drive space by moving the core application from Program Files. They are merely hardlinks, moving those will leave behind references and make duplicate content. You are better off telling new application installations to the alternative location.
My System SpecsSystem Spec
07 Dec 2009   #3
FuriousGeorge

Linux
 
 

Quote   Quote: Originally Posted by logicearth View Post
It is possible, just be aware it may or may not work depending on certain unknown factors.
Just to be clear, are you saying it is possible using mlinks as I described?

Quote   Quote: Originally Posted by logicearth View Post
Just understand one thing. You will not save any hard drive space by moving the core application from Program Files. They are merely hardlinks, moving those will leave behind references and make duplicate content. You are better off telling new application installations to the alternative location.
Which are the core programs?

I'm talking about moving the whole Program Files directory, and replacing it with an mlink called "Program Files' too, but points to a different partition.
My System SpecsSystem Spec
.

07 Dec 2009   #4
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by FuriousGeorge View Post
Just to be clear, are you saying it is possible using mlinks as I described?
Yes it is possible. There just might be unforeseen problems.

Quote   Quote: Originally Posted by logicearth View Post
Which are the core programs?
Everything that is installed by default. Like Internet Explorer. See screenshot below. Basically moving these you are only creating duplicate content and not saving any space on the primary drive. That is why in my opinion it is best to selectively move applications to the other drive.


Attached Images
Possible to use mlink to move (e.g.) user's folder-untitled.jpg 
My System SpecsSystem Spec
07 Dec 2009   #5
FuriousGeorge

Linux
 
 

OK, I see what you mean regarding hardlinks. My 'master plan' should account for that. It basically boils down as follows:

1) mlink -j c:\Program Files.new p:\Program Files
2) (boot another OS)
3) cp c:\Program Files p:\Program Files
4) del c:\Program Files
5) mv c:\Program Files.new c:\Program Files
6) (boot Win7. The program files has theoretically been deleted and moved to another partition, replaced by an NTFS junction)
My System SpecsSystem Spec
08 Dec 2009   #6
logicearth

Windows 10 Pro (x64)
 
 

Hardlinks cannot span across partitions like junctions and symlinks...So your 'master plan' will not account for them.
My System SpecsSystem Spec
08 Dec 2009   #7
FuriousGeorge

Linux
 
 

Quote   Quote: Originally Posted by FuriousGeorge View Post
OK, I see what you mean regarding hardlinks. My 'master plan' should account for that. It basically boils down as follows:

1) mlink -j c:\Program Files.new p:\Program Files
2) (boot another OS)
3) cp c:\Program Files p:\Program Files
4) del c:\Program Files
5) mv c:\Program Files.new c:\Program Files
6) (boot Win7. The program files has theoretically been deleted and moved to another partition, replaced by an NTFS junction)
Quote   Quote: Originally Posted by logicearth View Post
Hardlinks cannot span across partitions like junctions and symlinks...So your 'master plan' will not account for them.
Which is why, as I stated above when I clarified, I am using a junction point.

It seems to have worked as expected so far.
My System SpecsSystem Spec
Reply

 Possible to use mlink to move (e.g.) user's folder




Thread Tools




Similar help and support threads
Thread Forum
User Profile Folder - Change User Account Folder Name
How to Change the User Folder Name of a User Profile in Windows 7 Normally, you could change your account name in User Accounts from the Control Panel (icons view), but that still would not change your accoun's user profile folder name in C:\Users. This will show you how to change your...
Tutorials
How do I move my user profiles back to C:\user
On advice here to keep OS disk space small, followed the tutorial https://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html and moved my user profile from C:\user\name to E:\user\name The problem is Windows upgrade (need to run for repair) will not accept profiles...
Installation & Setup
Context Menu - Add Copy To Folder and Move To Folder
How to Add "Copy To Folder" and "Move To Folder" to Context Menu in Windows 7 and Windows 8 This tutorial will show you how to add or remove Copy To Folder and Move to Folder to the context menu for all users in Windows 7 and Windows 8. You must me logged in as an administrator to be able...
Tutorials
how do I move user folder to a different drive
I would like to see if I can point MyDocs, Desktop, and all other data file to a second hard drive. Is this possible?
Customization
User Profile folder - static folder instead of created by user signon
A twist on the creation of user folders on a drive other than C: in Win 7 Ultimate. Does anyone know if one could designate a user folder location such as E:\Data instead of using the users name and being a subdirectory of "Users". I am the ONLY one on my computer - and it would seem much easier to...
Installation & Setup
If want move (all Sub Folders) User- Folder to another Drive
If want move (all Sub Folders) User- Folder to another Drive?? example to Drive D: because my Drive C: protected by Deep Freeze.
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 13:23.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App