Image Windows 10 laptops with DISM (or other free tool)

Page 4 of 7 FirstFirst ... 23456 ... LastLast

  1. Posts : 17,661
    Windows 10 Pro
       #31

    xy677 said:
    So I copied your answer file to my image and still get prompted at the language screen so I'm guessing I've screwed something up in my image or it's the version I'm using.
    Let's check that you are doing this correctly. No offence, I just don't know how experienced you are with the process.

    • You install Windows on a technician machine from a valid, standard install media (not your customized ISO)?
    • You reboot to Audit Mode before any user accounts have been created, when installation is done and stops to ask regional settings?
    • You customize Windows as you wish and sysprep with /generalize switch?
    • You capture the image and deploy it to a production machine?


    Is answer to all four questions above Yes?

    Kari
      My Computer


  2. Posts : 64
    Windows 10
    Thread Starter
       #32

    Kari said:
    Let's check that you are doing this correctly. No offence, I just don't know how experienced you are with the process.

    • You install Windows on a technician machine from a valid, standard install media (not your customized ISO)?
    • You reboot to Audit Mode before any user accounts have been created, when installation is done and stops to ask regional settings?
    • You customize Windows as you wish and sysprep with /generalize switch?
    • You capture the image and deploy it to a production machine?


    Is answer to all four questions above Yes?

    Kari
    I'm not offended at all I have imaged machines in the past but it's been a while and have not done this for Windows 10. I'm happy to admit I've screwed up or don't know something!

    To answer your questions, the answer is YES to all of them.

    So I have just tried a fresh install of Windows 10 Enterprise LTSB 1607 in a VM. I didn't make any changes or install any updates and I was still prompted after booting off the ISO for the language selection despite using an answer file.

    These are the steps I took:


    1. Install Windows 10 Enterprise LTSB 1607 (en-gb_windows_10_enterprise_2016_ltsb_x64_dvd_9060114.iso)
    2. At Get Going Fast screen hit Ctrl+Shift+F3 to enter Audit mode
    3. Click Cancel on the Sysprep dialog after reboot
    4. Install VMware tools and reboot and clicked Cancel on the Sysprep dialog again
    5. Copied (your) answer file to c:\windows\system32\sysprep\unattend.xml
    6. Ran: c:\windows\system32\sysprep\sysprep.exe /generalize /oobe
    7. Power on VM, boot from original installation ISO and do a Shift F10 at the language screen to go to cmd
    8. Dism /capture-image /imagefile:d:\install.wim /capturedir:c:\ /name:System
    9. Shutdown machine
    10. Create a new ISO with the new install.wim using UltraISO
    11. Create new VM and install Windows using newly created ISO (with customised wim and answer files)
    12. And this is when I get prompted for the language selection expecting an unattended install
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
       #33

    xy677 said:
    1. Install Windows 10 Enterprise LTSB 1607 (en-gb_windows_10_enterprise_2016_ltsb_x64_dvd_9060114.iso)
    2. At Get Going Fast screen hit Ctrl+Shift+F3 to enter Audit mode
    3. Click Cancel on the Sysprep dialog after reboot
    4. Install VMware tools and reboot and clicked Cancel on the Sysprep dialog again
    5. Copied (your) answer file to c:\windows\system32\sysprep\unattend.xml
    6. Ran: c:\windows\system32\sysprep\sysprep.exe /generalize /oobe
    7. Power on VM, boot from original installation ISO and do a Shift F10 at the language screen to go to cmd
    8. Dism /capture-image /imagefile:d:\install.wim /capturedir:c:\ /name:System
    9. Shutdown machine
    10. Create a new ISO with the new install.wim using UltraISO
    11. Create new VM and install Windows using newly created ISO (with customised wim and answer files)
    12. And this is when I get prompted for the language selection expecting an unattended install
    One test I would like to ask you to do:

    Repeat steps 1 through 5 on your list. Step 6, run sysprep command with additional /reboot switch:

    Code:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot

    Let Windows sysprep and restart, does it skip OOBE now or do you still get normal OOBE?

    Kari
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #34

    OK, first test done. Copied your answer file from post #28, didn't change a character in it, run Sysprep on freshly installed Windows 10 Enterprise LTSB 2016.

    Worked without issues, setup skipped OOBE. This is the first stop after installation:

    Image Windows 10 laptops with DISM (or other free tool)-image.png

    No issues, worked exactly as it should.

    I cannot understand why it does not work for you.

    Kari
      My Computer


  5. Posts : 64
    Windows 10
    Thread Starter
       #35

    So I ran through steps 1 to 6 but for step 6 I ran this instead (/restart didn't work)

    Code:
    c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /reboot
    After doing all this and rebooting I am back at the "Get going fast" screen:

    Image Windows 10 laptops with DISM (or other free tool)-image.png
      My Computer


  6. Posts : 64
    Windows 10
    Thread Starter
       #36

    Oh hang on! After I clicked "Use express settings" it took me to the login screen and I can see your username "Kari" so I guess it worked?
      My Computer


  7. Posts : 17,661
    Windows 10 Pro
       #37

    xy677 said:
    So I ran through steps 1 to 6 but for step 6 I ran this instead (/restart didn't work)
    That was a typo, I fixed it already but apparently you read my post before typo was fixed. The restart switch is /reboot, not /restart as I first wrote. Sorry.


    xy677 said:
    So I ran through steps 1 to 6 but for step 6 I ran this instead (/restart didn't work)
    After doing all this and rebooting I am back at the "Get going fast" screen:
    Really strange. Did you see this post?

    Kari
      My Computer


  8. Posts : 64
    Windows 10
    Thread Starter
       #38

    Kari said:
    That was a typo, I fixed it already but apparently you read my post before typo was fixed. The restart switch is /reboot, not /restart as I first wrote. Sorry.

    Really strange. Did you see this post?

    Kari
    No need to apologise

    Ok, so I have done two tests using steps 1 through to 6. Test 1 was with your answer file and Test 2 was with my answer file. Both tests worked successfully. For my answer file I got prompted for my accounts name but besides this I wasn't prompted for anything!

    Now, the confusing thing is, how do I now get this working with a customised install.wim and updated ISO? The tests above verify that the answer file is working correctly so what is causing this to not work later on?

    (thanks for all your help, you've been terrific!!)
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
       #39

    xy677 said:
    Now, the confusing thing is, how do I now get this working with a customised install.wim and updated ISO? The tests above verify that the answer file is working correctly so what is causing this to not work later on?
    Only difference I can see is that I use Hyper-V VM as technician machine, you use VMware. That shouldn't matter, though.

    I'll run one more test, capturing install.wim, making ISO, clean installing from it. This takes time, an hour and half to two hours. Will post back.

    Kari
      My Computer


  10. Posts : 64
    Windows 10
    Thread Starter
       #40

    Thanks Kari, I'm starting from the beginning again to see if it makes any difference!
      My Computer


 

  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 01:20.
Find Us




Windows 10 Forums