[Answered] Multiple autounattend.xml

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

  1. vze2mp9g

    vze2mp9g MDL Senior Member

    Oct 13, 2012
    374
    50
    10
    Is there a way to have two autounattend.xml files on a Windows 10 install disk and is do, can you explain.
    Thank You.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,535
    660
    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/
     
  3. vze2mp9g

    vze2mp9g MDL Senior Member

    Oct 13, 2012
    374
    50
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mkuba50

    mkuba50 MDL PHP Wizard

    Nov 9, 2012
    558
    3,501
    30
    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.
     
  5. GodHand

    GodHand MDL Senior Member

    Jul 15, 2016
    341
    319
    10
    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.
     
  6. vze2mp9g

    vze2mp9g MDL Senior Member

    Oct 13, 2012
    374
    50
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...