Customize Windows 10 Image in Audit Mode with Sysprep  

Page 5 of 70 FirstFirst ... 345671555 ... LastLast

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

    Thanks in advance Adam :).
      My Computer


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

    @Adam THANK YOU!
      My Computer


  3. Posts : 803
    10 Pro Preview x64
       #42

    Kari said:
    Thanks in advance Adam :).
    Pictures updated in previous post (See post #39​) - I tested it and it works fine without EFI (standard set-up).

    I tested also with EFI boot and it doesn't work. EFI is not supported by VirtualBox for Windows and for a VM I see no benefit in using it so I'm not looking for a workaround. Worth noting though.

    Don't enable EFI here:
    Attachment 12408

    Or you'll get this when you boot from your PE ISO.
    Attachment 12407
      My Computer


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

    [QUOTE=adamf;194072 I tested also with EFI boot and it doesn't work. [/QUOTE]
    But according to David he have Windows 10 vm in EFI: https://www.tenforums.com/tutorials/3...tml#post193797
      My Computer


  5. Posts : 803
    10 Pro Preview x64
       #44

    Kari said:
    adamf said:
    I tested also with EFI boot and it doesn't work.
    But according to David he have Windows 10 vm in EFI: https://www.tenforums.com/tutorials/3...tml#post193797
    I just created 2 9926 VM's - one with EFI and one with BIOS. Both installed correctly. I downloaded the Windows 10 ADK and made a PE ISO. The EFI one would not boot the PE ISO while the BIOS one did.

    After a bit more testing, to make it work with EFI you have to do this: (I know this is off on a bit of a tangent from this tutorial, but you can boot PE using both BIOS and EFI in VirtualBox only the ISO method doesn't work with EFI).

    1. Create a new VHD
    Attachment 12412

    2. Make sure it is top of your list by altering the SATA ports. Note: Remember what SATA port Windows was on for step 7!
    Attachment 12413

    3. Format it in Windows and assign a drive letter (for example:V)
    Attachment 12446

    4. Write the PE Image using MakeWinPEMedia /UFD C:\WinPE_amd64 V: ( https://technet.microsoft.com/en-us/library/dn293200.aspx )
    Attachment 12415

    5. Remove the Windows 10 installation ISO and PE then boots OK.
    Attachment 12418

    7. When you have finished with PE disconnect the PE drive and reset to SATA port for Windows to its original value from step 2. The default is zero. Otherwise Windows will not boot.
    Last edited by adamf; 11 Feb 2015 at 11:54. Reason: Added step 7
      My Computer


  6. Posts : 1,524
    Windows 10 Pro (32-bit) 16299.15
       #45

    Kari said:
    But according to David he have Windows 10 vm in EFI: https://www.tenforums.com/tutorials/3...tml#post193797
    adamf said:
    After a bit more testing, to make it work with EFI you have to do this: (I know this is off on a bit of a tangent from this tutorial, but you can boot PE using both BIOS and EFI in VirtualBox only the ISO method doesn't work with EFI).

    1. Create a new VHD

    3. Format it in Windows and assign a drive letter (for example:V)

    4. Write the PE Image using MakeWinPEMedia /UFD C:\WinPE_amd64 V:

    5. Remove the Windows 10 installation ISO and PE then boots OK.

    7. When you have finished with PE disconnect the PE drive and reset to SATA port for Windows to its original value from step 2. The default is zero. Otherwise Windows will not boot.
    Yes, that's what I did at the weekend.

    I was using 32 bit but otherwise the same. (Apologies I've not been near a computer today to feed back how I did - but it looks like you covered it anyway.)

    I did find that if I did a full shutdown (shutdown /s /t 10) then I could press F12 in Virtualbox at startup, and select a boot device without needing to swap around the order of the disks.

    It feels better to use the full shutdown rather than the 'hybrid shutdown' version in any case , because it means I'm starting with an image at the point when it's properly switched off, rather than partially hibernated.
      My Computer


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

    Sysprep working again!


    Hi Geeks.

    Apparently Microsoft has got the Sysprep issues resolved in the latest Build 10041, released yesterday 18th of March 2015. Sysprep is working again as it should, I have already successfully customized the Windows 10 Build 10041 image as told in this tutorial.

    There seems to be an issue though with the Windows ADK for Windows 10 Technical Preview, I had to create the answer file using ADK for Windows 8.1 and the 8.1 install.wim file. However, the end result was a fully functioning sysprepped Windows 10 Build 10041.

    I will check a few more details to be absolutely sure I will tell the correct procedures, doing a few more test installs. I will update the tutorial within next few days and post again here when you can start using this method again.

    Kari
      My Computer


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

    Just a status update:

    I have been installing and sysprepping since Wednesday evening all the time except sleeping a little every now and then. It's 3 AM Saturday now and I am slowly getting there, already seeing clear patterns as what can be done and what's a no go.

    Good news is, after the disastrous bugs in Sysprep process in Build 9926 it finally (mostly) works in Build 10041. Even the <FolderLocations> tags work again without issues making it possible to relocate the complete Users folder and everything it contains to another drive.

    Bad news is that to succeed you need a few workarounds, simply and easy to do but hopefully no longer needed when the 10 is finally released.

    I will update this tutorial as soon as I can without hesitation offer working Sysprep scenarios. This weekend most probably but latest early next week.

    Kari
      My Computer


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

    warning   Warning
    First Build 10074 Sysprep tests done, it looks that the CopyProfile is again broken. All scenarios I have now tested have failed if CopyProfile is set true. Please notice this is just a preliminary warning, I got the ISO created only a few hours ago and have done only 6 Sysprep runs testing different scenarios.

    I will update the tutorial as soon as I have some definitive factual information.
      My Computer


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

    I am somewhat disappointed, the CopyProfile=TRUE in answer file will still in Build 10122 cause an endless reboot loop when sysprepped and booted to OOBE.

    This is an essential setting for image customization, I am sure it will be fixed. In the meantime I will prepare a video later today to show what can be done at the moment, and how it should be done. I will post the video link here when ready.

    I also asked Gabe Aul if he has some more information on this subject, let's wait and see what he says.

      My Computer


 

Tutorial Categories

Customize Windows 10 Image in Audit Mode with Sysprep 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 13:57.
Find Us




Windows 10 Forums