Windows 10: Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

Discus and support Convert an existing Windows 10 Installation from Legacy BIOS to UEFI in Windows 10 Software and Apps to solve the problem; Convert an existing Windows 10 Installation from Legacy BIOS to UEFI without using 3rd party software.... Discussion in 'Windows 10 Software and Apps' started by Ozlegend, Jan 6, 2023.

  1. Ozlegend Win User

    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI


    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI without using 3rd party software.

    :)
     
    Ozlegend, Jan 6, 2023
    #1

  2. Is there a way to convert my existing installed Windows 10 Legacy bios to UEFI?

    Hi guys, is there a way to convert my OS's Legacy BIOS to UEFI? Reason for this absurdity is I want to dual boot Ubuntu 15 and whenever I disable the EFI setting in my BIOS my usb installer is not detected (obviously). I've searched about it and it leads
    me to this article Converting Windows BIOS installation to UEFI - TechNet Articles - United States (English) - TechNet Wiki I just want to know if there are other steps before I follow the article. Thanks in advance.

    I wanted to use a VM but my rig can't handle such.
     
    bon2x060391, Jan 6, 2023
    #2
  3. Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

    One of the critical system requirements for Windows 11 is a GPT Installation, which must be based on UEFI. This article explains how to convert existing Windows 10 Installation from Legacy MBR partition scheme to UEFI, using Microsoft's MBR2GPT.exe tool without losing any data.

    Convert MBR to GPT without data loss

    Windows has an in-built tool, called MBR2GPT which can help to convert a Legacy Windows 10 Installation(also called MBR), to modern UEFI, based on a GPT partition scheme. There are multiple steps involved in the process and some pre-requisites, discussed below:

    Pre-requisites:

    1. The MBR disk must have at most 3-partitions.
    2. The OS must be 64-bit.
    3. Bitlocker or encryption must be turned off.
    4. There should be an Operating system on the disk.
    5. One of the partitions must be active(confirm that from disk Management).
    6. No dual boot.
    7. Windows 10 version must be at least version 1703.
    How MBR2GPT works.

    MBR2GPT tool works by first validating the disk. An EFI system partition is created if the disk is validated and UEFI boot files are installed. After that, layout and Boot configuration data are updated, matching with the new values.

    Step 1: Boot to the Recovery environment

    To boot to WinRE, from where Windows can trigger the MBR2GPT tool, please see the steps below:

    1. On the Lock screen, press and hold the Shift key while choosing Restart from the Power menu. Continue pressing the shift key until you see the Windows Recovery environment, asking you to select an option.

      Convert an existing Windows 10 Installation from Legacy BIOS to UEFI 73c3f294-0a67-4aa5-bf1c-05fe77dec459?upload=true.jpg

    2. Click Troubleshoot>Advanced options>Command Prompt.
    3. The computer would restart.
    4. Login to your account.
    Step 2: Validate if the MBR2GPT tool can convert your disk

    On the Command Prompt Window, our next step would be to check if the tool can convert the disk to GPT. To do this, execute the following command:

    mbr2gpt.exe /validate

    The output should tell you if the validation is successful. If the disk is validated, conversion is possible.


    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI 145ce64e-49b2-4334-9ce9-81565dcd5c7e?upload=true.jpg


    Step 3: Convert the disk.

    The next step is to convert the disk. For that, use the /convert switch.

    mbr2gpt.exe /convert

    The process would take some minutes and tell you the output.


    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI a7e31a64-491b-4a60-b4bd-a551595adc5a?upload=true.jpg


    Step 4: Change the boot order in firmware Settings

    Now to boot from GPT, the settings in the firmware need to be changed. Boot to the PC's firmware settings, and do the following:

    1. Boot method: UEFI from Legacy.
    2. UEFI-CSM: Disabled.
    3. Secure Boot: ON.
    The boot order would usually show Windows Boot Manager at the top. Save the changes in the BIOS menu.
    The device should now have a UEFI boot method with a GPT disk layout.

    Troubleshooting

    If the MBR2GPT tool is failing to convert your installation, here are some steps you can try.

    1. Make sure the existing MBR disk has only three partitions or less: If the qualifying hard disk has more than three partitions, this tool would not work. To confirm the number of partitions, you can invoke the disk management tool from the Start menu. The three-count includes System partitions as well. If that is the case, decrease partitions using the Disk Management tool by merging and try again.
    2. Run a disk check: If there is corruption on the disk, the tool may fail. To fix this, run a full disk check, preferably from the Recovery environment. See the steps here.
    3. Try running from a USB Installation media: Another option to invoke the MBR2GPT tool from a USB Installation media. After the computer has booted from the Installation media, click Repair your computer>Troubleshoot>Command Prompt.
    4. Return codes: If the conversion failed, the tool would return a code, which would tell you what went wrong. Appendix A table explains the return codes.
    5. Investigate Log files: If nothing has helped, it may be wise to look at the logs to see what went wrong. By default, the MBR2GPT tool creates Setupact.log and Setuperr.log in the C:/Windows directory, which records the process. Setuperr.log contains all the errors encountered during the conversion, which may give a hint. In addition, /logs switch can also redirect logging to a custom path if you need, like for an external drive which helps investigate later. The command for logging to a custom path would be like this(replace D:\Work with your desired path).
      1. mbr2gpt.exe /convert /logsConvert an existing Windows 10 Installation from Legacy BIOS to UEFI :D:\Work
    6. If nothing has helped, perform a clean installation of Windows 10 using the GPT partition scheme. You must back up the data before, as a clean install would remove everything. As the Media Creation tool makes the media according to the existing method, which is likely MBR, use Rufus to create Installation media and choose GPT partition scheme for UEFI. My colleague Shawn has a good tutorial on this on Tenforums.

    Appendix 1:

    [table][tr][td]Return Code[/td][td]Details[/td][/tr][tr][td]0[/td][td]Conversion completed successfully.[/td][/tr][tr][td]1 [/td][td]User canceled.[/td][/tr][tr][td]2[/td][td] Internal error occurred.[/td][/tr][tr][td]3[/td][td] Disk initialization error.[/td][/tr][tr][td]4 [/td][td]Command-Line parameters were incorrect.[/td][/tr][tr]5MBR2GPT could not read the disk layout.[/tr][tr][td]6 [/td][td]One of the volumes was encrypted on the disk.[/td][/tr][tr]7 The disk does not meet the requirements.[/tr][tr][td]8 [/td][td]EFI Partition could not be created.[/td][/tr][tr][td]9[/td][td]Error installing boot files.[/td][/tr][tr][td]10[/td][td]Error while applying GPT layout.[/td][/tr][/table]
    Resources:

    MBR2GPT - Windows Deployment | Microsoft Docs

    Also check:


    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI 37700570-77fa-4b5f-8df2-14ea3b813f6e?upload=true.png
    Sumit (@_sumitdhiman) / Twitter
     
    Sumit (Volunteer Moderator), Jan 6, 2023
    #3
  4. dac81048 Win User

    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

    Problem Regarding Bios Change from UEFI to Legacy

    I have hp pavilion p045tx with windows 10 pro. I recently install Ubuntu with windows 10 so for that I convert my bios setting from UEFI to Legacy mode for install third party software like wireless Driver and all in Ubuntu.
    But after every restart the bios setting change to default and that is to UEFI mode and that will cause an problem of no OS detect. Every time I have to go to bios setting and enable the legacy mode to start my OS. Can anyone suggest me what to do in this
    case.
     
    dac81048, Jan 6, 2023
    #4
