Customize Windows 10 Image in Audit Mode with Sysprep  

Page 4 of 69 FirstFirst ... 234561454 ... LastLast
  1. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #30

    OK, after checking this it seems ADK for Win10 was released 28th of January. I cannot understand why I did not find it this weekend when searching.
      My Computer


  2. Posts : 1,520
    Windows 10 Pro (32-bit) 16299.15
       #31

    Kari said:
    seems it's going to be a long day as I have to remake half of the video and the tutorial :).
    Sorry about that...

    One thing I noticed in the video, is that you use the sysprep command with the /shutdown parameter.

    When I tried this at the weekend, using VirtualBox, in EFI mode, then it wouldn't let me press F12 to boot from a WinPE disk at the next startup and would always go back into Windows (which I didn't want).

    It did this a few times until I came up with this theory... I think this might be because Windows 8 onwards default to a 'fast startup' which means a shutdown doesn't do a full shutdown, but instead is doing a form of hibernate. So instead I shutdown myself after the sysprep using this command in the command prompt, which seemed to work better as it is a full shutdown.
    Code:
    shutdown /s /t 10
      My Computer

  3. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #32

    DavidY said:
    One thing I noticed in the video, is that you use the sysprep command with the /shutdown parameter.

    When I tried this at the weekend, using VirtualBox, in EFI mode, then it wouldn't let me press F12 to boot from a WinPE disk at the next startup and would always go back into Windows (which I didn't want).

    It did this a few times until I came up with this theory... I think this might be because Windows 8 onwards default to a 'fast startup' which means a shutdown doesn't do a full shutdown, but instead is doing a form of hibernate. So instead I shutdown myself after the sysprep using this command in the command prompt, which seemed to work better as it is a full shutdown.
    Code:
    shutdown /s /t 10
    Thanks for letting me know that @David.

    I use Hyper-V virtual machines in making the tutorials, the procedure as described works on Hyper-V. I will give the tutorial a "facelift" today and add alternative Sysprep command for scenarios like yours where the vm cannot be booted with WinPE / recovery disk afterwards.

    In your case now before the tut has been updated, use the QUIT switch instead of SHUTDOWN:
    Code:
    %windir%\system32\sysprep\sysprep.exe /generalize /oobe /quit /unattend:X:\MyAnswerFile.xml
    This runs the Sysprep with your answer file but stays in Audit Mode desktop when done. Now shutdown or restart simply by pressing WIN+X to open Start system menu and select Shutdown or Restart.
    Customize Windows 10 Image in Audit Mode with Sysprep-2015-02-11_06h39_00.png
      My Computer


  4. Posts : 1,520
    Windows 10 Pro (32-bit) 16299.15
       #33

    Kari said:
    Now shutdown or restart simply by pressing WIN+X to open Start system menu and select Shutdown or Restart.
    Customize Windows 10 Image in Audit Mode with Sysprep-2015-02-11_06h39_00.png
    Thanks for that Kari,

    Unfortunately I won't get a chance to try it again for a couple of days, but I suspect that Win-X then Shutdown will have the same problem. Restart is probably OK , as it doesn't do a hybrid hibernate. Again this is just my theory rather than something I've tested properly.
      My Computer

  5. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #34

    DavidY said:
    Unfortunately I won't get a chance to try it again for a couple of days, but I suspect that Win-X then Shutdown will have the same problem. Restart is probably OK , as it doesn't do a hybrid hibernate. Again this is just my theory rather than something I've tested properly.
    In any case, use the QUIT switch with Sysprep, then after it has finished you can use the shutdown -s -t 1, or if the WinPE or imaging boot disk is in drive, the shutdown -r -t 1.
      My Computer


  6. Posts : 803
    10 Pro Preview x64
       #35

    DavidY said:
    When I tried this at the weekend, using VirtualBox, in EFI mode, then it wouldn't let me press F12 to boot from a WinPE disk at the next startup and would always go back into Windows (which I didn't want).
    David, to boot from another disk in VirtualBox you can just shut down and add it to the top (by changing the SATA port numbers). For example I just did this this morning to use CentOS to delete junk left over from KB3001652 failed install that I couldn't delete using Windows. VirtualBox will boot the first thing it finds.

    Attachment 12386
      My Computer

  7. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #36

    @Adam, may I use your screenshot? I am currently working with getting the tut and video up to date trying to get it done today, a lot of work still to do. It would speed my process if I didn't have to install to me relatively unknown VirtualBox only to get screenshots.
      My Computer


  8. Posts : 803
    10 Pro Preview x64
       #37

    Kari said:
    @Adam, may I use your screenshot? I am currently working with getting the tut and video up to date trying to get it done today, a lot of work still to do. It would speed my process if I didn't have to install to me relatively unknown VirtualBox only to get screenshots.
    Sure - of course. If you want some more let me know.
      My Computer

  9. Kari's Avatar
    Posts : 17,434
    Windows 10 Pro
    Thread Starter
       #38

    adamf said:
    Kari said:
    @Adam, may I use your screenshot? I am currently working with getting the tut and video up to date trying to get it done today, a lot of work still to do. It would speed my process if I didn't have to install to me relatively unknown VirtualBox only to get screenshots.
    Sure - of course. If you want some more let me know.
    If you could post screenshots of the whole process, how do you change the boot order on UEFI vm when it's shutdown, to boot from CD/DVD? I'll add text and arrows .
      My Computer


  10. Posts : 803
    10 Pro Preview x64
       #39

    @Kari - here you go.

    1. Create VM under VirtualBox like this..
    Attachment 12403

    2. Setting for storage are like this - boot from ISO.

    Attachment 12404

    3. Install Windows, download ADK, make PE ISO as per tutorial.
    4. Shutdown windows from inside the VM (same as normal).
    5. Select your VM (picture 1 above) and click on settings (yellow cog) and then storage tab.
    6. Right click on the icon of the CD (on the RHS of the picture below) and change the ISO from Windows install ISO to the PE ISO that you created
    Attachment 12405

    7. Start the VM and you boot into PE.
    Attachment 12402
    Last edited by adamf; 11 Feb 2015 at 08:10.
      My Computer


 
Page 4 of 69 FirstFirst ... 234561454 ... LastLast

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




Windows 10 Forums