Getting help and advice from one of the many experts here at Microsoft Community does not cost anything.
Whenever you receive a phone number as an answer and feel uncertain whether it is from someone at Microsoft, don’t take the risk,
confirm the number is for official Microsoft Support.
How can I move default location of Public folders to a new drive?
I am setting up a brand new machine with Windows 7 pre-installed and a large 500gb hard disk. I have partitioned the disk into 2 logical drives C: and E:
As far as possible I want to store all user data on E: (I know it is not possible for all user settings to be moved - mores the pity). I have not yet copied across any data from my old machine so I just have blank folders to play with at the moment. I have
moved all of the My Documents/Pictures/etc. folders to the E: drive by changing the location in the properties of the folder.
However, I cannot seem to do the same with the public folders. If I right click on the folder, click on properties, then location, it looks as if I can change it from C:\Users\Public\... but it does not allow me to edit it
This can be done through a Directory Junction which can redirect to a new location of Public folder.
First create a new folder on E:\ and perhaps you want to call it Public.
Go to Cmd prompt by running as Administrator.
Copy everything from existing public folder to the new folder created by using the command robocopy /MIR%SYSTEMDRIVE%\Users\PublicE:\Public (or whatever name you used for public folder on E:)
You need robocopy as it takes care of hidden files, etc, especially if you have
Recorded TV folder within public folder.
Once the copy is transferred, you need to delete the existing public folder and create a
junction in its place. For this, boot into Safe Mode as an administrator and delete the
public contents and folder, and again by starting the
Cmd prompt as an administrator. To remove the Public folder:
rmdir /s /q%SYSTEMDRIVE%\Users\Public
Having created the new location folder, and deleting the existing public
folder, now is time to create a Directory Junction for
public folder with the following command:
mklink /J%SYSTEMDRIVE%\Users\Public E:\Public (or whatever name you named the opublic folder on E:\)
for example: mklink /JC:\Users\Public E:\Public
Now, whatever is meant for the original Public folder gets directed to the new location.
I hope this helps.
I have a similar problem (want to move My docs, My music and stuff from my 80 GB system drive)
When I try do do the CMD command it just says that I cant acess the file, because it is used by another prosess. Is there any way I can find this prosess and terminate it (at least for a while), so that I am able to make this direction thing?
Also, when I make the command; should I write in my system's language, or english.?
I would like to see a windows made tool to do this.
If you boot in to Safe Mode, go to the properties of the folder you want to move, click on the "location" tab, it will allow you to change the location without having to run commands as suggested by samc1.
One caveat when using the instructions by samc1, if you use the ROBOCOPY command, make sure that the target directory is empty! the command given makes a MIRROR of the source directory, meaning it will delete everything that is already in the target directory.
I had already placed my music/video/book library in a temporary directory in there, which were all being deleted. Still in the proces of recovering my files from my backup.... (glad I had one....)
This is an issue for me as well. Primarily due to fragmentation on the system Drive due to Media Center Temp File defaulting to Public folder. Changed the settings in Media Center for Recorded Filed, but that seems to not apply to temp recordings by media
center. I have a set top box, with no IR. So it plays all the time through one channel and fragments the heck out of my drive. Want to move the temp recordings to their own partition. No way to do so. This is not work.
In short. I will not use Media Center (which I like) because of this.
Will this this work for all user folders, like the main user or administrator. I tried to do this but keep getting error messages saying files could not be accessed.
Use the technique described in this answer for the 'public' data ONLY. For any real user, there is a far better way, which is to
1) login as that user, click the user's name on the upper left of the start menu to see their folder
2) open a second explorer window, point it to your D: driver or whereever you want to move this stuff. Create folders e.g. d:\users\myusername\my documents to hold the stuff you plan to move
3) the stuff you can move will have a LOCATION tab when you right click and view the properties of the folder, this includes most of the "My xxx" folders, the desktop, and a few others.
4) on the location tab, click the Move button, specify the new directory you created on the other drive, and answer Yes when asked if you want to move all the files.
Doing things that way is working inside the system as it were (as opposed to going around it) and thus has the most chance of not running into any problems with software that looks to windows to tell it where to put documents, videos, etc.
(this answer is far to late to be of use to Nesko48, but may be of use to someone else reading this thread)