
New! Easy2Boot eBooks available here.
UEFI-boot from a Windows 7 Install ISO
To UEFI-boot from a Windows 7 64-bit ISO (Win 7 32-bit UEFI is not supported by Microsoft) you must first convert each ISO to a FAT32 .imgPTN file using MakePartImage and the MPI_FAT32 Desktop shortcut. Do not use the MPI_NTFS Desktop shortcut because that will not UEFI-boot on all systems!
See How E2B Works for more details about how .imgPTN files work.
Windows 7 (64-bit) will not UEFI-boot from USB unless the \EFI\BOOT\BOOTX64.EFI file is present but it is not included in the Microsoft Win7 x64 ISO!Later versions of the MPI Tool Kit (0.096+) will try to add the missing BOOTX64.EFI boot file (see below for details).
- Convert Win7 ISO (on hard drive) to .imgPTN file using MPI_FAT32 from the MPI Tool Kit
- Copy new Win7 .imgPTN to E2B USB drive (e.g. \_ISO\WINDOWS\WIN7 folder)
- Run \MAKE_THIS_DRIVE_CONTIGUOUS.cmd to make file contiguous
- MBR-boot to E2B menu (or run \_ISO\SWITCH_E2B.exe) and select the Win7 .imgPTN file (partition will be changed)
- UEFI-boot from the E2B drive
If any file inside the ISO is larger than 4GB, then see here for solutions.
Windows 7 32-bit and all earlier Windows OS's do not support UEFI-booting.
Note: E2B v1.75+ allows you to add .imgPTN files to the \_ISO\WINDOWS\xxxx folders (except for the XP folder).
The Windows 7 64-bit UEFI boot problem!
Unlike the later Windows Install ISOs, the Windows 7 64-bit standard Microsoft ISO does not contain the correct UEFI boot file that is required for USB disk booting (Win7 ISOs only support CD\DVD booting).
Note: Ensure CSM\Legacy Mode is enabled in the BIOS settings, even if you are UEFI-booting - Win7 x64 UEFI may need BIOS access or it may not fully boot!
To UEFI 64-bit boot, the file \EFI\BOOT\BOOTX64.EFI must be present.
Tip: You can install Windows 7 onto modern (USB 3) systems using WinNTSetup.
Use Split_WinISO.exe to add the boot file
You can use the Split_WinISO Windows utility (by Chandra) to automatically add the missing bootx64.efi file and make a .imgPTN file...
- Download Split_WinISO.exe and copy the .exe file to the MPI folder (Split_WinISO is already included in later versions of MPI).
- Run Split_WinISO.exe and click the ISO button to select your Windows 7 x64 ISO
- Click on the MPI button to convert the ISO to a FAT32 .imgPTN file - if you do not see the MPI button then you did not copy the .exe file to the MPI Tool Kit folder!
Manually change the boot files
First, check if the file '\EFI\BOOT\BOOTX64.EFI' is in your ISO (or inside .imgPTN file). If it is not present then it will not UEFI-boot from a USB drive and we need to obtain the file and add it to our .imgPTN file.
Run E2B and select the Windows 7 64-bit.imgPTN file that you have already created using MakePartImage. You can do this by running \_ISO\SWITCH_E2B.exe or run the 'QEMU_MENU_TEST (run as admin).cmd' script on the E2B USB drive until you see the Windows 64-bit CSM menu in the QEMU window and then quit QEMU and Eject the USB drive using the Windows System Tray icon, then re-connect it.
The contents of the E2B USB drive should now comprise of the Windows 7 64-bit payload.
If the '\EFI\BOOT\BOOTX64.EFI' file is missing, you can obtain and copy the file to the USB drive by using one of the two methods below:
If you have access to a Windows x64 system, copy the file C:\Windows\Boot\EFI\bootmgfw.efi to the USB drive's \EFI\BOOT\ folder and rename the file to \EFI\BOOT\BOOTX64.EFI. Do NOT use the bootmgr.efi file - it doesn't work!
OR...
The file bootmgfw.efi can also be extracted from a Windows 7 (or higher) x64 Install DVD. It is located in the 2.7 GByte+ large archive \sources\Install.wim (and in the \sources\boot.wim file too usually) which should now be on your USB drive. The file can be extracted using an archiving program such as 7Zip. This file is usually located in the subdirectory "1" of the archive at 1\Windows\Boot\EFI\ under 7Zip. Copy the file to the USB drive's \EFI\BOOT folder and rename the file to \EFI\BOOT\BOOTX64.EFI
The USB drive should now be UEFI-bootable and you should see the CSM menu now inform you that the BOOTX64.EFI file is present and also see a Clover boot option.
Note: The Virtual Box 'BIOS' does not support UEFI-booting of Windows 7 64-bit - the animation will just stop (Win8 and later work OK). However, you can try booting using the Clover menu entry in E2B CSM mode which usually works under VBox.
Still will not boot?
It should not be necessary, but if it fails to UEFI-boot, also copy the whole \EFI\MICROSOFT\BOOT folder to the \EFI folder (see screenshot below).
The partition contents of the USB drive should now look like this (note the \EFI\BOOT\BOOTx64.efi file must be present).
Adding Intel USB 3.0 drivers to Windows 7
Windows 7 install ISOs do not support USB 3.0 ports or controller chips, so if you want to boot from a USB 3.0 port, you will usually need to add the USB 3.0 drivers (tip: sometimes just using a USB 2.0 port will work but sometimes it will not!).
Once you have made the .imgPTN file, you can 'switch' to it and then run the Intel Windows 7 USB 3.0 Creator utility. This will modify the install.wim and boot.wim files and add the Intel USB 3.0 drivers. Note that this utility only adds the Intel USB 3.0 drivers for Intel chipsets; it does not add non-Intel USB 3.0 drivers (e.g. AMD).
There is also a video showing how to modify an ISO or USB drive here.
Tip: I find it easier to boot from any recent Windows Install ISO that supports USB 3.0 (e.g. Win 8.1 or Windows 10), and then run WinNTSetup.exe and install the Windows 7 ISO using WinNTSetup. There is no need to modify the Windows 7 64-bit ISO if you use this method. You can then install the USB 3 and other drivers once Windows has been installed.
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
-
How to add Payload Files and Use 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)
- Windows XP 64-bit
- 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 Windows Account Passwords (UtilMan.exe)
- Windows 2000
- Windows 98
- 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/time/date 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
- a1ive grub2 File Manager (MBR+UEFI)
- Add Ventoy
- Site Map
- eBooks
- Contact Me >>>
- Donate
- Licensing
- Privacy policy (GDPR)
- Bespoke design service
- Grub2 Menu System (UEFI_GRUB2_PTN2)