HELLO ! Is the setup for recovery by AnarethoS for Windows 10, is now possible to use two unattend xml for create a recovery partition. Needed : OEM Recovery Partition Creator for Windows 7/8/10 Reference : $OEM$ Folder Creation DVD Indeed it is an "smart" script that identifies whether it should start the unattend files for MBR or EFI, I'll explain here, I used the folder "Windows 10 Recovery". Work also for Windows 7, 8, 8.1 with the pach boot.wim but use the recovery software used by the system. SOMMARY ! POST NUMBER Download the PreConfig pack for Windows 7-8-8.1-10 Post-18 Preparation for Windows 7-8-8.1 Post-17 Integrate OEM Manufacturer Post-23 Detection of BIOS Mode Post-26 Deploy ScanState Post-27 EXPLICATION ! 1) PATCH THE BOOT.WIM Then you create winpeshl.ini and install.cmd winpeshl.ini Code: [LaunchApps] %SYSTEMDRIVE%\windows\system32\install.cmd install.cmd Code: @echo off SetLocal EnableDelayedExpansion FOR %%i IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\efi.xml SET install=%%i: :Lastly do the UEFI detection :Check whether user has booted with UEFI or BIOS and set UEFI=1 if UEFI wpeutil UpdateBootInfo for /f "tokens=2* delims= " %%A in ('reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType') DO SET Firmware=%%B :: Note: delims is a TAB followed by a space. if !Firmware!==0x1 set UEFI=0 if !Firmware!==0x2 set UEFI=1 if !UEFI! EQU 1 ( %install%\setup.exe /unattend:%install%\efi.xml /m:%install%\recovery\efi ) ELSE ( %install%\setup.exe /unattend:%install%\mbr.xml /m:%install%\recovery\mbr ) exit (In this script I search "efi.xml" on DVD root to assign the correct drive letter in the script) winpeshl.ini and install.cmd must be integrated into the boot.wim index 2 with dism in "Windows\System32" for install.cmd be executed since the beginning of the installation. Code: Dism /mount-wim /wimfile:C:\wim\boot.wim /index:2 /mountdir:C:\mount Copy the install.cmd and the winpeshl.ini in "C:\mount\Windows\System32", rewrite winpreshl.ini. Code: Dism /unmount-wim /mountdir:C:\mount /commit 2) PREPARE THE ISO At the root of the ISO I put the XML files that I renamed MBR and EFI. In the Recovery folder I create two folders: MBR and EFI. And I create inside a folder "$1" for Windows to copy the root of the system partition the recovery folder of AnarethoS project so it gives this: "$1\Recovery", the OOBE.cmd must give the attribut for the Recovery folder in system partition, that I already prepared for the recovery, that is to say to put the files in the folder "Settings" in "OEM" and copy "ScanState". OOBE.cmd Code: ATTRIB -S -R -H C:\Recovery ATTRIB -S -R -H C:\Recovery /S icacls C:\Recovery /reset /T /C icacls C:\Recovery /inheritance:r /grant:r SYSTEM:(OI)(CI)(F) /grant:r *S-1-5-32-544:(OI)(CI)(F) /grant:r *S-1-5-32-545:(OI)(CI)(RX) /C ATTRIB +S +H C:\Recovery RMDIR /S /Q "%WINDIR%\Setup\Scripts" exit I create also a cmd that I put in root for my iso for run the Recovery when I finished to install driver and software. Because the Recovery folder was hidden. sysprep.cmd Code: start "Sysprep" "C:\Recovery\OEM\Sysprep.cmd" exit Architecture of the ISO : Code: ISO\recovery\mbr\$1\Recovery ISO\recovery\efi\$1\Recovery ISO\recovery\mbr\$$\Setup\Script\OOBE.cmd ISO\recovery\efi\$$\Setup\Script\OOBE.cmd ISO\mbr.xml ISO\efi.xml ISO\sysprep.cmd Suffice to install software and driver and then launch "Sysprep.cmd" and everything is ready. I made this project to save on DVD since I was four with two more the recovery architecture or two if I make an AIO, now one is enough, and even more by USB it works it's really cool ! I hope I was clear enough if need does not hesitate to come back to ask me anything at all. DON'T FORGET LIKE THIS POST ! Voilà !