Program for bootable flash drive windows 7 uefi. UEFi bootable flash drive. An unpleasant feature of the uefi firmware

In order for a UEFI system to boot from a USB flash drive, it must be formatted in the FAT32 file system. The official Microsoft utility for creating bootable flash drives, windows 7 USB/DVD download tool, formats the drive in the NTFS file system; accordingly, a system with UEFI in native mode will not boot from such media.

Let's try to prepare a USB flash drive ourselves and load the Windows 7 distribution onto it. What we need:

  • USB (v2 or v3) flash drive with a capacity of at least 4 GB
  • 64-bit Windows 7 distribution (32-bit versions of Microsoft OS will not boot on a UEFI system). The distribution can be in the form of an installation DVD or an ISO file with an image

The procedure for creating an installation USB flash drive with windows7 for a UEFI system:

After completing all the described manipulations, you will have a USB flash drive in your hands, from which you can install Windows 7 on a UEFI system in native mode. We will look at the process of installing Windows 7 on a system with UEFI in more detail and all the pitfalls in the next article.

winitpro.ru

How to make a bootable Windows USB flash drive or UEFI disk

On computers that have a new UEFI interface instead of the usual BIOS, it is advisable to install Windows in EFI mode to improve the performance of the operating system. To install windows in EFI mode, you will need an image of the 64-bit operating system windows 7 SP1 or later. In this case, the system disk on which Windows will be installed in EFI mode must be partitioned not in the usual MBR form, but converted to GPT format. This is done in the 64-bit version of Windows using the Diskpart utility.

Option 1. Create a USB flash drive to install windows in EFI mode.

1) Create a bootable USB drive (flash drive) to install Windows 7.

The bootable USB flash drive must be formatted with the FAT32 file system in order to be recognized as a UEFI boot device. The USB flash drive must be at least 4 GB in size. To create a Windows 7 flash drive in EFI mode, you cannot use the Microsoft program - windows 7 USB/DVD Download Tool. This utility formats the installation flash drive in NTFS and UEFI does not recognize it.

We connect the USB flash drive to the USB port. - In the Start menu, enter cmd.exe in the search bar, and right-click on the found object. In the context menu that opens, select Run as administrator. - Enter the commands one by one. After entering each of them, press the Enter key ↵.

here - # is the number of the USB drive obtained in the previous command. Next commands will completely clear everything on the selected disk.

clean create partition primary select partition 1 active format fs=FAT32 assign exit

We unpack the installation disk image (ISO file) and copy all the data from it completely to the flash drive.

Note: To create a boot disk, you can use the UltraISO program, which immediately creates an installation flash disk formatted in the FAT32 file system.

2) On the flash drive, open the folder *:\efi (here * is the letter of the flash drive with the Windows 7 installation files). 3) Create a new one inside this folder named boot. (*:\efi\boot). 4) Copy all the contents of the *:\efi\microsoft\boot folder to the *:\efi\boot folder. 5) Using an archiver (for example, 7-zip) open the file *:\sources\boot.wim or *:\sources\install.wim. 6) Go to the folder *:\sources\boot.wim\1\windows\Boot\EFI\ in the archive. 7) Copy the file bootmgfw.efi from the archive to the flash drive, to the folder *:\efi\boot you created. 8) Now you need to rename the copied file bootmgfw.efi (*:\efi\boot\bootmgfw.efi) to bootx64.efi (*:\efi\boot\bootx64.efi)

Ready! Now the *:\efi\boot\ folder should contain all the contents copied from the *:\efi\microsoft\boot folder and the bootx64.efi file obtained from boot.wim or install.wim. Note: For some motherboards, you will additionally need to copy the bootx64.efi file to the root of the flash drive, either with the same file name or with the name shellx64.efi.

Option 2. Create a DVD for installing windows in EFI mode.

1) Download the archive with the Microsoft CD/DVD Premastering Utility program and unpack it to any folder. 2) Copy the oscdimg.exe file to the C:\windows\System32 folder. 3) Unpack the installation disk image (ISO file) into a temporary folder. 4) In the Start menu, enter cmd.exe in the search bar, and right-click on the found object. In the context menu that opens, select Run as administrator. 5) Enter the command to create an ISO image file of the installation disk:

oscdimg -lWin_7_x64_UEFI -m -o -u1 -pEF -e -bD:\Win_7_x64\efi\microsoft\boot\efisys.bin D:\Win_7_x64 D:\Win_7_x64_UEFI.iso

