Create media for automated unattended install of Windows 10  

Page 12 of 98 FirstFirst ... 210111213142262 ... LastLast

  1. Posts : 8
    Windows 10
       #110

    Kari said:
    I have to admit I do not know WDS too well, being more familiar with MDT. In MDT, I've very seldom had issues with importing custom WIM. Just to get a screenshot, I now imported my customized W10 version 1803 image:
    Attachment 195178

    Those few times I couldn't import WIM, a workaround has worked every time; I use the WIM to create complete Windows ISO and import it instead:
    Attachment 195179

    Kari


    Good afternoon, Kari,
    Returning to give feedback on how to import the custom image into WDS.
    Well it was very easy, I just took the "/ bootable" option, I used the command like this:
    dism / capture-image /imagefile:C:\install.wim/catchir: C: \ / name: "W10" / checkintegrity / verify

    Thanks a lot for the help.
      My Computer


  2. Posts : 1
    Windows 10
       #111

    Hello there Kari!
    I am very new to scripting. In my scenario, the computers which I would like to do the installation on, already comes with windows 10, so when I start the computer for the first time the windows 10 installation begins automatically (prompts me to select timezone, pin code and stuff like that) so I assume the product code and all that comes prepackaged. Can your guide work in this scenario or is it more for the situation when the harddrive is completely blank? I am sorry if the question is super dumb.
      My Computer


  3. Posts : 1
    Windows 10
       #112

    Thank you so much for these steps. I would also like to convert the Win10 installation to the Education version. Is there a way to automate that as well?
      My Computer


  4. Posts : 8
    Windows 10 Pro x64 1803
       #113

    oem folders and oscdimg.exe v2.56


    I have defined the partition layout in catalog. But I have "$OEM$ Folders\D\Some files and directory" to be copied on D: Drive.
    How can I integrate this new model ($OEM$ Folders) (or it will also work the Legacy $OEM$) in my final ISO ?

    I've uploaded oscdimg.exe v2.56 for whoever needs it. x86 and x64 verision for Windows 10 1803.
    Last edited by UserQwert; 20 Sep 2018 at 10:47. Reason: Completition
      My Computer


  5. Posts : 1
    Windows 10 Pro
       #114

    First off, thank you so much for this. This is a great guide. I signed up just to post on this topic. Just wanted to note that when it came time to capture the image using dism, I was met with a couple of errors. The first error was "An error occurred while accessing the temporary directory". The second error I received was "The system cannot find the path specified".

    After a little thinking, I figured I would try making the folders that were to be used by dism (C:\scratch and C:\image). I ran
    Code:
    mkdir C:\image
    and
    Code:
    mkdir C:\scratch
    then ran the "dism capture-image" command again, and it worked perfectly. Please consider adding that to the original post so that if others run into this issue, they have a quick solution!

    Thanks again for this.
      My Computer


  6. Posts : 8
    Windows 10 Pro x64 1803
       #115

    Add in tutorial = Do not put the tag <UseConfigurationSet>true</UseConfigurationSet>.
    When you use Windows System Image Manager (W SIM) and access Tools > Create Configuration Set it adds the above tag.

    I have forgot that I've accessed that feature and for last 4 days I was stuck during install in the step when you set partition layout.
    Seems that the AutoUnattend.xml is ignored at this step if the tag <UseConfigurationSet>true</UseConfigurationSet> is set.

    Just a taught.
      My Computer


  7. Posts : 4,169
    Windows 11 Pro, 22H2
       #116

    Confused about difference between autounattend.xml and unattend.xml


    In this tutorial, 2 seperate XML files are created: autounattend.xml and unattend.xml.

    I had seen another tutorial where all the steps through section 4 of this tutorial were included in just one file, the autounattend.xml.

    Could someone clarify for me when it is appropriate to include everything in a single file (autounattend.xml) and when it is necessary to create a seperate unattend.xml file?

    I've tried to do some searching on the Internet but have only found vague answers.

    Thanks for the help!
      My Computers


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

    hsehestedt said:
    Could someone clarify for me when it is appropriate to include everything in a single file (autounattend.xml) and when it is necessary to create a seperate unattend.xml file?!
    The unattend.xml, settings in it are applied to Windows image with Sysprep before you capture the image after customizing Windows in Audit Mode on your reference machine. This answer file applies your custom settings to the image.

    Image (install.wim) is then used to replace default, original image on install media. The autounattend.xml file on root of it takes care of partitioning hard disk as preferred and extracts Windows setup files from your custom image, and finally installs Windows.

    Two totally different answer files for two totally different processes. Keep them separate.

    Kari
      My Computer


  9. Posts : 4,169
    Windows 11 Pro, 22H2
       #118

    Kari, thanks so much for your response. I understand - partially.

    In the previous tutorial I had read, the goal was only to perform an unattended install of Windows but there were no changes made to the default install.wim file. As a result, the autounattend.xml was all that I needed.

    Having successfully created an image to perform an unattended install, I next followed your excellent tutorial on using DISM to add all the drivers on my laptop to the install.wim. Now I was able to perform a completely unattended install without having to manually install a single driver. But up to now I still have not needed an unattend.xml.

    So if I now want to take it a step further and apply changes to the image with Sysprep, that is when I would need the unattend.xml, is that correct?

    The part that confuses me is that in your tutorial all of the same settings that you are configuring in section 4 and saving to the unattend.xml, the other tutorial had me save to the autounattend.xml. These things include the localization and the creation of the user account and password.

    So it seems to me that there are certain elements that could potentially be in either file. I guess I'm just having a hard time understanding exactly why I could configure these elements in either file. Maybe I just need to see if I can find something that clearly identifies the phases of install and makes clearer what goes where.

    In any case, I want to thank you greatly for your excellent tutorials. It's almost 4:30 AM where I am and the reason that I'm still up is because I simply can't put your tutorials aside. I'm playing with all of this and simply can't stop until I get it all figured out
      My Computers


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

    hsehestedt said:
    So if I now want to take it a step further and apply changes to the image with Sysprep, that is when I would need the unattend.xml, is that correct?
    Yes.


    hsehestedt said:
    The part that confuses me is that in your tutorial all of the same settings that you are configuring in section 4 and saving to the unattend.xml, the other tutorial had me save to the autounattend.xml. These things include the localization and the creation of the user account and password.
    Please could you provide link to that other tutorial.

    Kari
      My Computer


 

Tutorial Categories

Create media for automated unattended install of 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 03:19.
Find Us




Windows 10 Forums