How to create Windows 7 / Windows Server 2008 R2 bootable USB media for deployment on UEFI based systems

How to create Windows 7 / Windows Server 2008 R2 bootable USB media for deployment on UEFI based systems

How to create Windows® 7 / Windows Server® 2008 R2 bootable USB media for deployment on UEFI based systems (by Paul Marquardt)

This article describes a process to create a bootable USB drive which can be used to install the operating system onto your system. Transferring the installation files to a USB drive makes loading the operating system faster (21 Mb/s vs 480 Mb/s) and gives you the ability to load the operating system on devices like tablets that support USB but don’t support optical media.

You will need the installation media of the operating system you want to install, a USB drive, and administrative rights on the system used to create the bootable media. Image 1 shows the installation files for Windows Server which will be copied to the bootable drive.

R2 bootable USB media
Figure 1: R2 bootable USB media

The following steps guide you on how to make the USB drive bootable and get the contents onto the drive.
  • Insert the USB drive.
  • Open a CMD prompt using the Run as Administrator option.
  • Start the DISKPART tool by typing Diskpart and press ENTER.
  • List all disks recognized by the system by typing list disk and pressing ENTER.
List disk
Figure 2: List disk

5. Select your USB drive from the list returned (Disk 2 in this example) by typing Select Disk 2 and pressing ENTER.

Select Disk 2
Figure 3: Select Disk 2

6. Remove all data from the disk by typing clean
(Note: This will destroy all of the data on the USB drive)
and pressing ENTER.

Figure 4: Clean

7. Create a primary partition by typing create partition primary and pressing ENTER.

Create partition primary
Figure 5: Create partition primary

8. Create a bootable partition by typing active and pressing ENTER.

Figure 6: Active

9. List all volumes recognized by the system by typing list volume and pressing ENTER.

List volume
Figure 7: List volume

10. Select your volume from the list (Volume 3 in this example) by typing: select volume 3 and pressing ENTER.

Select volume 3
Figure 8: Select volume 3

11. Quick format the disk using Fat32 by typing format fs=fat32 quick and pressing ENTER.

Format fs=fat32 quick
Figure 9: Format fs=fat32 quick

12. Insert your desired operating system media or mount your ISO.

13. Copy the entire contents of the installation media from the installation media to your USB drive.

14. In the root of the USB drive, open the \efi\microsoft\boot directory.

15. Copy the directory contents up one level so the files also reside under \efi\boot.

16. Copy the bootmgfw.efi file from the root directory of the ISO or disc to the \efi\boot directory, and rename it to bootx64.efi.

You’re now ready to use the USB drive as UEFI installation media on your system Just boot to the USB drive and setup will begin, or just insert the USB drive and allow setup to auto run, or open setup from a file explorer window.

Article ID: SLN312153

Last Date Modified: 08/14/2018 05:40 AM

Rate this article

Easy to understand
Was this article helpful?
Yes No
Send us feedback
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.

Thank you for your feedback.