where the following parameters are used: -l - Sets the volume label. Don't use spaces. -m - Ignores the maximum image size limit. -o - Optimizes storage using the MD5 hashing algorithm for file comparison. -u1 - Creates an image that has both a UDF file system and an ISO 9660 file system. The ISO 9660 file system is written using DOS-compatible 8.3 file names. The UDF file system is written using Unicode file names. -p - Specifies a value for the platform ID in the El Torito directory. The EF identifier is used to represent a UEFI system. Don't use spaces. -e - Disables floppy emulation in the El Torito directory. -b - Specifies the El Torito boot sector file to be written to the boot sector or sectors of the disk. Don't use spaces. D:\Win_7_x64 – Specifies the location of the source files. D:\Win_7_x64_UEFI.iso – Specifies the path to the ISO file to be created.

6) Press the Enter key ↵. 7) Write the created image to a disc using the UltraISO utility.

Features of installing windows in EFI mode.

If you have overclocked any of your components, it is better to restore the settings to standard values. - In UEFI/BIOS you need to set the AHCI value for SATA mode and enable ACPI 2.0 if disabled. - If booting from the device does not occur, then in UEFI/BIOS install the flash drive first in the boot queue. - If you have both USB 3.0 and USB 2.0 ports, then for successful installation it is recommended to connect a flash drive to the USB 3.0 port. USB 2.0 flash drives can also be connected to a USB 3.0 port. Copy the drivers for the USB 3.0 port to your flash drive.

1) Connect the flash drive to the USB connector and restart the computer. 2) When the computer boots, press the key to call up the Boot Menu. Depending on the motherboard manufacturer, this is F8, F11 or F12. 3) In the list of devices, select “UEFI:[name of your device]“.

When installing on a blank, unpartitioned disk, go straight to step seven. When installing on a disk with existing partitions and using the old MBR rather than GPT, do the following:

4) After loading into the windows installation screen, press the combination ⇑ Shift + F10.

5) Enter the commands one by one, pressing the Enter ↵ key after entering each of them.

diskpart list disk select disk #

Here # is the number of the hard drive on which windows will be installed. It will be the result of the previous command. Next, enter the commands to completely clean the entire selected disk:

clean convert GPT exit

6) Close the command window and continue installing windows. 7) Download the drivers for the USB 3.0 port if you connected a flash drive to it. 8) In the window for selecting a disk for installing Windows, select the Unallocated disk space item and click the Create button. After this, 3 partitions will be automatically created (EFI system partition (ESP), Microsoft backup partition (MSR) and the main windows partition.) 9) Select the main partition and continue installing windows in EFI mode, like a normal installation.

Note: If the installation is successful and the system does not boot, then in UEFI/BIOS install “windows Boot Manager” first in the boot queue.

set-os.ru

How to create a bootable UEFI USB flash drive

Good day.

On new computers and laptops, many users are faced with the impossibility of booting from an installation flash drive with Windows 7, 8. The reason for this is simple - the advent of UEFI.

UEFI is a new interface designed to replace the outdated BIOS (and incidentally protect the OS from malicious boot viruses). To boot from the “old installation” flash drive, you need to go into the BIOS: then switch UEFI to Legacy and turn off Security Boot mode. In this same article I want to consider the issue of creating a “new” bootable UEFI flash drive...

Step-by-step creation of a bootable UEFI flash drive

What do you need:

  1. directly the flash drive itself (minimum 4 GB);
  2. ISO installation image with Windows 7 or 8 OS (the image needs to be original and 64 bits);
  3. free Rufus utility (Official website: http://rufus.akeo.ie/ If anything, Rufus is one of the simplest, most convenient and fastest programs for creating any bootable flash drives);
  4. if the Rufus utility does not suit you in some way, I recommend WinSetupFromUSB (Official website: http://www.winsetupfromusb.com/downloads/)

Let's consider creating a UEFI flash drive in both programs.

1) After downloading Rufus, just run it (no installation required). An important point: you need to run Rufus as an administrator. To do this, in Explorer, simply right-click on the executable file and select this option from the context menu.


Rice. 1. Run Rufus as administrator

  1. device: specify the flash drive you want to make bootable;
  2. partition scheme and system interface type: here you need to select “GPT for computers with a UEFI interface”;
  3. file system: select FAT32 (NTFS is not supported!);
  4. then select the ISO image you want to burn to the USB flash drive (remember, if it’s Windows 7/8 at 64 bits);
  5. Check three boxes: quick format, create a boot disk, create an extended label and icon.

After making the settings, click the “Start” button and wait until all the files are copied to the flash drive (on average, the operation lasts 5-10 minutes).

Important! All files on the flash drive will be deleted during such an operation! Don't forget to save all important documents from it in advance.

Rice. 2. Setting up Rufus

1) First, run the WinSetupFromUSB utility with administrator rights.

