Page 67 of 85 FirstFirst ... 1757656667686977 ... LastLast

  1. Join Date : Jul 2016
    Broken Arrow, Oklahoma
    Posts : 7
    Windows 10 pro x64
       2016-07-16 #660

    Hello...new to the forum...thanks for all the helpful information! I have read through this complete thread and watched the videos, through the W10 clean install thread and videos and acquainted myself with the new (to me) UEFI bios. I've used XP for as long as it would allow but am now forced to upgrade both the machine and the os, so am having to deal with quite a lot of "new stuff" so bear with me please.
    The new (used) PC came with W7pro64 COA, so I obtained the correct Dell os install disk, got it loaded and then upgraded to W10pro64 with no issues. Alas, at this point I found Ten Forums and this tutorial, realized what UEFI was and that I should use it and just what I had with the "new" SSD drive and how I should actually configure the system. I chose to post here since relocating all the USER files and folders is the primary goal. I have put together an instruction sheet for myself to follow based on the multiple tutorials and videos I've gone through here and would appreciate a review and pertinent comments on it if you would be so kind? Thanks in advance for any response and keep up the great, informative work!

    MOVE USERS FOLDERS AT A CLEAN (RE) INSTALL OF WINDOWS 10 Pro x64 IN UEFI MODE

    Create a boot disk from MACRIUM FREE for imaging the newly created os image.
    Download a Windows 10 ISO image with the install.wim file from the Windows Tech Bench site.
    Create a bootable DVD with this ISO image for use with the clean install procedure.
    Do a Secure erase on the SSD using bootable Parted Magic utilities – to allow it to fully be returned to a fresh out of the box state - prior to beginning the clean install.
    Enter BIOS and set to full UEFI parameters, then verify/set DVD as boot option in UEFI mode – disable Secure Boot feature, for the time being at least.
    Boot from the DVD drive using the W10 install media to begin the clean (re) install.
    When the installation has done the last reboot and brings you to the Get going fast or Settings dialog screen, insert the imaging boot disk and then Turn Off the PC…
    Re-attach the SATA cable from the existing secondary 2TB HDD already containing GPT partitions E:\ F:\ and G:\.
    At this point, reboot to the imaging DVD and create a system image. When created, remove the imaging boot disk, insert the Win 10 install media disk and reboot normally, NOT to the DVD.
    Setup should resume from the Get going fast/Settings screen.
    Access the internet using Win+R keys and typing iexplore.exe ENTER. Go to the TenForums tutorial and copy the necessary code for the .xml answer file. Exit the browser and again, using the Win+R keys to access Notepad, create an unattended Answer File by pasting in the code given in the tutorial.
    Alter the line:
    <ProfilesDirectory>X:\Users</ProfilesDirectory>
    to reflect the chosen drive. Save the file, naming it relocate.xml and as type “All” to (the location being used in the Answer File line previous) typically the root of any drive except C:\, which in this case will be F:\.
    And the line:
    <cpi: offlineImage cpi: source=”wim: X:\sources\install.wim#Windows 10 Pro” xmlns:cpi=urn:schemas-microsoft-com:cpi” />
    to reflect the letter of the drive containing the bootable DVD with the Windows 10 install media.
    [Alternatively, create this file ahead of time and save it to the root of what will become the new User Profiles drive on the secondary HDD…before beginning the clean (re) install, thereby simplifying the process?]

    Access a Command Prompt (Admin) with Win+X keys and disable network connections temporarily with the command: net stop wmpnetworksvc so that Sysprep will not fail. Exit the prompt and boot to Audit Mode using the CTRL + SHIFT + F3 key sequence.
    Windows boots to Audit Mode using the built-in admin account. At the Desktop, the System Preparation Tool dialog box will appear. Close it by pressing the Cancel button. Run Sysprep with the command:
    %\windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattended:X:\relocate.xml substituting the actual location (F:\ in this case) of the Answer File for X and hit ENTER to be presented with the Sysprep is working box.
    When complete, Windows runs the First Run OOBE boot from where the installation can be completed with the USERs folders now permanently moved to the new location.
    At this point, if desired, re-insert the imaging boot disk, reboot to the imaging DVD and create another, final, system image. When created, remove the imaging boot disk and boot to a clean, correctly configured, install of Windows 10.
      My System SpecsSystem Spec


  2. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-17 #661

    Hi GeeZRX, welcome to Ten Forums.

    There's something wrong in your planned course of action, the workflow is not correct. It starts to go wrong after you have created the initial system image before booting to Audit Mode.

    Using your selected tasks and your goal, here's the correct workflow in your case modified to your needs:

    1.) Boot from W10 install media

    2.) When installation is done and you will be shown the Settings dialog (Custom vs. Express), turn PC off, connect the secondary HDD and create an image booting with Macrium rescue media (this step is a wise move which I admit I bypass; it allows you to restore W10 to pristine Out-of-the Box state if any unforeseen things happen later on)

    3.) When image is done, turn PC off again, insert W10 install media but boot from primary SSD / HDD, not from W10 install media (Windows is already installed)

    4.) You will be shown the Settings dialog again. Press CTRL + SHIFT + F3 to restart in Audit Mode

    5.) Get the Answer File from this tut using IE as Edge does not work in Audit Mode

    6.) Edit the answer file as needed replacing drive ID letters to your actual ones

    7.) Save the Answer File

    8.) Sysprep using /shutdown switch instead of /reboot switch using this command line:
    Code:
    %\windir%\system32\sysprep\sysprep.exe /oobe /shutdown /unattended:X:\relocate.xml
    (Change compared to how the command is told in tut in red.)

    9.) Windows syspreps and shuts down.

    10.) Now for extra safety and convenience, create an additional system image with Macrium

    11.) When additional system image has been created you are ready. Boot Windows normally, go through the final setup phase creating a user.

    That's it. The additional system image in step 8 above is optional; if you don't want to / need to make it, use the /reboot switch as told in tutorial instead of /shutdown switch restarting directly to OOBE setup.

    Kari
      My System SpecsSystem Spec


  3. Join Date : Jul 2016
    Posts : 6
    Windows 10 Home
       2016-07-17 #662

    Problems with the unattend.xml - file


    Hi Kari
    I'm new to this forum and joined, because I couldn't find an answer to my problem using this tutorial:
    • First I tried to do it exactly as explained (method two). I got an error message claiming that the answer file could'e be processed because it contained at least on element already processed (translated from german).
    • Then I tried to reduce the file relocate.xms to the min (leaving just the FolderLocation-element and its containing elements of course). Same thing
    • I even tried to copy those three lines into \Panther\unattend\unattend.xml and giving this file as answer-file.
      The result was that sysprep started, did a reboot and crashed telling me again that certain elements were contradicting already processed ones - and I had to use my image file to restore my system.

    Can you give me a hint about this strange behaviour of sysprep?
    Greetings, Eppi
      My System SpecsSystem Spec


  4. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-17 #663

    Eppi said: View Post
    Can you give me a hint about this strange behaviour of sysprep?
    Greetings, Eppi
    Hi Eppi, welcome to the Ten Forums.

    I need to see the answer file you used, and the log file setupact.log from folder C.\Windows\System32\Sysprep\Panther. Please zip these two files and attach to a post.
      My System SpecsSystem Spec


  5. Join Date : Jul 2016
    Posts : 6
    Windows 10 Home
       2016-07-17 #664

    Kari said: View Post
    Hi Eppi, welcome to the Ten Forums.

    I need to see the answer file you used, and the log file setupact.log from folder C.\Windows\System32\Sysprep\Panther. Please zip these two files and attach to a post.
    Well, Kari, you shure are quick to answer
    This setupact.log was created using the attaced relocate.xml. I can't give you one of the crashes because I hadn't access to them after the crashes.

    move-user-folder.zip
      My System SpecsSystem Spec


  6. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-17 #665

    OK, your log tells Sysprep has issues with your given answer file path. the backslash (\) in path is really important, remember to use path d:\relocate.xml instead of d:relocate.xml.

    Second, read the warning about drive letters and especially about drive letter D: in tutorial carefully through:

    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.


    Kari
      My System SpecsSystem Spec


  7. Join Date : Jul 2016
    Posts : 6
    Windows 10 Home
       2016-07-17 #666

    Kari said: View Post
    OK, your log tells Sysprep has issues with your given answer file path. the backslash (\) in path is really important, remember to use path d:\relocate.xml instead of d:relocate.xml.

    Second, read the warning about drive letters and especially about drive letter D: in tutorial carefully through:

    Kari
    Thank you for your answer.
    Unfortunately it didn't work. The critical part of setupact.log looks still the same, even if I used the backslash:

    2016-07-17 19:55:37, Info [sysprep.exe] UnattendFindAnswerFile: Looking at explicitly provided unattend file [d:\relocate.xml]...
    2016-07-17 19:55:37, Error [sysprep.exe] UnattendFindAnswerFile: Unattend file [d:\relocate.xml] has already been processed.
    2016-07-17 19:55:37, Warning SYSPRP SysprepSearchForUnattend: Found invalid unattend file while searching; hr = 0x1
    2016-07-17 19:55:37, Warning SYSPRP WinMain:Encountered invalid unattend file during search; hrResult = 0x80300019
    2016-07-17 19:55:37, Info IBS UnattendErrorFromResults: Hit an unattend error; dumping any info we have about the failure...
    2016-07-17 19:55:37, Info IBS UnattendDumpSetting: ------Unattend setting error / warning------
    2016-07-17 19:55:37, Info IBS UnattendDumpSetting: Error code = 0x80300019
    2016-07-17 19:55:37, Info IBS UnattendDumpSetting: File path = [d:\relocate.xml]
    2016-07-17 19:55:37, Info IBS UnattendDumpSetting: --------------------------------------------
    2016-07-17 19:55:37, Info IBS UnattendErrorFromResults: Error text = Die Antwortdatei f�r die unbeaufsichtigte Installation [d:\relocate.xml] konnte nicht analysiert oder verarbeitet werden. Die Antwortdatei enth�lt mindestens ein bereits verarbeitetes Einstellungselement.

    I really don't understand the red line. Why should it be already processed?

    I had considered your warning about D: and set all the Drives manually.

    Greetings, Eppi
      My System SpecsSystem Spec


  8. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-17 #667

    You are doing this on an already installed Windows, as told in Method Two? If so, are you running sysprep command from an elevated Command Prompt?
      My System SpecsSystem Spec


  9. Join Date : Jul 2016
    Posts : 6
    Windows 10 Home
       2016-07-17 #668

    Kari said: View Post
    You are doing this on an already installed Windows, as told in Method Two? If so, are you running sysprep command from an elevated Command Prompt?
    yes, I'm doing it using the inbuilt administrator and the admin prompt on an installed Windows.
      My System SpecsSystem Spec


  10. Join Date : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,050
    Windows 10 Pro
       2016-07-17 #669

    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.
      My System SpecsSystem Spec


 
Page 67 of 85 FirstFirst ... 1757656667686977 ... LastLast


Similar Threads
Tutorial Category
"Folder access denied" C:\Users\<truncated name>\One Drive
Unable to delete folder, unable to change permissions, and unable to get One Drive to read to Documents folder correctly. I have attempted five times and each time it fails. So I try to delete the One Drive folder so I can reboot and try again,...
General Support
Solved Cannot move documents folder
I am trying to move my documents folder from the external drive I put it on before installing Win10. It looks like its going to move, then says its done but nothing has moved. Any ideas?
General Support
More Users Move to Windows XP Ahead of Windows 10 Launch
Source
Windows 10 News
Solved Startup Folder Location
Exactly where is the Startup Folder for Windows 10 located? Thank you.
General Support
Solved Linking to Users folder on different drive
Hello, Has anyone had any trouble linking the C:\users folder on another machine? I have successfully done this all the last 3 installs of windows I have done following these instructions: How To Change User Profile Location in Windows 8 without...
General Support
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:22.
Find Us
Twitter Facebook Google+



Windows 10 Forums