I would like to move the default location of my c:\Users\USERNAME to another drive. What is the easiest way to do this and how?
I know that I can move each of my "Special Folders" like Documents, Pictures, etc. but that does not include the AppData folder. Also, many programs and installers incorrectly put stuff in C:\Users\USERNAME\Documents etc. even after I moved Documents to another drive and I end up with duplicate folders.
For individual folders (My Docyuments, My Pictures, etc., the "Special Folders") I do the registry/GPO thing you alluded to. However, if I want to move the entire folder structure I cheat. Move the folder to a new location, and then create a junction pointing the old folder to the new folder. So all your programs will still think the folder is
c:\users\username
but that's just a junction point tod:\users\username
.I've spent a long time researching this and finally managed to do it on my own machine.
There are two scenarios here: a new install, and a machine that is already installed/used.
For a new install, you can (apparently) modify the autounattend.xml file (unresearched link here, no guarantees, I haven't tried)
For a machine that is already installed, there are two problems to overcome:
For problem 1, you can either go the round about route:
Or you can boot from a Recovery disk and copy stuff across.
For problem 2, you can either do a find and replace everywhere in the registry (risky), or create a symlink/junction from the default location to the new location.
The find and replace solution is also detailed on the previously linked page, but it turns out that you still have to create the symlink, otherwise Windows Update has problems.
WHATEVER you choose to do, you will need to get familiar with symlinks/junctions. Lots of comments on Josh's blog mention ROBOCOPY, which you can't use to copy Junctions. If you don't recreate them, you won't notice immediately as most (if not all) have the hidden attribute anyway, but you may experience reverse compatibility problems with non-Vista apps.
This blog post provides a bit more (too much) detail about this issue, plus a script to help recreating the symlinks/junctions.
Another blog, another approach.
I've recently had the same issue. I wanted to use Microsoft's SteadyState program on a machine with pre-existing user accounts on C:\USERS that I wanted to move on D:. I followed these steps:
The one proviso is that Windows Easy Transfer doesn't make a perfect copy of most non-microsoft apps.
Hope this helps.
You CAN change the location of AppData, just a bit longer :
Open AppData Right Click on Local Click the location tab, and click Move Create an AppData folder somewhere, and create a folder Local in it Select it, click apply to move it, just like you did for Documents.
Repeat for LocalLow and Roaming.
This should be far better than the symlink OR the sysprep method.
I have been told you can to this by:
1) Open 2 Windows explorer windows (one to the new drive, one to c:\USERS)
2) create new folder to store information on the new drive
3) right click and drag the USERNAME folder to the new folder. When the right click menu pops up, click on "Move".
To see if it worked click start, documents then click on empty space in the address bar to see if it says NewDrive:\NewFolder\USERNAME\Documents