2) Then set the following settings (see Fig. 3):

  1. select the flash drive on which you will burn the ISO image;
  2. check the box "Auto format it with FBinst", then check a few more boxes with the following settings: FAT32, align, Copy BPB;
  3. windows Vista, 7, 8...: specify the installation ISO image with windows (64 bits);
  4. and lastly, press the GO button.

Rice. 3.WinSetupFromUSB 1.5

Then the program will warn you that all data on the flash drive will be deleted and will ask you to agree again.

Rice. 4. Continue deleting..?

After a few minutes (if there are no problems with the flash drive or ISO image), you will see a window with a message about the completion of the work (see Fig. 5).

Rice. 5. The flash drive is written / work is done

By the way, WinSetupFromUSB sometimes behaves “strangely”: it seems that it is frozen, because... there are no changes at the bottom of the window (where the information bar is located). It actually works - don't close it! On average, the time to create a bootable flash drive is 5-10 minutes. It is better not to run other programs at all while WinSetupFromUSB is running, especially various types of games, video editors, etc.

That’s all, actually, the flash drive is ready and you can proceed to the next operation: installing windows (with UEFI support), but this is the topic of the next post...

Social buttons:

pcpro100.info

Creating a bootable UEFI USB flash drive for Windows

Almost all modern computers and laptops do not come with the old BIOS system, but with the new one - UEFI. Unlike its predecessor, it is more “smart” and intellectual. It is very easy to determine what you are using. Firstly, if your computer came with Windows 8 or 8.1 pre-installed and when you turn it on, the operating system starts immediately, rather than the usual BIOS polling of controllers and a system test - this is UEFI. The same is true if an SSD drive is installed and the Windows 8 or 8.1 operating system is used. Although it is worth noting that the presence of this new product does not deny the possibility of installing older systems both in normal mode and in compatibility mode - legacy. In this post, I will talk about three simple ways to create a bootable UEFI USB flash drive to install Windows 7 or Windows 8 on a computer or laptop.

The first and easiest way is to copy the installation files

For now, this can only be done with Windows 8.1, with Windows 10, which has not yet been officially released, and on the latest versions of Ubuntu and ArchLinux. The procedure is as follows: Download the operating system distribution in ISO format.

Unpack it to any folder on the disk using an archiver. 7zip works great with ISO images:

We format the flash drive to the FAT32 file system. To do this, go to “My Computer”, right-click on the USB drive:

Select the file system and click on the “Start” button. After that, it goes to the folder with the unpacked Windows image and simply copy everything that was unpacked directly to the flash drive:

The trick is that installers of new operating systems are already optimized for UEFI. All that remains is to boot from it and check its functionality.

Method two - using the Diskpart utility

This option is used to install Windows 7 on a computer or laptop with UEFI. The first step is to launch the Windows command line. To do this, press the Win+R key combination and in the “Run” window that opens, enter the command: “cmd”:

Click the OK button. Now launches a utility utility for working with partitions on the command line:

A list of disks available in the system with numbers will open: select disk《Disk_number》 I think it is clear that at this step you need to indicate the number of the USB drive obtained from the list. For example, select disk 2, as in my case. Let's clean it completely:

Create a section:

create partition primary

Select it:

select partition 1

Making the section active:

Format to FAT32:

We assign it a letter automatically:

But that is not all. On the USB flash drive, find the efi\microsoft\boot folder and copy it all to the efi folder. As a result, the efi\boot directory should appear. Now you need to find the file: bootmgfw.efi. To do this, you need to unpack the sources\boot.wim archive with a 7zip or WinRar archiver. The file you are looking for will be located in the sources\boot.wim\1\windows\Boot\EFI\ folder.

Copy the bootmgfw.efi file to the efi\boot folder, and then rename it bootx64.efi. Ready. We made a bootable UEFI USB flash drive with Windows 7.

Method three - using special programs

