Move Users Folder Location in Windows 10  

  1.    #1240

    Mother Board died suddenly after moving Users Foder,


    Mother Board died suddenly now, what do I do next to reestablish my system to a new board, please Kari?
    C: is on a SSD and Users is on a 2TB HDD.
      My ComputerSystem Spec

  2.    #1241

    Good "How to", but I have two Questions:
    1. Can I apply this "How to" to an existing Windows 10, which should be upgraded to a newer Version due to the Feature Update, i.e from Version 1803 to 1809 or 1809 to 1903 (in the future)?
    So far, I have always copy the content inside the C:\Users\ folder with "robocopy" to the other Hard Disk, then I mount the other Hard Disk with "mountvol" as NTFS volume mount point in the (empty) C:\Users\ folder. The downside is, this variant is not survive the upgrade procedure, so the Feature Updates always failed and the changes will undone.

    2. Can I use in the unattended answer file the volume GUID instead of the drive letter? I'm going to use NTFS volume mount points, which C:\ is the only root directory (a bit similar to Linux/Unix) with a folder, that contains mount points to other devices.

    Is there a solution for my problem?
    (Sorry for my little bit bad english.)

    - Hyourinmaru -
      My ComputerSystem Spec

  3. Kari's Avatar
    Posts : 15,622
    Windows 10 Pro
    Thread Starter
       #1242

    Hyourinmaru said: View Post
    1. Can I apply this "How to" to an existing Windows 10, which should be upgraded to a newer Version due to the Feature Update, i.e from Version 1803 to 1809 or 1809 to 1903 (in the future)?
    Yes, see Method Two in tutorial.

    Please notice that whereas Method One, relocating Users folder in new, clean install is totally risk free, Method Two (relocating Users folder in an existing installation) occasionally fails and is therefore not recommended, at least not without creating a full system backup first.


    Hyourinmaru said: View Post
    2. Can I use in the unattended answer file the volume GUID instead of the drive letter?
    No.

    Kari
      My ComputerSystem Spec

  4.    #1243

    I have a new HP Omen with 128GB SSD and 1TB HDD. When I try to enter Audit mode at the region selection as described in tutorial, after the reboot, the Sysprep running box is displayed. I've tried letting it run, and after about 5 minutes it does, but then reboots and repeats the running Sysprep, reboot sequence, in an apparently infinite loop. I tried X'ing out of the running Sysprep and it won't quit unless I kill with Task Mgr then nasty things happen. I tried entering Audit mode later in process, and I was able to run the Sysprep script, but after reboot Users still went to C:. I did the remap of D: to G: and back and it did not help. I tried the after installation procedure right after a clean restart, and the script runs but D: does not get relocated. Any ideas on what is going wrong?

    If I am successfully able to run the procedure, what happens when Microsoft pushes out an upgrade 190x? Some posts and replies seem to imply that I have to move the data back to C: (impossible because it is not large enough).

    Why with the common prevalence of dual drive systems does Microsoft not have an out of box procedure to do this within Windows or Windows install?

    Great procedure and documentation. I wish it worked for me.

    If I can't get it to run, I will have to return PC and get one with larger drive.

    Is there an easy way to move logs to D: drive. I would like to minimize writing activity to SSD to prolong life.

    Thanks
      My ComputerSystem Spec

  5. Kari's Avatar
    Posts : 15,622
    Windows 10 Pro
    Thread Starter
       #1244

    wwwaller said: View Post
    I have a new HP Omen with 128GB SSD and 1TB HDD. When I try to enter Audit mode at the region selection as described in tutorial, after the reboot, the Sysprep running box is displayed. I've tried letting it run, and after about 5 minutes it does, but then reboots and repeats the running Sysprep, reboot sequence, in an apparently infinite loop.
    Screenshot from beginning of the tutorial:
    Click image for larger version. 

