XMLtoE2B.exe utility - Version 2 (Win7/8/8.1/10)
Run XMLtoE2B.exe utility (a Licence.bin file is required for full functionality)
- Go to the correct page on the AFG website by clicking one of the seven AFG buttons in XMLtoE2B.
Fill in the web form and then save to an XML file (you can change the Product Key, ComputerName and disk configuration, etc. later).
Note: If you change 'Install toDisk = 0' to different number, you must check that the 'WillWipeDisk' section also uses the same disk number or else disk 0 will be wiped!
- Load the AFG XML file into XMLtoE2B.exe. You must use an original WAFG-generated file - not a modified file.
- Add the WIM file image number - this is required for automated installation if you have a multiple-image ISO file such as the Install.wim file on Retail ISOs.
Change the other fields as required. You can either use a generic install key or an Activation key if you have one.
- Click on 'Convert file' - this converts the file that was loaded into memory in Step 2 into an XML file for E2B.
(optional) Edit the text in the 'Results' window if required - e.g. you can change the comment field or change any other setting.
- Save the XML file to the E2B USB drive using the 'Save text from Results window to a file' button or view the file in NotePad.
WARNING: DO NOT REPLACE THE \AUTOUNATTEND.XML FILE ON THE E2B partition!
The E2B \AutoUnattend.xml file must be at least 100K in size and is erased and updated by E2B when you boot to the Main menu. It must be as large as your largest XML file (so 100K should be large enough!).
To examine XML files, you may find the Microsoft utility XML Notepad 2007 helpful.
If you always want to be prompted before installation begins automatically, use an invalid image number - e.g. 20.
Wipe Disk - Disk to completely erase
Use CHOOSE_DISK (no wipe).diskcfg if you want to delete, create and format partitions manually first.
Convert to 32-bit (x86) - If the WAFG XML file is 64-bit only (e.g. UEFI-64 XML files), this allows you to convert the output for 32-bit UEFI Windows installs (x86).
Reference for Unattended settings
Result >>> Computer name is set to UF552E2-N42R1CJ
Notes for Windows AFG
SDI_CHOCO (run a batch file)
How to use the new XML file
- For ISO booting, just copy the XML file to the correct Windows folder (e.g. \_ISO\WINDOWS\WIN8 for Windows 8 and 8.1).
Give the XML file a suitable name (e.g. Win8.1Pro_AutoWipe_User1_max.xml. (MBR systems only).
- For a FAT32 Windows Install .imgPTN file, switch to the .imgPTN file's CSM menu and then quit (F10) or use SWITCH_E2B.exe. Then copy the XML file to the root of the image partition (not the E2B partition which contains the \_ISO folder!) and name it \AutoUnattend.xml.
Tip: If MBR-booting, press F7 to boot from the hard disk after the first reboot by Setup (or set the default menu option to the F7 menu entry).
- (MBR systems only): For ISO booting, use a 'Helper' Removable USB Flash drive with the E2B drive and follow step 1 above (not required if E2B uses WIMBOOT).
- (MBR and UEFI systems): For a FAT32 Windows Install .imgPTN file, switch to the .imgPTN file's CSM menu or use SWITCH_E2B.exe. Then mount the \Sources\boot.wim image #2 file using GImageX and copy the XML file to the mounted folder and name it \AutoUnattend.xml. See here for more information.
WARNING: If you UEFI-boot and the XML file auto-partitions the target drive, then any system that you boot to will automatically get it's hard disk wiped! Take care when UEFI-booting from the USB drive in this state! If you boot to it on your office system, it will wipe the hard disk!
.imgPTN + Windows 10 only - recent Windows 10 versions will use a \AutoUnattend.xml file if the root of the FAT32 .imgPTN image. So simply copy the AutoUnattend.xml file to the root of the E2B drive after the .imgPTN image has been 'switched' in.
Change the ComputerName and UserName each time (MBR-booting from .ISO file only)
Recommended for Easy2Boot (fastest flash drive!)
SanDisk Extreme SDCZ880-128G-G46
Fastest USB 3!
See Blog post