Some programs for creating bootable flash drives can do this for UEFI. One of these is the free Rufus utility. Install and run the program:

Set the partition scheme and system interface type: - “GPT for computers with a UEFI interface” if you are using a GPT partition. - “MBR for computers with UEFI interface” if using compatibility mode (Legacy mode) and the MBR partition table. Next, we set the file system to FAT32, feed the program the operating system image and start the process of writing installation files to the USB drive by pressing the “Start” button.

After about 10 minutes you will have a ready-made installation flash drive.

Instead of the BIOS that is familiar to many at the moment, new motherboards for desktop computers and laptops are increasingly equipped with modern UEFI. Installing Windows 7 on such hardware is undergoing a number of changes. This factory software, unfortunately, is being implemented rather slowly and is currently not ready to replace the BIOS on the vast majority of boards, which entails a number of incompatibilities and problems with loading in the new mode. Most often, questions arise from people who want to install Windows 7 instead of the eighth version of the system that comes with the laptop they just purchased.

Is it worth switching to UEFI?

The main reason for switching from BIOS to UEFI was the lack of functionality, which is no longer enough for professional work computers that contain voluminous documents and require maximum performance of all components. It is worth noting that when loading the drive in UEFI BIOS mode, installing Windows 7 by default will not be possible on old MBR partitions. But there are two options for solving the problem.

The first is to copy all important data to an external or optional internal drive. The second is more labor-intensive and will require converting partitions using bootable flash drives or disks with utilities like Paragon, but will allow you to save all existing data, with the exception of the local disk with the system itself. In order to draw a conclusion about the advisability of installing a system under UEFI on your PC, you need to understand what advantages the new type of pre-installed software has in comparison with the previous one.

Old but effective BIOS

You can start your consideration with the Basic Input-Output System - BIOS, since this will be a logical sequence regarding the release time. The functions for which it is responsible are generally clear from the name. Basic software didn't appear overnight. As computer components developed, the BIOS itself progressed accordingly, thanks to which today people can use its wide functionality. Of course, core software alone could not meet all hardware needs. For this reason, programs and drivers were developed in parallel, configured directly in the operating system itself. However, the BIOS is responsible for such operations as initial hardware identification and determining the device from which to boot. It is very obvious that UEFI has similar functionality, installation of Windows 7 and its correct operation on which will necessarily require the options described above.

Multifunctional UEFI

What is UEFI? If we decipher the abbreviation and translate it into Russian, the innovation is called Extensible Embedded Software Interface. The development of the system was started by Intel back in 2001 and was highly specialized in server equipment. UEFI was created due to the inoperability of Itanium processors with old firmware, since the kernel of the server computer needed significantly expanded functionality. Ordinary users saw the new product only in 2006 on board computers developed by Apple. Later, the innovation began to appear in the products of other companies, as indicated by the first word Unifed in the abbreviation. Among them there is both Microsoft, with its contribution to UEFI, under which the installation of Windows 7 was optimized by the company, and other software and hardware developers.

Advantages of UEFI when installing systems from Microsoft

Thanks to the innovations, it is now possible to install Windows 7 on huge hard drives. GPT UEFI BIOS supports by default, and the system will be located under such a partition table. It is worth clarifying that the words “huge size” mean drives with a capacity of more than 2Tb. The old system only supported hard drives whose space did not exceed this mark. This is explained by the fact that the BIOS used the MBR partitioning to work with the drive, which contained the size of each record of 32 bits. From the calculations, a figure of 4 billion sectors is derived, which is exactly 2Tb. Even now, such a volume may seem excessive to some, but many 3D designers, not to mention employees using server equipment, have long needed such capacity. Thanks to UEFI BIOS, installing Windows 7, 8 and 10 can now be done on hard drives with a sky-high capacity of up to 8 billion TB.

Compatible with various equipment

Modern motherboards are equipped with software that supports both old hardware with MBR and new hardware with GPT partitioning. Now the user can choose the option that is most suitable for his computer. This is made possible thanks to UEFI dualbios support. Installation of Windows 7, 8 and 10 on such equipment will be available in two modes simultaneously, the choice of one of which is made by the user directly when booting from the drive.

Visual interface

Some developers not only introduced changes to the code, but also completely redesigned the interface, allowing for faster user interaction. Also another advantage was the ability to control UEFI elements using a computer mouse. This makes installing Windows 7 even more convenient and easier. You only need to get used to the new visual style once, and the desire to return to computers running BIOS completely disappears. Also, in the future, developers promise to create additional utilities for UEFI, to the point that applications will be released that provide access to the Internet without Partially this task has already been completed, since the pre-installed software is updated via the network protocol.

Additional protection for Windows

Another important point is the so-called secure installation of Windows 7. GPT UEFI is a new standard that will enhance protection on the Microsoft operating system. The utility can significantly reduce the chances of information loss and leakage. This option is enabled by default in the software, but can be easily deactivated in the settings if desired by the user.

UEFI Speed ​​and Orientation

Thanks to the redesigned basis, UEFI can significantly speed up Windows boot times. It has become much easier to navigate the new interface thanks to bright and visually understandable content. Each category has an icon similar to those found in the operating system itself. There was also a utility section that had not been used until now. There are applications that allow you to view additional properties of your computer, such as installed hardware, temperature of elements, and much more. Of course, the specific set of utilities depends on the manufacturer and type of motherboard.

Transition from MBR to GPT

When switching from a system installed under BIOS to MBR disk partitioning, you should immediately think about saving important information. If this is not required, you can proceed directly to the installation. But in the case when there is data valuable to the user on the computer, it will be necessary to archive it or repartition the disk using specialized software.

Preparing USB with Windows 7 for installation on UEFI

Having studied the basics of working with the new software and deciding whether it is advisable to work under it on the current equipment, you need to start preparing for the process. Installing Windows 7 via UEFI will require certain skills in writing the system distribution itself. Users accustomed to using flash drives will need to be equipped with the latest version of Microsoft windows and one of the programs for burning the distribution to USB. As an example, one such program called Rufus will be presented.

After downloading the latest version of the application, you will need to select a flash drive with a minimum capacity of 4Gb. You must run Rufus as an administrator with “UAC” access rights confirmation. Going to the “Device” section, you will need to click on your flash drive to subsequently write the distribution kit to it. If you want to install the system with MBR or GPT disk partitioning, you must check the appropriate box. It is recommended to leave the default file system FAT32. At the next stage, you will need to select the ISO image of the system that was previously downloaded or purchased in a boxed edition and click the “Start” button. After the process is completed, the bootable USB flash drive for UEFI will be completely ready.

Booting from a drive in UEFI mode on various hardware

Of course, first you need to boot correctly, since this is strictly required by the UEFI installation of Windows 7. Gigabyte develops motherboards with Dual UEFI BIOS. On such equipment, before starting the process, you will need to go to the settings using the F9 key and select the appropriate operating mode. Similar steps can be performed on most motherboards from other manufacturers.

Fast boot in UEFI mode is also often used. To do this, you will need to call up the boot device menu and select a flash drive with the tag of the required mode assigned (Lagacy does not have it).

If the user does not use the new BIOS, the desktop computer has the ability to completely deactivate it. It is worth noting that Lagacy Boot cannot be disabled in the settings, even when UEFI is being produced. Acer is one of the developers who has completely removed the ability to deactivate any of the modes on their laptops, resulting in the need to use only fast boot to select.

It is very interesting that at first the new built-in security tools and partly GPT markup, when installed in the mode described above, blocked pirated cracks for the Microsoft operating system. Nevertheless, the hackers were quickly able to make corrections to their Windows 7 activator, the UEFI mode in which was already fully taken into account.

Having loaded with the method required by the user, further steps to install the system do not change.

The only thing worth noting is that when partitioning a disk, windows will now create a slightly larger number of additional partitions.

Good day everyone!

When purchasing a new laptop (computer), more and more users are faced with various errors when installing (updating) Windows OS (for example, the popular error “Windows cannot be installed on this disk...” or the device does not see the bootable USB flash drive at all) .

This happens due to the fact that in new computers the “old” classic BIOS changes to UEFI . And, of course, creating bootable media for UEFI requires a slightly different approach (that’s why you can’t install Windows from flash drives created using the “old” technology).

And so, let's deal with all this in order...

Creating a bootable USB flash drive for UEFI (GPT)

I would like to start the article with one of the most popular questions: "How do I know if my computer has UEFI or BIOS, what is the difference between them...".

In general, if we discard some terms that are unnecessary to most, then UEFI is, in fact, an improved BIOS (you can also enter it using a special button (most often F2 or Del), it also has all the same settings as in the BIOS) .

You will see a clear difference immediately - UEFI has a more modern graphical interface with mouse support, there is no blue screen (look at the screenshot below, I think the difference is visible to the naked eye). In addition, just read the top line on the screen: “UEFI BIOS Utility” - speaks for itself...

In terms of fundamental differences between UEFI and BIOS, which are worth paying attention to:

  1. UEFI allows you to boot from disks larger than 2 TB. The fact is that BIOS uses MBR(Master Boot Record) and UEFI uses GPT- this is another standard for placing partitions on a hard drive (allows you to use disks of tens and hundreds of TB!). Because of this difference, installation errors often occur, because... You need to prepare bootable media differently!
  2. As a rule, a computer with UEFI boots faster than with BIOS (due to parallel initialization of devices);
  3. UEFI is more advanced in terms of security (for example, you can use cryptography);
  4. in UEFI you can work with the mouse, a modern graphical interface is used (it is much more convenient to configure).

Find out GPT or MBR

By the way, to see what standard you are using: GPT or MBR, just go to and open at the bottom of the window properties specific disk (not partition!). See example below.

In the "Volumes" tab, the "Partition Style" will be indicated:

  • or “Table with GUID” (as in the example below) is GPT;
  • or MBR...

By the way, right there in "Disk Management" you can convert one standard to another (for example, GPT to MBR). To do this without losing data, it is recommended to use special. utilities: Minitool Partition Wizard, Acronis Disk Director, Aomei Partition Assistant.

I talked about them in this article:

Now let's move on to creating a bootable USB flash drive.

We will need:

  • Rufus utility - (one of the best for preparing installation media);
  • bootable ISO image from Windows: I recommend choosing an official ISO image from one edition of the system, and no more than 4 GB (for example, “Windows 10 Pro x64”; I recommend not using options such as “Windows 10 5 in 1 x32+x64”, etc., as various problems often arise with them!). You might find this article useful on how to download an ISO image from Windows 10 [officially and legally] -
  • flash drive 4-8 GB (preferably at least 8 GB, because not always and not every image can be placed on a 4 GB flash drive).

Actions in order:

1) The first thing you need to do is insert the flash drive into the USB port and copy everything important that is on it from it (in the process of further work, everything will be deleted from it!).

2) Utility Rufus need to run from administrator name (if anyone doesn’t know, just log in as an administrator in Windows, right-click on the program’s executable file and select this function in the pop-up context menu).

Rufus 2.1 settings for burning installation media

Updated 01/24/2019. The Rufus utility changed its design slightly when updated to version 3. Just in case (to avoid confusion), I will add a screenshot of the window of a newer version.

Rufus 3.4 - creating a flash drive for UEFI (GPT)

4) Rufus, by the way, will warn you that during recording all data on the flash drive will be deleted, and will ask you to confirm the operation. If you copied everything you need from the flash drive in advance, click “OK”.

5) After 5-10 minutes* (time depends on the operation of the USB, flash drive, selected ISO image) - the flash drive will be ready and you can start installing Windows.

One example of installing Windows 10 from such media is

All the best! ✌

On computers that support the UEFI interface, to improve the performance of the operating system, it is recommended to install Windows in EFI mode.
To install Windows in EFI mode, you will need an image of the 64-bit operating system Windows 7 SP1 or later.
The system disk on which Windows will be installed in EFI mode must be partitioned in the 64-bit version of Windows using the Diskpart utility (not Acronis!!!) and converted to GPT format.

Option 1: Create a USB flash drive to install Windows in EFI mode.

1) Create a standard flash drive (USB flash drive) for installing Windows 7.

Your bootable flash drive must be formatted with a file system FAT32 to be recognized as a UEFI boot device.
To create a Windows 7 flash drive in EFI mode do not use Microsoft utility - Windows 7 USB/DVD Download Tool. This utility formats the installation flash drive into NTFS.

1.1) Connect a USB flash drive (flash drive) of at least 4 GB to the USB port.
1.2) In the Start menu search bar, enter cmd.exe
1.3) Enter the commands one by one, pressing the Enter key ↵ after entering each of them.

clean create partition primary select partition 1 active format fs=FAT32 assign exit

1.4) Unpack the ISO image file of the installation disk into a temporary folder and copy all its contents to the flash drive you created.

To create a boot disk, you can also use the UltraISO program.
This program immediately creates an installation flash drive formatted in the file system FAT32.
You can read the instructions in the third version of the advice Installation: 5. Installing Windows 7 from a USB flash drive (flash drive).

2) Open the folder on your installation flash drive *:efi(* - the letter of your flash drive with Windows 7 installation files).
3) Create a new folder inside this folder with the name boot. (*:efioot).
4) Copy the entire contents of the folder *:efimicrosoftoot to the folder you created *:efioot .
5) Using the 7-zip archiver, open the file *:sourcesoot.wim or *:sourcesinstall.wim .
6) Go to the folder in the archive *:sourcesoot.wim1WindowsBootEFI .
7) Copy the file from this folder in the archive bootmgfw.efi to the folder you created *:efioot on a flash drive.
8) Rename the copied file bootmgfw.efi(*:efiootootmgfw.efi) in bootx64.efi(*:efiootootx64.efi)

Now in the folder you created *:efioot there should be all the contents copied from the folder *:efimicrosoftoot and file bootx64.efi derived from boot.wim or install.wim.
For some motherboards, you additionally need to copy the file bootx64.efi to the root of the flash drive either with an identical file name or with the name shellx64.efi.

Option 2: Create a DVD to install Windows in EFI mode.

1) Download the archive with the Microsoft CD/DVD Premastering Utility program and unpack it to any folder.
2) Copy the file oscdimg.exe to a folder C:WindowsSystem32.
3) Unpack the ISO image file of the installation disk into a temporary folder. (For example, in the folder D:Win_7_x64)
4) In the Start menu search bar, type cmd.exe, right-click on the one found and click Run as administrator
5) Enter the command below to create an ISO image file of the installation disk and press the Enter key ↵ .

oscdimg -lWin_7_x64_UEFI -m -o -u1 -pEF -e -bD:Win_7_x64efimicrosoftootefisys.bin D:Win_7_x64 D:Win_7_x64_UEFI.iso

-l- Specifies the volume label. Don't use spaces.
-m- Ignores the maximum image size limitation.
-o- Optimizes storage using MD5 hashing algorithm for file comparison.
-u1- Creates an image that has both a UDF file system and an ISO 9660 file system. The ISO 9660 file system is written using DOS-compatible 8.3 file names. The UDF file system is written using Unicode file names.
-p- Specifies the value for the platform ID in the El Torito directory. The EF identifier is used to represent a UEFI system. Don't use spaces.
-e- Disables floppy emulation in the El Torito directory.
-b- Specifies the El Torito boot sector file to be written to the boot sector or sectors of the disk. Don't use spaces.
D:Win_7_x64- Specifies the location of the source files.
D:Win_7_x64_UEFI.iso- Specifies the path to the ISO file to be created.

Features of installing Windows in EFI mode.

If you have overclocked any hardware, please restore the settings to default values.
- In UEFI/BIOS, set to AHCI for SATA mode and turn on ACPI 2.0, if disabled.
- If booting from the device does not occur, then in UEFI/BIOS, install your flash drive first in the boot queue.
- If you have both USB 3.0 and USB 2.0 ports, then for successful installation it is recommended to connect a flash drive to the USB 3.0 port.
(USB 2.0 flash drives can be successfully connected to a USB 3.0 port.) Copy the USB 3.0 port drivers folder to your flash drive.

1) Connect the flash drive and restart your computer.
2) Press the call key when booting Boot Menu. (Depending on motherboard manufacturer F8, F11 or F12)
3) Select from the list " UEFI:[name of your device]".

When installing on a blank, unpartitioned disk, proceed to step seven.
When installing on a disk that already has some partitions and uses MBR instead of GPT, continue from the next point.
4) Once loaded into the Windows installation screen, press ⇑ Shift + F10 .
5) Enter the commands one by one, pressing the Enter key ↵ after entering each of them.

diskpart list disk select disk #

where # is the number of your USB drive obtained in the previous command.
The following commands will completely wipe all content on the selected drive.

clean convert GPT exit

6) Close the command window and continue installing Windows.
7) Specify the drivers for the USB 3.0 port if you connected a flash drive to it instead of a USB 2.0 port.
8) In the window for selecting a disk for installing Windows, select Unallocated disk space and press the button Create You will automatically have 3 partitions created (EFI System Partition (ESP), Microsoft Backup Partition (MSR) and Windows Primary Partition.)
9) Select the primary partition and continue installing Windows in EFI mode like a normal installation.

Note: If the installation was completed successfully and the system does not boot, then in the UEFI/BIOS set " Windows Boot Manager"first in the download queue.