Move Users Folder Location in Windows 10  


  1. Posts : 6
    Windows 10 Home
       #670

    Kari said:
    I read your posts again, trying to think about what the error could be, coming up with nothing. Method Two is trickier, that we know.

    Try running sysprep without any answer file, just this command:

    Code:
    sysprep.exe /oobe /reboot

    Report back how it went.


    • sysprep started without error messages
    • the system rebooted
    • I got the error message: "Die Antwortdatei für die unbeaufsichtigte Installation [C:\Windows\Panther\Unattend\unattend.xml] für Durchgang [oobeSystem] konnte nicht analysiert oder verarbeitet werden. Eine Komponente oder nicht in einer Liste enthaltene Einstellung wurde mehrmals in der Antwortdatei angegeben"
      the answer file couldn't be analyses or processed. A component or a setting that's not in a list has been more than once in the answer file.
    • After confirming this message with ok I got a new one: "Die Installation konnte nicht abgeschlossen werden. Starten Sie die Installation erneut, um Windows auf diesem Computer zu installieren".
      the installation couldn't be finished. Start the installation again to install Windows on this computer
    • After confirmig this message too the system crashed and every reboot ended with the same error message.
    • I had to restore it using the system image and the recovery DVD.
    • Before restoring I managed to save the setupact.log to d: (see attachement).


    setupact-after-reboot.zip
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #671

    I am really sorry to say this but as far as I can see you only have two options:

    1. Forget sysprep and relocating the Users folder
    2. Clean install Windows 10 and do Method One


    I simply can't find the error.

    Kari
      My Computer


  3. Posts : 1
    Windows
       #672

    Hi all, someone could be able successfully install the cumulative update KB3172985 after relocate his users profiles?

    After the second reboot at 58% of the update installation it reboot again and It says "we cannot complete installation, reverting changes"

    Thanks
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #673
      My Computer


  5. Posts : 17
    Windwos 10 Pro
       #674

    This is great. I am looking to implement option #2. However, I am not sure what I should put for the following line:

    Code:
    <cpi:offlineImage cpi:source="wim:E:\sources\install.wim#...>
    But in my case, I don't have separate windows installation media. It does exist on a so-called 'Recovery Partition' on my GPT-partitioned SSD, but when I'm booted into Windows I can't access that partition (not even by assigning a drive letter using Computer Management > Storage > Disk Management ... when I right-click on the partition the context-menu has no items other than 'Help' (which is not helpful) ... this is very strange to me). When I open a command-prompt via the F11 boot-time recovery options, the volume is opened as X:.

    The PC is a new Lenovo PC, and it seems that the only 'distribution' of the operating system sources is via that partition.

    Do you have any advice for me about how to mount the Recovery Partition at the point in time that it is needed by sysprep? When does sysprep process that location anyway? While I'm still logged in, or when the computer is rebooting?
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #675

    dtbullock said:
    Do you have any advice for me about how to mount the Recovery Partition at the point in time that it is needed by sysprep? When does sysprep process that location anyway? While I'm still logged in, or when the computer is rebooting?
    You can't use the recovery partition for this. If you use the answer file as it is in this tutorial, you can remove the CPI Source line from answer file, it is not necessary.

    Below the answer file as it is shown in tutorial, the part you can remove before sysprepping highlighted:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <FolderLocations>
    <ProfilesDirectory>D:\Users</ProfilesDirectory>
    </FolderLocations>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:E:\sources\install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


  7. Posts : 17
    Windwos 10 Pro
       #676

    Kari said:
    If you use the answer file as it is in this tutorial, you can remove the CPI Source line from answer file, it is not necessary.
    That's great. I'll backup and try it ... just as soon as the new backup drive arrives
      My Computer


  8. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #677

    See the second video in tutorial for how to disable all existing user accounts before sysprepping, and how to re-activate them after the process has been done.

    Don't forget to make backup before proceeding!
      My Computer


  9. Posts : 17
    Windwos 10 Pro
       #678

    Kari said:
    You can't use the recovery partition for this. If you use the answer file as it is in this tutorial, you can remove the CPI Source line from answer file, it is not necessary.
    I didn't have success , although Sysprep did not complain about the removal of the CPI Source line.

    Sysprep executed OK and rebooted the machine without error, but at the end of it all, the profiles remain in C:\Users. The log file shows Sysprep noticing D:\unattend.xml, but it doesn't appear to have used information from that file in its processing.

    I did not try again, as I did not have any idea what I ought to do differently.

    I have attached both unattend.xml.txt and Attachment 91261. I have build 10586.494 / Win 10 Pro / 64-bit. Would be grateful for any thoughts why this worked differently for me.
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #679

    Sysprep running without issues, Windows thereafter going through OOBE again without issues but Users folder not being relocated, the reason is always wrong drive assignment. Always.

    Your log shows no errors expect those always there. The setupact.log is a bit like Event Logs in Windows, there will always be some totally trivial errors. In your case there's only one:
    Code:
    Error      SYSPRP Error 0x-2147024894: Failed to re-enable Device Census custom trigger.

    That error is totally trivial and meaningless and has no effect in sysprep process.

    Your answer file shows that you wanted to move Users folder to D: drive. The reason for your relocation to fail is for 100% sure the one I explicitly warn about in tutorial (warning from Method One, Step 2):

    warning   Warning
    If you intend to use drive D: as the location for the relocated Users folder, please read this before proceeding!

    Windows "likes" to set the the drive ID letters like this:
    • Drive C: > The system drive where Windows will be installed
    • Drive D: > First optical drive (CD / DVD drive)
    • Drive E: > Second partition on the same disk where the C: is located, or in case that disk only has one partition, the first partition on the secondary disk

    Now when you sysprep telling it to move the Users to D: drive, after the reboot Windows might find that the D: is an optical drive and your intended drive D: is now E:, sysprep fails and you have to reinstall.

    To be sure you are able to use drive D: for the relocated Users folder you need to set the drive letters manually before the sysprep is run. In Audit Mode you can do this for instance with Disk Management by manually changing the drive letters:
    • Change the optical drive letter to something at the end of the alphabet, I use X:
    • Change the drive letter of the partition or disk you intend to use for the Users folder to D:
    • If the partition or disk you want to use already has a letter D:, change it to something else, close the Disk Management, open it again and change the letter back to D:

    See the tutorial at our sister site the Seven Forums: Drive Letter - Add, Change, or Remove in Windows - Windows 7 Help Forums

    I recommend to always set drive letters manually to override the defaults but this is especially important for those wanting to use drive D: for relocated Users folder.
      My Computer


 

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 Discussions
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 07:52.
Find Us




Windows 10 Forums