Thema:

Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

Loading...
  1. Convert an existing Windows 10 Installation from Legacy BIOS to UEFI - Similar Threads - Convert existing Installation

  2. Convert Legacy BIOS to UEFI

    in Windows 10 Gaming
    Convert Legacy BIOS to UEFI: I'm trying to follow the Microsoft article "Convert an existing Windows 10 Installation from Legacy Bios to UEFI".The first step is to boot to WinRE. When I click Troubleshoot>Advanced options I don't have an option for "Command Prompt". My only option is "Startup Settings".I...
  3. Convert Legacy BIOS to UEFI

    in Windows 10 Software and Apps
    Convert Legacy BIOS to UEFI: I'm trying to follow the Microsoft article "Convert an existing Windows 10 Installation from Legacy Bios to UEFI".The first step is to boot to WinRE. When I click Troubleshoot>Advanced options I don't have an option for "Command Prompt". My only option is "Startup Settings".I...
  4. Convert Legacy BIOS to UEFI

    in Windows 10 Installation and Upgrade
    Convert Legacy BIOS to UEFI: I'm trying to follow the Microsoft article "Convert an existing Windows 10 Installation from Legacy Bios to UEFI".The first step is to boot to WinRE. When I click Troubleshoot>Advanced options I don't have an option for "Command Prompt". My only option is "Startup Settings".I...
  5. Convert Windows 10 Legacy BIOS to UEFI

    in Windows 10 Software and Apps
    Convert Windows 10 Legacy BIOS to UEFI: MBR2GPT will not run because there are too many partitions on my HDD C:. How would I reduce the number of partitions or if I clone the drive to a new drive does it just move data or does the cloning also move the partitions?...
  6. Convert Windows 10 Legacy BIOS to UEFI

    in Windows 10 Installation and Upgrade
    Convert Windows 10 Legacy BIOS to UEFI: MBR2GPT will not run because there are too many partitions on my HDD C:. How would I reduce the number of partitions or if I clone the drive to a new drive does it just move data or does the cloning also move the partitions?...
  7. Convert Windows 10 Legacy BIOS to UEFI

    in Windows 10 Gaming
    Convert Windows 10 Legacy BIOS to UEFI: MBR2GPT will not run because there are too many partitions on my HDD C:. How would I reduce the number of partitions or if I clone the drive to a new drive does it just move data or does the cloning also move the partitions?...
  8. Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

    in Windows 10 Gaming
    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI: Convert an existing Windows 10 Installation from Legacy BIOS to UEFI without using 3rd party software. https://answers.microsoft.com/en-us/windows/forum/all/convert-an-existing-windows-10-installation-from/d58e3a80-2d7b-46d5-af56-1fc7958ac53c
  9. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Installation and Upgrade
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...
  10. Convert legacy bios to uefi on old fashioned install

    in Windows 10 Support
    Convert legacy bios to uefi on old fashioned install: I know to convert legacy bios to uefi using mbr2gpt IF the legacy bios has a separate system partition but it does not work for old fashioned legacy bios installs where there is not a separate partition. I also know how to do it the older way with Macrium Reflect i.e. image...