
Add Windows Install ISOs to the (Main) Menu
Note: If the file DEFAULT.XML exists in the same folder as the ISO, then the DEFAULT.XML file will be automatically picked by E2B (E2B v1.B0+). The DEFAULT.XML file can be a 'no key' file if you wish.
# Use this for Vista/SVR2K8R2/Win7 ISOsiftitle [if exist /_ISO/WINDOWS/Win7/Win7_32_SP1.iso] Install Win7 SP1 32-bit \n Install from the ISOset MFOLDER=/_ISO/WINDOWS/WIN7set ISO=Win7_32_SP1.isoset HDG=Windows 7 Menu/%grub%/RunVista.g4b %MFOLDER%boot# use this for Win8/8.1/SVR2012/WIN10\SVR2016 ISOsiftitle [if exist /_ISO/WINDOWS/Win8/Win8.1_32.iso] Install Win8.1 32-bit \n Install from the ISOset MFOLDER=/_ISO/WINDOWS/WIN8set ISO=Win8.1_32.isoset HDG=Windows 8 Menu/%grub%/RunWin8.g4b %MFOLDER%boot
If you use a non-standard folder, you will also need to copy or add .xml and .key files from the \_ISO\WINDOWS\xxxx folders.
# NOWMENU causes a Windows Install sub-sub menu to return back to the Main menu rather than return to the Windows Install menuset NOWMENU=1
Examples with XML file specified (v1.61+)
iftitle [if exist /_ISO/WINDOWS/Win7/Windows_7.1_EN-US_x86.ISO] Install Win7 32-bit \n Install from the ISOset MFOLDER=/_ISO/WINDOWS/WIN7set ISO=Windows_7_x86.ISOset XML=# Specify full path of XML file (e.g. %MFOLDER%/Win8\ has\ spaces\ in\ name.xml)# OR to choose XML or Product Key, comment out next lineset XML=%MFOLDER%/Sample.xmlset NOWMENU=1/%grub%/RunVista.g4b %MFOLDER% %XML%bootiftitle [if exist /_ISO/WINDOWS/Win8/Windows_8.1_EN-US_x86.ISO] Install Win8.1 32-bit \n Install from the ISOset MFOLDER=/_ISO/WINDOWS/WIN8set ISO=Windows_8.1_EN-US_x86.ISOset XML=# Specify XML file in MFOLDER folder (e.g. Win8\ has\ spaces\ in\ name.xml)# OR to choose XML or Product Key, comment out next lineset XML=Sample.xmlset NOWMENU=1/%grub%/RunWin8.g4b %MFOLDER% %XML%boot
title Install XP Pro 32-bit - Step 1\n Remember to select an AHCI driver (if required) \n AND FiraDisk AND WinVBlock drivers (using F6)!\n You must reboot to Easy2Boot again and run STEP 2 afterwards.set XPISO=MyXPPro.isoset MFOLDER=/_ISO/WINDOWS/XP/%grub%/XPStep1.g4bboottitle Install XP Pro 32-bit - Step 2 (512MB+ systems)\n 2nd phase of setup (most reliable).\n This will complete the install and reboot from the hard disk.\n It requires at least 512MB of RAM to hold the ISO file.set XPISO=MyXPPro.isoset MFOLDER=/_ISO/WINDOWS/XP/%grub%/XPStep2.g4bboottitle Install XP Pro 32-bit - Step 2 (Low RAM systems)\n Faster - use this if not enough system memory (<512MB). \n Direct ISO map for WinVBlock. Does not work on all\n systems, e.g. some Atom CPU based systems.set XPISO=MyXPPro.isoset MFOLDER=/_ISO/WINDOWS/XP/%grub%/XPStep2LowRam.g4bboot
Custom installs
If you want to have individual menu entries for a Vista/7/SVR2K8R2/Win8/SVR2012 Install ISO using a predefined XML file or specific Product Key using your own code, look at the Win_Vista_7_2K8R2_Direct.mnu and Win_Win8_2012_Direct.mnu files in the \_ISO\docs\Sample mnu Files folder for examples.
Note that Win8/2012/10 installs nearly always require a product key (even those that don't normally ask for one such as evaluation versions!), unless the ISO contents have been modified and a custom EI.CFG file has been added, or E2B uses WIMBOOT to boot the ISO (v1.A8+).
Change the ComputerName and UserName each time
It is possible to make a .mnu file which will prompt you for a ComputerName and UserName before you start the install, by dynamically modifying the XML file.
This means you do not need different XML files for different Users.
See here for details about using the WIN10_Prompt_for_PCNAME_and_UNAME.mnu file in the \_ISO\docs\Sample mnu Files\Windows folder.
You can also modify the .mnu file to set a different ProductKey. This would allow you to have several different .mnu files to install Windows with different UserNames, ComputerNames and ProductKeys (e.g. Home/Pro Editions) but using the same source XML file.
See also WIN10_Prompt_for_UNAME_auto_serial_COMPNAME.mnu for a method of setting the ComputerName to contain the Serial Number of the system.
More information is available in my eBook on Windows Installation.
Recommended for Easy2Boot (fastest flash drive!)
SanDisk Extreme SDCZ880-128G-G46
- Home
- Start & Intro
- Quick Setup Guide >>>
- DOWNLOADS >>>
- YouTube videos
- Tutorials and How To's
-
Make a USB drive >>>
- Make a multi-partition E2B USB drive using RMPrepUSB
- Use an existing USB HDD for E2B
- Use LINUX to make an E2B drive + defrag
- How to Update E2B
- How to make a WINHELPER USB Flash Drive (fix 'Required DVD drive driver is missing')
- Multiple partitions on a USB Flash drive
- Using other partitions or drives
- Backup/Restore/Copy (clone) any E2B USB drive
- Make and burn an E2B DVD
- Using E2B with a Zalman/IODD
- Add E2B to your own grub4dos USB drive
- How to remove E2B
- E2B Menu system
- UEFI booting from E2B
-
Adding Payload Files and Using E2B >>>
- Make files CONTIGUOUS
- File Extensions recognised by E2B
- UEFI+MBR and how to make .imgPTN files
- MakePartImage and how to change the CSM Menu
- UEFI-Multiboot and rEFInd
- Using SWITCH_E2B with .imgPTN files
- Using the \_ISO\AUTO folder
-
WINDOWS payloads >>
- E2B USB HDD - Installing Windows with a 'WinHelper' drive
- Windows XP Install ISOs
- Install XP 32-bit + disk drivers (DPMS)
- Install XP using WinPE (one step process)
- Add XP Install ISOs using WinSetupFromUSB
- Windows Vista/7 Install ISOs
- UEFI boot from Windows 7 Install ISOs
- Windows 8/10 Install ISOs
- Unattended Installs
- XMLtoE2B.exe (Unattend.XML files)
- Adding >4GB Windows Install ISOs using .imgPTN files
- Automating Windows Installs from .imgPTN files
- Split_WinISO
- Add Windows ISOs to partition 2
- Windows AIO ISOs
- WindowsToGo
- WinNTSetup
- WinLite10 XML files
- SDI_CHOCO (install drivers, apps and updates) >>
- .VHD and .WIM files
- PassPass (bypass the Windows Password)
- Hack into Windows OS (UtilMan.exe)
- Windows 2000
- Multipoint Server
- Add the latest XP drivers (DPMS)
- Add a Windows Install menu entry
- LINUX payloads >>
- MSDart ERD ISOs
- WinBuilder, Medicat, Gandalf and WinPE ISOs
- Hirens/Strelec/DLC/F4 ISOs
- DOS (MS-DOS and FreeDOS)
- HAIKU
- MAC OS X
- FreeBSD
- MOVE_IMGPTN
- List of tested ISOs\payloads (with instructions)
-
Configure E2B >>>
- Menu settings (quick reference)
- E2B Menu Demo
- E2B_Editor
- E2B files and folders explained
- MyE2B.cfg - E2B configuration file >>
- Change the payload menu entries and help text using a .txt file
- Change the order of the menu entries
- Change the background wallpaper
- Different background wallpaper for each menu
- Default Menu and Timeout
- Change the Language, Headings, Menu and text
- Changing the default E2B menu entry order
- 'Change File Extension' prompt (Auto-Suggest)
- Change the Keyboard Layout
- About .mnu files
- Sample .mnu files
- PimpMyDrive.cmd
- Reduce the E2B messages
- Add a new Sub-Menu folder
- Stamps, Animation and Tunes
- Draw lines and boxes on the screen
- Write text to the menu screen
- Global Hotkeys
- Themes (Skins)
- Fonts
- Speeding up E2B (inc. FASTLOAD)
- One Single Menu
- The E2B F1 Help menu
- Add your own Help Menu
- Add Help text files (.help)
- Add Windows Install ISOs to the Main Menu
- Change the Windows Install Menu
- Passwords and Security
- Hide Payloads and Menu Entries
- Guest Mode
- GFX Boot Menus
- Dual Booting
- Change the CSM .imgPTN Menu
- Configure Clover
- Right-to-Left Languages
- Create new language files
- How to modify LOADISO.CMD (Repair message)
- Count number of boots
- UEFI - useful things know!
-
FAQ, Info, TroubleShooting, QEMU and Virtual Machines >>>
- 'File Not Contiguous' and 'Too Many Fragments' Errors
- 137GB 'BAD BIOS' bug
- TroubleShooting E2B
- E2B Error Messages
- Grub4dos Error Numbers
- Common problems with payload files
- Repair a corrupt E2B drive
- Known Issues and Bugs
- Slow and buggy BIOSes
- How E2B Works
- QEMU and Virtual Machines >>
- Using VBOX with a WinHelper USB drive
- Debugging E2B
- CONTIG.ISO
- ISOBOOT
- WIMBOOT (iPXE)
- grub4dos
- Useful resources
- Removable v. Fixed
- Gallery
- Guestbook
- Forum
- Blog
- Grub2 Menu System (UEFI_GRUB2_PTN2)
- Site Map
- eBooks
- Contact Me >>>
- Donate
- Licensing
- Privacy policy (GDPR)
- Bespoke design service