[Answered] Multiple autounattend.xml

Discussion in 'Windows 10' started by vze2mp9g, Aug 21, 2018.

  1. vze2mp9g

    vze2mp9g MDL Addicted

    Oct 13, 2012
    660
    117
    30
    Is there a way to have two autounattend.xml files on a Windows 10 install disk and is do, can you explain.
    Thank You.
     
  2. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    You can only have 1 autounattend.xml in the root of your install media (USB/optical).

    If you boot your media, you can then SHIFT+F10 to open a CMD Prompt. From here you can run a custom batch file & do whatever.
    ie, create partition, install using dism, etc..
    Or you can run setup.exe & specify an unattend.xml:
    Code:
    Setup /unattend:UEFIunattend.xml
    Setup /unattend:LEGACYunattend.xml
    Setup /unattend:ADMINunattend.xml
    Personally I use a WinPE that I created through Microsoft ADK & just run a batch file that let's be install any OS, any Index, include drivers, etc.
    See https://forums.mydigitallife.net/threads/murphy78-diskpart-and-apply-image-script.53532/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. whatever127

    whatever127 MDL PHP Wizard

    Nov 9, 2012
    1,050
    7,345
    60
    Copy everything from second unattend file except
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    and
    Code:
    </unattend>
    to the first file above </unattend> line, then load the unattend in System Image Manager and remove duplicate entries.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    1 applied directly to the image to handle OfflineServicing settings
    1 added to the Panther directory to handle OOBE/Setup/Specialize
    1 added to the installation media to handle WinPE/Disk creation, etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,965
    908
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...