Add Payload Files Xmltoe2b Exe Utility
Add Payload Files Xmltoe2b Exe Utility
com
HOME START ADD FILES TESTED ISOS UEFI DOWNLOADS SITE MAP MORE
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Home | Adding Payload Files and Using E2B >> | WINDOWS payloads >> | Unattend.XML files and XMLtoE2B.exe
XMLtoE2B makes creating automated, fully unattended answer files really easy!
New! E2B eBooks are now available (including a complete course on making a multiboot USB drive and
Search
an eBook on Installing Windows).
Note: XMLtoE2B.exe does not add in the RunSynchronous 'Specialize' pass section which is required for Custom Search
SDI_CHOCO. You must add this XML section in yourself (e.g. using Notepad) - see below for more
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
details.
If you have donated £10 or more (or have helped with the development of E2B), please contact me More Info
for a licence file to make XMLtoE2B fully functional - or you can edit your XML file manually by
following my blog post here.
MENU
Note: The Windows AFG buttons no longer work because WAFG website is now Home
at www.windowsafg.com.
Start & Intro
YouTube Videos
Make files
CONTIGUOUS
File Extensions
recognised by E2B
MakePartImage and
changing the CSM
Menu
Using SWITCH_E2B
with .imgPTN files
WINDOWS
payloads >>
Windows XP Install
ISOs
Install XP 32-bit
using DPMS
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Install XP using
WinPE (one step
process)
Windows Vista/7
Install ISOs
Windows 8/10
Install ISOs
Unattended Installs
Unattend.XML
files and
XMLtoE2B.exe
Adding >4GB
Windows Install
ISOs using .imgPTN
files
Automating
Windows Installs
from .imgPTN files
Split_WinISO
WindowsToGo
WinNTSetup
SDI_CHOCO (install
drivers, apps and
updates) >>
Run XMLtoE2B.exe utility (a Licence file is required for full functionality) PassPass (bypass
the Windows
1. Go to the correct page on the AFG website by clicking one of the three AFG buttons in XMLtoE2B. Password)
There is also a Windows 10 page but it does not have a button.
Hack into Windows
Fill in the web form and then save to an XML file (you can change the Product Key, ComputerName OS (UtilMan.exe)
and disk configuration, etc. later)
2. Load the AFG XML file into XMLtoE2B.exe (the file contents will be listed in the 'Results' window) Windows 2000
Multipoint Server
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
3. Add the WIM file image number - this is required if Add the latest XP
you have a multiple-image ISO file such as the drivers (DPMS)
Install.wim file on Retail ISOs.
LINUX payloads >>
Change the other fields as required. You can either
use a generic install key or an Activation key if you MSDart ERD ISOs
have one. WinBuilder, Medicat,
4. Click on 'Convert loaded file' - this converts the file Gandalf and WinPE
that was loaded into memory in Step 2 into an XML ISOs
file for E2B.
Hirens/Strelec/DLC/F4
(optional) Edit the text in the 'Results' window if ISOs
required - e.g. you can change the comment field
or any other setting. DOS (MS-DOS and
FreeDOS)
5. Save the XML file to the E2B USB drive using the
'Save text from Results window to a file' button or OS X
view the file in NotePad.
FreeBSD
FAQ, TroubleShooting,
XMLtoE2B is for use with E2B v.1.67 and later versions (earlier versions of E2B will only work correctly if QEMU and Virtual
you tick 'Prompt user for Repair'). Machines >>
Gallery
To examine XML files, you may find the Microsoft utility XML Notepad 2007 helpful.
Guestbook
Forum
Options Blog
1 Generate XML file using Windows AFG - use one of the three buttons to launch the correct WAFG DOWNLOADS >>
page
Grub2 Menu System
2 Load AFG XML file - loads a file that was generated by the Windows AFG web utility into memory.
(UEFI_GRUB2_PTN2)
3 Set WIM file image number - If your ISO contains a \Sources\Install.wim (or .esd) file containing
multiple Editions of Windows (e.g. Core + Pro), Setup will not know which image to use. Setting an Site Map
incorrect number can result in you being prompted to choose an Edition if the image number is not eBooks
consistent with the Product Key you have used (e.g. Index=1 = Windows 8 or 8.1 PROFESSIONAL
Contact Me >>
Product Key).
Note: Single Language versions of Win8/10 usually contain a single image - Home/Core only (image Donate
#1).
Licensing
More recent Microsoft Win10 Download ISOs with Install.ESD files contain the following images:
Privacy policy (GDPR)
1 Cloud
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
2 CloudN Recommended for
3 Core Easy2Boot (fastest!) -
4 CoreN SanDisk Extreme
SDCZ880-128G-G46
5 CoreSingleLanguage
6 Education
Select Language ▼
7 EducationN
8 Professional
9 ProfessionalN
Tip: You can use WinToUSB to list the available editions inside an .ISO file and their index numbers.
Get WIM Info - Click to see typical image numbers and then click OK to get XMLtoE2B to get the image
information from a .WIM file. This file is usually called \Sources\Install.wim and in order for XMLtoE2B to 130+ Tutorials on USB
booting.
examine it, it will need to be extracted first from the Windows Install ISO file. If the install wim file
contains more than one image, you must set this index number. If your ISO contains a large Install.esd
instead of an Install.wim, you can use NTLite to load the Install.esd file to see what images it contains,
or run Dism /Get-WimInfo /WimFile:C:\Users\fred\temp\install.esd to list the images that it
contains. Popular Pages
PRODUCT KEY (5x5) - If the XML file contained a product key, it will be displayed here. You can
change it before converting the file. It must be a valid key and should match the WIM file image (i.e. if a XMLtoE2B :: Easy2Boot
PRO install.wim image is chosen, use a PRO product key).
Tip: If the 5x5 ProductKey in the XML file starts with the six characters ASKME- then E2B will prompt you for a new Product Key. XMLtoE2B.exe utility :: Easy2Boot
Generic Install Keys - This takes you to the WAFG Keys page that lists common generic install keys.
These keys will NOT activate - they are just for installation purposes. Downloads
Add E2B LOADISO code - If you are booting using a USB Removable Flash drive from ISO (or a USB
HDD + WinHelper Removable Flash drive), you need to tick this box. If you are going to use the XML file Adding Payload Files >> :: Easy2Boot
with a .imgPTN image, you do not have to tick the box (if you leave it added in, Setup will just briefly
flash up a console window and then it will quickly disappear.) List of all tested ISOs (+ instructions) :: Easy2Boot
Prompt user for Repair - If this is ticked then \_ISO\e2b\firadisk\LOADISO.CMD will be used to load
the ISO as a virtual DVD and it will ask if you want to repair the Hard Disk before installing Windows. If
it is unticked, then \_ISO\e2b\firadisk\LOADISONP.cmd will be used to load the ISO and it will not
prompt you to Repair the drive (i.e. it will immediately wipe and format the hard disk with no prompts
whatsoever).
SkipMachineOOBE - you can tick this to skip the final end-user OOBE questions (if any) which occur at
the end of the Setup process.
No User Accounts (Administrator only) - if you tick this box then all User Accounts will be removed
from the XML file and SkipMachineOOBE will be set to true (otherwise you will be prompted to create a
User Account at the end of the build).
Prompt user for ComputerName - If this is ticked then Setup will prompt the user to enter in his/her
own ComputerName near the end of the build. SkipMachineOOBE must be set to false in order to get the
user prompt to be displayed.
ComputerName - Enter the name of the computer here - if you leave it blank then Windows Setup will
generate a 'random' computer name.
Change Disk Partitioning - You can replace the disk configuration in the original XML file with
one of these two options.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Single MBR Partition - WAFG generates an
XML file which comprises of two partitions, a
100MB hidden System Reserved partition and a
second partition of maximum size. If you tick this
box, only a single partition will be created as
drive C: and the OS and boot files will be
installed to it..
Size for disk partition (MB) - MAX =
maximum size to fill disk, or enter for example
50000 for a 50,000MB partition. Only used if
Single MBR Partition is selected.
OS Volume Label - You can change the volume
label of the single partition here. Only works if
'Single MBR Partition' is selected.
Convert loaded file - Converts the contents of the original file that was already loaded into memory in
Step 2 and displays the result in the Results window.
Save text from Results window to a file - You can edit the text in the Results window before saving
it as a file. Any existing file of the same name will be overwritten. (Disabled if no valid licence file found)
Copy Results window to NotePad - creates a XMLTemp.txt file and opens it in NotePad. You can then
edit it and save it with a different filename if you wish. Handy for checking the results before saving to a
file. (Disabled if no licence file found)
Exit - guess!
Notes
A blank ComputerName (or '*') will result in Windows Setup making a random name up for you.
Win10: When ComputerName=* the final Computer name is made from up to the first 7 characters of
followed by , e.g.
ComputerName=*
FullName=UF552
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Organization=E2B
Result >>> Computer name is set to UF552E2-N42R1CJ
Product Key
The Product Key is specified in both the WindowsPE pass (which determines which Edition is to be
installed, together with the WIM file Image number) and the Specialize pass (which is used when
Windows is Activated). The two keys do not need to be the same. For instance, a KMS key may be used
for the WindowsPE pass and a MAK key can be used for the Specialize Activation key. If no Specialize
key is specified, the WindowsPE key will be used for Activation.
For Windows 10 - Make sure you set a User Name or you will get a 'Windows could not complete the
installation' error near the end of installation if SkipMachineOOBE is true.
SkipMachineOOBE - this should normally be set to 'false'. All testing should be done using 'false'. Once
it is working correctly, setting it to 'true' may suppress some user prompts if you did not add an 'answer'
into the XML file, but you will need to carefully check that the desired defaults are correct.
Note that there is a 'catch 22' situation - if you want to be prompted for a ComputerName at the end of
the build then SkipMachineOOBE=unticked=false, however if you want to enable the Admin account and
have no other user accounts created, then SkipMachineOOBE=ticked=true (otherwise the user will be
prompted to create an account).
You cannot be prompted to enter a ComputerName and enable the Administrator and have no prompt to
create a new User Account.
Setting the AutoLogon account name to 'Administrator' will enable the Administrator account.
AutoLogon=Administrator + SkipMachineOOBE=false + Add User Account will work. To do this you must
create the WAFG XML file with a User Account name: Prompt user for ComputerName=ticked (No User
Accounts=unticked, SkipMachineOOB=unticked) - then after clicking Convert loaded file, edit the
Results window and set the AutoLogon UserName to 'Administrator'
If you want the user to be prompted to create a new User Account and you want the Administrator
account enabled, then manually change SkipMachineOOBE to false before saving the Results to an XML
file.
If WillWipeDisk is set to 'false' in the XML file, then the target disk must be 'clean' (i.e. unpartitioned) for
an automated install to begin. If the disk contains partitions then the install will abort and the target disk
will not be altered.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
SDI_CHOCO (run a batch file)
If you want to use the SDI_CHOCO feature (or run any batch file during the Specialize pass), you must
manually add some more lines into the Specialize pass - 'Microsoft-Windows-Deployment' section using
NotePad, as this section is not added by XMLtoE2B. If no 'Microsoft-Windows-Deployment' section exists,
simply add the whole section in (copy it from one of the sample XML files).
Make sure that the Order numbers are correct (1,2,3 etc) if you have more than one RunSynchronous
entry.
The screenshot below shows an x86 and amd64 entry to run SDI_CHOCO.cmd during the Specialize
phase.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
the image partition (not the E2B partition which contains the \_ISO folder!) and name it
\AutoUnattend.xml. (MBR and UEFI systems)
See also 'How to automate an install from a .imgPTN Windows Install file'.
WARNING: If the XML file installs to Drive 0, then do not use it with a Virtual Machine (e.g. Virtual
Box) unless the target virtual disk is Drive 0. If the E2B USB drive is drive 0 then it will be wiped! You
must use the Fixed-Disk #2 method but also modify the DiskID value inside the XML file before
use. See here for more information.
Remove the DiskConfiguration and ImageInstall sections from the XML file if you do want to partition
and format the drive manually before the installation begins.
TroubleShooting
If the XML file does not seem to run, check the X:\Windows\Setupact.log file to see if Setup found an
AutoUnattend.xml file, then check the X:\Windows\Panther\Setupact.log to see how it interpreted the
settings in the XML file. If there is a failure after rebooting, check the C:\Windows\Panther\Setupact.log
file and other log files as detailed here.
See here for details and also see the WIN10_Prompt_for_PCNAME_and_UNAME.mnu file in the
\_ISO\docs\Sample mnu Files\Windows folder.
The Sample Mnu file WIN10_Prompt_User_for_XML_settings.mnu prompts the user for various
XML settings and then modifies the XML file before it is used. This allows you to use the same XML file
each time, but specify the UserName, ComputerName, FullName, RegisteredOwner,
RegisteredOrganization, etc. before you start each build (E2B v1.A1+).
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
report this ad
NAVIGATION SOCIAL
Home Start Add Files Tested ISOs UEFI Downloads Site Map Top Menu
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Privacy Policy
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD