- How to Change Legacy to UEFI in Windows 10/8/7?
- UEFI is the replacement for BIOS
- Is it necessary to reinstall Windows 10/8/7 for UEFI mode?
- How to Change Legacy to UEFI?
- Этапы последовательности задач для управления преобразованием BIOS в UEFI Task sequence steps to manage BIOS to UEFI conversion
- Функция инвентаризации оборудования собирает сведения о UEFI Hardware inventory collects UEFI information
- Создание пользовательской последовательности задач для подготовки жесткого диска Create a custom task sequence to prepare the hard drive
- Подготовка раздела FAT32 для преобразования в UEFI Prepare the FAT32 partition for the conversion to UEFI
- Переход от BIOS к UEFI при обновлении на месте Convert from BIOS to UEFI during in-place upgrade
- Requirements (Требования) Requirements
- Последовательность задач преобразования из BIOS в UEFI при обновлении на месте Process to convert from BIOS to UEFI during an in-place upgrade task sequence
How to Change Legacy to UEFI in Windows 10/8/7?
Learn to change Legacy to UEFI boot mode to get better performance if you are using a new system such as Windows 10, 8, and 7 (doesn’t support Windows Vista).
By AOMEI / Last Updated November 30, 2020
UEFI is the replacement for BIOS
All new hardware nowadays uses the unified extensible firmware interface (UEFI) instead of the traditional BIOS. UEFI is now well on its way to replacing BIOS which by now is an outdated standard, well over 40 years old! At present, most UEFI enabled systems have a Legacy boot mode in order to be compatible with older systems.
If you are using Windows 7 64-bit, Windows 8/8.1, or Windows 10, you can change Legacy to UEFI mode to get better performance and disk support. In Legacy mode, Windows can only boot from master boot record (MBR) disk that has 2TB size limit while UEFI mode works with GUID partition table that allows you to use disks of enormous size.
Is it necessary to reinstall Windows 10/8/7 for UEFI mode?
Normally, you need to reinstall Windows for changing to UEFI mode because you need to wipe the hard drive and then convert to GPT disk.
1. After you convert Legacy BIOS to UEFI boot mode, you can boot your computer from a Windows installation disk.
2. At Windows Setup screen, press Shift + F10 to open a command prompt.
3. Type “diskpart” and use command “convert gpt” to convert the disk from MBR to GPT as the screenshot below.
4. Now, you can go back and install Windows. If you try to install Windows without these steps, you will get the error “Windows cannot be installed to this disk” after you change BIOS to UEFI mode.
Seems complicated right? There’s actually an easier way that involves far less messing around in Command Prompt. You can use specialist third party software AOMEI Partition Assistant Professional Edition to convert from MBR to GPT without deleting partitions or losing data in Windows 10/8/7 and Windows XP/Vista (convert MBR and GPT withou data loss in Server operating systems, the Server edition can satifsy you). This way, you don’t need to spend time installing Windows and all of your programs or typing out a string of command prompt commands.
Note: To avoid data loss caused by improper operation or some accidents like power outage, you can back up vital data beforehand.
To convert to GPT disk with AOMEI Partition Assistant Professional:
2. Right click on the system disk and select Convert to GPT Disk.
3. Click “Apply” to apply the change.
During the process, your computer will reboot into AOMEI Pre-OS mode. When it completes, you can go into the BIOS and switch from Legacy to UEFI mode. You can use the same method to convert GPT to MBR without losing data.
How to Change Legacy to UEFI?
The steps to turn on UEFI mode vary from computer to computer. You can refer to the following to help you configure yours.
1. Typically, you continuously press a specific key when the computer starts up to enter the EFI Setup menu. Normally, it is Del for desktops and F2 for laptops. If you don’t know which key to press, just press Esc. It will give you the full menu, and then you can select BIOS Setup.
2. Normally, you can find the Legacy/UEFI boot mode configuration under the Boot tab. Under the Boot tab you should disable Legacy and enable UEFI.
3. Now, press F10 to save the settings and then exit.
In conclusion, it is recommended that you change Legacy to UEFI boot mode if your operating system (OS) is compatible. As you can see, the entire process doesn’t take much time or effort since as you don’t need to reinstall Windows 10, 8, and 7.
Этапы последовательности задач для управления преобразованием BIOS в UEFI Task sequence steps to manage BIOS to UEFI conversion
Windows 10 предоставляет множество новых функций безопасности, для которых используются устройства с поддержкой UEFI. Windows 10 provides many new security features that require UEFI-enabled devices. Возможно, у вас есть современные устройства под управлением Windows, которые уже поддерживают UEFI, но используют BIOS прежних версий. You might have newer Windows devices that support UEFI, but are using legacy BIOS. Раньше, чтобы реализовать на устройстве поддержку UEFI, приходилось лично подходить к каждому устройству, изменять разбивку жесткого диска и перенастраивать встроенное ПО. Previously, converting a device to UEFI required you to go to each device, repartition the hard disk, and reconfigure the firmware.
С Configuration Manager можно автоматизировать следующие действия. With Configuration Manager you can automate the following actions:
- Подготовка жесткого диска для преобразования из BIOS в UEFI Prepare a hard drive for BIOS to UEFI conversion
- Преобразование из BIOS в UEFI в рамках процесса обновления на месте Convert from BIOS to UEFI as part of the in-place upgrade process
- Получение сведений о UEFI в составе инвентаризации оборудования Collect UEFI information as part of hardware inventory
Функция инвентаризации оборудования собирает сведения о UEFI Hardware inventory collects UEFI information
Доступны класс (SMS_Firmware) и свойство (UEFI) инвентаризации оборудования, помогающие определить, запускается ли компьютер в режиме UEFI. The hardware inventory class (SMS_Firmware) and property (UEFI) are available to help you determine whether a computer starts in UEFI mode. Когда компьютер запускается в режиме UEFI, свойство UEFI принимает значение TRUE. When a computer is started in UEFI mode, the UEFI property is set to TRUE. Инвентаризация оборудования включает этот класс по умолчанию. Hardware inventory enables this class by default. Дополнительные сведения об инвентаризации оборудования см. в разделе Настройка инвентаризации оборудования. For more information about hardware inventory, see How to configure hardware inventory.
Создание пользовательской последовательности задач для подготовки жесткого диска Create a custom task sequence to prepare the hard drive
Последовательность задач развертывания ОС можно настроить с помощью переменной TSUEFIDrive. You can customize an OS deployment task sequence with the TSUEFIDrive variable. Шаг Перезагрузить компьютер подготавливает раздел FAT32 на жестком диске для перехода на UEFI. The Restart Computer step prepares a FAT32 partition on the hard drive for transition to UEFI. Далее приводится пример создания шагов последовательности задач для выполнения этого действия. The following procedure provides an example of how you can create task sequence steps to do this action.
Подготовка раздела FAT32 для преобразования в UEFI Prepare the FAT32 partition for the conversion to UEFI
В существующую последовательность задач для установки ОС добавьте новую группу с шагами для преобразования BIOS в UEFI. In an existing task sequence to install an OS, add a new group with steps to do the BIOS to UEFI conversion.
Создайте новую группу последовательности задач после шагов для сбора файлов и параметров и перед шагами по установке ОС. Create a new task sequence group after the steps to capture files and settings, and before the steps to install the OS. Например, после группы Сбор файлов и параметров создайте группу с именем BIOS-to-UEFI. For example, create a group after the Capture Files and Settings group named BIOS-to-UEFI.
На вкладке Параметры новой группы добавьте новую переменную последовательности задач как условие. On the Options tab of the new group, add a new task sequence variable as a condition. Задайте _SMSTSBootUEFI не равно true. Set _SMSTSBootUEFI not equal true. При таком условии последовательность задач выполняет эти действия только на устройствах BIOS. With this condition, the task sequence only runs these steps on BIOS devices.
В новой группе добавьте шаг последовательности задач Перезагрузить компьютер. Under the new group, add the Restart Computer task sequence step. В разделе Укажите программы, которые необходимо запустить после перезагрузки выберите Выбран загрузочный образ, назначенный этой последовательности задач. In Specify what to run after restart, select The boot image assigned to this task sequence is selected. Это действие перезагрузит компьютер в среде предустановки Windows. This action restarts the computer in Windows PE.
На вкладке Параметры добавьте переменную последовательности задач как условие. On the Options tab, add a task sequence variable as a condition. Задайте _SMSTSInWinPE равно false. Set _SMSTSInWinPE equals false. С этим условием последовательность задач не выполняет этот шаг, если компьютер уже находится в среде предустановки Windows. With this condition, the task sequence doesn’t run this step if the computer is already in Windows PE.
Добавьте шаг для запуска средства OEM, которое преобразует встроенное ПО с BIOS в UEFI. Add a step to start an OEM tool to convert the firmware from BIOS to UEFI. Обычно это шаг Выполнить из командной строки с командой для запуска средства OEM. This step is typically Run Command Line, with the command to run the OEM tool.
Добавьте шаг этапа последовательности задач Отформатировать диск и создать разделы. Add the Format and Partition Disk task sequence step. На этом шаге настройте следующие параметры. In this step, configure the following options:
Создайте раздел FAT32 для преобразования в UEFI перед установкой операционной системы. Create the FAT32 partition to convert to UEFI before the OS is installed. Для параметра Тип диска выберите GPT. For Disk type, choose GPT.
Перейдите к свойствам раздела FAT32. Go to the properties for the FAT32 partition. В поле Переменная введите TSUEFIDrive . In the Variable field, enter TSUEFIDrive . Обнаружив эту переменную, последовательность задач готовит раздел для перехода на UEFI перед перезагрузкой компьютера. When the task sequence detects this variable, it prepares the partition for the UEFI transition before it restarts the computer.
Создайте раздел NTFS, который последовательность задач использует для сохранения своего состояния и хранения файлов журнала. Create an NTFS partition that the task sequence uses to save its state and to store log files.
Добавьте еще один шаг последовательности задач Перезагрузить компьютер. Add another Restart Computer task sequence step. В разделе Укажите программы, которые необходимо запустить после перезагрузки выберите Выбран загрузочный образ, назначенный этой последовательности задач, чтобы запускать компьютер в среде Windows PE. In Specify what to run after restart, select The boot image assigned to this task sequence is selected to start the computer in Windows PE.
По умолчанию размер раздела EFI составляет 500 МБ. By default, the EFI partition size is 500 MB. В некоторых средах загрузочный образ слишком велик для хранения в этом разделе. In some environments, the boot image is too large to store on this partition. Чтобы обойти эту проблему, увеличьте размер раздела EFI. To work around this issue, increase the size of the EFI partition. Например, задайте для него 1 ГБ. For example, set it to 1 GB.
Переход от BIOS к UEFI при обновлении на месте Convert from BIOS to UEFI during in-place upgrade
Windows 10 содержит простое средство преобразования MBR2GPT. Windows 10 includes a simple conversion tool, MBR2GPT. Оно автоматизирует процесс повторного разбиения жесткого диска для оборудования с поддержкой UEFI. It automates the process to repartition the hard disk for UEFI-enabled hardware. Средство преобразования можно интегрировать в процесс обновления на месте до Windows 10. You can integrate the conversion tool into the in-place upgrade process to Windows 10. Объедините это средство с последовательностью задач обновления и средством OEM, которое преобразует встроенное ПО из BIOS в UEFI. Combine this tool with your upgrade task sequence and the OEM tool that converts the firmware from BIOS to UEFI.
Requirements (Требования) Requirements
- Поддерживаемая версия Windows 10 A supported version of Windows 10
- компьютеры с поддержкой UEFI; Computers that support UEFI
- OEM-средство для преобразования встроенного ПО компьютера из BIOS в UEFI. OEM tool that converts the computer’s firmware from BIOS to UEFI
Последовательность задач преобразования из BIOS в UEFI при обновлении на месте Process to convert from BIOS to UEFI during an in-place upgrade task sequence
Откройте последовательность задач для редактирования. Edit the task sequence. В группе Постобработка внесите следующие изменения. In the Post-Processing group, make the following changes:
- Добавьте шаг Выполнить из командной строки. Add the Run Command Line step. Укажите командную строку для инструмента MBR2GPT. Specify the command line for the MBR2GPT tool. При запуске в полной операционной системе настройте его для преобразования диска из MBR в GPT без изменения или удаления данных. When run in the full OS, configure it to covert the disk from MBR to GPT without modifying or deleting data. В командной строке введите следующую команду: MBR2GPT.exe /convert /disk:0 /AllowFullOS In Command line, enter the following command: MBR2GPT.exe /convert /disk:0 /AllowFullOS
Вы также можете запустить средство MBR2GPT.EXE из Windows PE, а не в полной версии ОС. You can also choose to run the MBR2GPT.EXE tool when in Windows PE instead of in the full OS. Добавьте шаг для перезагрузки компьютера в среде предустановки Windows перед выполнением средства MBR2GPT.EXE. Add a step to restart the computer to Windows PE before the step to run the MBR2GPT.EXE tool. Затем удалите параметр /AllowFullOS из командной строки. Then remove the /AllowFullOS option from the command line.
Дополнительные сведения об этом средстве и доступных параметрах см. в описании MBR2GPT. EXE. For more information about the tool and available options, see MBR2GPT.EXE.
Добавьте шаг для запуска средства OEM, которое преобразует встроенное ПО с BIOS в UEFI. Add a step to run the OEM tool that converts the firmware from BIOS to UEFI. Обычно это шаг Выполнить из командной строки с командой для запуска средства OEM. This step is typically Run Command Line, with a command line to run the OEM tool.
Добавьте шаг Перезагрузить компьютер и выберите Операционная система по умолчанию, установленная в данный момент. Add the Restart Computer step, and select The currently installed default operating system.
Выполнить развертывание последовательности задач. Deploy the task sequence.