Name:	image.png 
Views:	14 
Size:	250.3 KB 
ID:	223947


    wwwaller said: View Post
    If I am successfully able to run the procedure, what happens when Microsoft pushes out an upgrade 190x? Some posts and replies seem to imply that I have to move the data back to C: (impossible because it is not large enough).
    Relocated Users folder does not cause any whatsoever update or upgrade issues.

    Kari
      My ComputerSystem Spec

  6.    #1245

    When I said Sysprep was running, I meant the Progress Box that appears when you run the script in Step 3 of your initial procedure.

    The one that says Sysprep is running and processing plugins.... It runs for about 5 minutes and exits with a new reboot in audit mode that has the running message with green progress bar. This seems to be an infinite loop, it reboots with the Sysprep running and processing plugins message and completes after 5 minutes reboots again, and comes up in same state. If I click the X box nothing happens (there is no cancel button), and if I kill with task manager nasty things occurs (restoring system from a system recovery USB).

    If I try to enter audit later (next question after language), I do not get any Sysprep message, but process does not work, nor does the process for an existing install, your second procedure).

    Why does Microsoft not have a built in solution in Windows or WIndows installation?
      My ComputerSystem Spec

  7. johngalt's Avatar
    Posts : 1,711
    WinX Pro x64 IP current
       #1246

    wwwaller said: View Post
    When I said Sysprep was running, I meant the Progress Box that appears when you run the script in Step 3 of your initial procedure.

    The one that says Sysprep is running and processing plugins.... It runs for about 5 minutes and exits with a new reboot in audit mode that has the running message with green progress bar. This seems to be an infinite loop, it reboots with the Sysprep running and processing plugins message and completes after 5 minutes reboots again, and comes up in same state. If I click the X box nothing happens (there is no cancel button), and if I kill with task manager nasty things occurs (restoring system from a system recovery USB).

    If I try to enter audit later (next question after language), I do not get any Sysprep message, but process does not work, nor does the process for an existing install, your second procedure).

    Why does Microsoft not have a built in solution in Windows or WIndows installation?
    You've done something incorrectly - my *first* guess is to look more carefully at the commands that you type in to get SysPrep running.

    One of the more common mistakes that Kari has seen (FWIW, I made this mistake once, maybe even twice, back a long time ago) is in the following command:

    Code:
    %windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattend:d:\relocate.xml
    The mistake is that, when looking at the code online and manually typing it, some people (including, as I said, yours truly) have typed /unattended as the last parameter instead of /unattend.

    Another issue, though this should actually throw up a warning and kill sysprep rather quickly, is if you have the file named differently than what you specify.

    Also, go back and make sure that the contents of the relocate.xml file are exactly as Kari has listed.

    In practice, what I have done is create both relocate.xml as well as a batch file (relocate.bat) that contain the commands from Step 3, saved both to my HDD (mechanical HDD that never gets erased) and after creating a USB for clean WinX install, I'll copy both of those files to the USB device, so they are (easily) available to me during clean installs, which I sometimes perform with my mechanical drives disconnected and only the SSDs connected, both of which get wiped during clean installs.
      My ComputersSystem Spec

  8.    #1247

    I copied the xml file from this forum, pasted into Notepad, and saved on D: drive. (renamed D: drive as discussed and back to D: too.) I did not put commands in a bat file, but checked them very carefully before hitting enter. Neither of these would explain why Sysprep comes up in a running state when I boot to audit mode. I believe that is the root cause of my problem. I have given up on relocation, sent back PC and ordered a new one with a large enough SSD to hold the miscellaneous data not in Documents, VIdeos, Pictures, etc libraries.

    No one has commented on why one has to run this unsupported script (Microsoft terms) to move data to the HDD. Why has Microsoft not made this a setup option for installation?
      My ComputerSystem Spec

  9. johngalt's Avatar
    Posts : 1,711
    WinX Pro x64 IP current
       #1248

    Well, actually, this method moves the *entire* \Users tree to another drive of your choice.

    If all you're concerned about is the special folders insider your profile, such as Documents, Music, Pictures and Videos, you can move those yourself - but after an 'update' to Windows 10, you may (probably) have to move them again. I do this because those 4 folders have *LOT* of data, dating back as far as 25 years ago, that I still want to have on hand, so keeping them on mechanical drives that don't get formatted (often) makes more sense to me than having to make a *huge* backup of files every time I want to update Windows, or even clean install.

    I actually do *both* - use this method to move the \Users tree from my primary SSD to my secondary SSD (for various reasons, the main of which is that I just like keeping that entire profile tree separate from the actual system drive), and then I *manually* move the 4 folders I listed above using the information as in the following tutorials:

    Documents Folder - Move Location in Windows 10 | Tutorials

    Move Location of Music Folder in Windows 10 | Tutorials

    Move Location of Pictures Folder in Windows 10 | Tutorials

    Move Location of Videos Folder in Windows 10 | Tutorials

    And then, on every build update where I get doubled folders (see below) (being an Insider, I get a lot of those 'updates' versus the standard twice a year for non-Insiders), I go though and restore the locations using this tutorial:

    Restore Default Location of Personal Folders in Windows 10 | Tutorials

    And then move them again.

    The reason is that, sometimes with an update to a newer version, my moves get broken (although they are not supposed to) and I see 2 versions of every folder that I have moved, the default and the ones I previously moved. So, I fix the discrepancy.

    Incidentally, upgrading from Insiders build 18334 to Skip-ahead build 18836 did *NOT* cause them to appear doubled, so maybe they are slowly but sure making progress here....()shell:UsersFilesFolder I was wrong - they didn't show up in Explorer when I first opened it up, but when I went to shell:UsersFilesFolder the duplicates are there yet again ....

    Finally, as for no one commenting on why we have to do this ourselves (I'll shy away from calling it an unsupported script, as it is using only officially available methods and existing software installed to achieve this (An expanded explanation is that this method is probably documented somewhere in the Windows Assessment and Deployment Kit (Windows ADK) for corporations to use the images that they create for their users, which they clone out to devices, which is much faster than installing and setting up Windows on each individual device) - uh, even though we have several Micro$oft MVPs here, I think that there are very, very few actual Micro$oft employees here, and only they can answer why Micro$oft would do this - most of us here in the forums cannot. So, the answer truly is: "Because that's the way M$ does things."

    One more thing - @Kari - this is with an HP pre-built system - wasn't there something about how Sysprep would default to using the built in answer file from the OEM at one point or another?
      My ComputersSystem Spec

  10. Kari's Avatar
    Posts : 15,622
    Windows 10 Pro
    Thread Starter
       #1249

    johngalt said: View Post
    One more thing - @Kari - this is with an HP pre-built system - wasn't there something about how Sysprep would default to using the built in answer file from the OEM at one point or another?
    Yes. The answer file is searched in various locations, according to certain search order. This Microsoft Docs support article shows the default search order: Windows Setup Automation Overview | Microsoft Docs

    Kari
    Last edited by Kari; 4 Weeks Ago at 06:52. Reason: Short post, multiple typos!
      My ComputerSystem Spec


 

Tutorial Categories

Move Users Folder Location in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Folks, I don't want to move my Users folder. (Kari has an excellent tutorial on that. I did it on a previous system and that's not a solution for me.) My C drive is an SSD and my downloads are at 120GB. Sure, I can move things manually, but...
I'm trying to move all of my documents to a new hard drive and I successfully did it with all of them except for the "Music" folder; each time I try to move it to a new location I get this error message: 67258 Is there a way to correct this?
I used the tutorial to move my user folders to a spare, second drive in my laptop. Now I'm thinking about changing it from a spinner to an SSD and I'm wondering what steps I should be considering, before I make that swap, to preserve my user folders...
Machine: Alienware M17x R5 Laptop OS: Windows 10 Pro (upgraded from Windows 7 Pro) What caused the problem: 1. I wanted to change the locations of the users directory from C:\ (SSD partition that contains the OS) to W:\ (HDD) 2. I...
Hi! I have a computer that is stuck in an "automatic repair" loop. On this machine, the Users folder is on a separate physical hard drive than the system drive. I have concluded that I will have to reset the PC. What is the best way to move...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 12:25.
Find Us