Windows 10: Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

Discus and support Convert Windows 10 from Legacy BIOS to UEFI without Data Loss in Windows 10 Tutorials to solve the problem; The first step to determine the availability of the recovery partition is to open a command prompt (admin) and run: reagentc /info What results... Discussion in 'Windows 10 Tutorials' started by simrick, Apr 10, 2017.

  1. NavyLCDR New Member

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss


    The first step to determine the availability of the recovery partition is to open a command prompt (admin) and run:

    reagentc /info

    What results do you get?
     
    NavyLCDR, Apr 11, 2017
    #16
  2. gdc88 Win User

    Microsoft Windows [Version 10.0.15063](c) 2017 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>reagentc /infoWindows Recovery Environment (Windows RE) and system reset configurationInformation: Windows RE status: Disabled Windows RE location: Boot Configuration Data (BCD) identifier: ec7abcc6-1717-11e7-90bf-99e71e99d157 Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0REAGENTC.EXE: Operation Successful.

     
    gdc88, Apr 11, 2017
    #17
  3. gdc88 Win User
    ok, found the solution:

    Create A New Recovery Partition

    Note: here we take Windows 8 for example.
    Step 1: Download your Windows ISO directly from Microsoft, which will require your product key to install. (Note: In many cases, this is included with your Windows computer.)
    Step 2: Use Microsoft’s tool to create installation media for Windows.
    Step 3: Look for the Sources folder, where you’ll find install.esd. This is the recovery partition, basically, but in its current state it is useless. To make it work for you, you have to first move it from the ISO or DVD to a location on your hard disk. Next, you need to convert it from install.esd to install.wim via some converters like WimConverter tool, and then copy the install.wim file to a new folder on your C:\ drive, labeled C:\Win81-Recovery. The next stage is to register the file so that Windows knows it is there and can create a recovery drive.
    Step 4: Right-click the Windows Start screen button and select Command Prompt (Admin) on the desktop. Next, in the command line, enter:
    REAGENTC /SetOSImage /Path C:\Win81-Recovery\INSTALL.WIM /Index 1
    Tip: This will register the INSTALL.WIM file as your PC’s recovery image.


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    Step 5: Type: REAGENTC /Info.
    Step 6: Type: exit.

    source:
    https://www.partitionwizard.com/part...partition.html

     
    gdc88, Apr 11, 2017
    #18
  4. NavyLCDR New Member

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    You already have a recovery partition. You can try:

    reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\WindowsRE

    You want to use setreimage, not setosimage to set up the recovery environment

    You can make sure the recovery partition is partition 3 by running:

    diskpart
    select disk 0
    list part
    exit
    exit
     
    NavyLCDR, Apr 11, 2017
    #19
  5. Anibor Win User
    I tried the conversion, got the error "Disk layout validation failed".


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    The computer has only one disk with two system partitions, a SRP boot partition and the Windows partition. Also an extended partition with two data partitions.
     
    Anibor, Apr 11, 2017
    #20
  6. Brink
    Brink New Member
    @gdc88, were you able to convert to UEFI afterwards?
     
    Brink, Apr 11, 2017
    #21
  7. cereberus Win User
    I got this error initially. When I looked in the logs (used /logs switch) it turned out it was complaining it did not have enough space to write the new EFI partition. I shrunk the C drive by a few Gigs (overkill) and then it worked.
     
    cereberus, Apr 11, 2017
    #22
  8. Anibor Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    I looked at the logs. Initially, the extended partition was not recognized (?). I converted the two data partitions to primaries, and then the four partitions were recognized, but the problem you mention appeared:

    ValidateLayout: Too many MBR partitions found, no room to create EFI system partition.

    I suppose this is the normal situation, the procedure should handle these cases automatically. Otherwise it becomes a cumbersome trial-and error process, which involves manual manipulation of the partitions. Not good.
     
    Anibor, Apr 12, 2017
    #23
  9. simrick Win User
    Navy is on the right track. I didn't suggest that because I am not so familiar with reagent and couldn't walk you through it. But there's a whole slew of problems like this on eightforums, when people had used EASEUS to modify partitions and then couldn't access the recovery partition.

    I would let Navy get your partitions in order with reagent.
     
    simrick, Apr 12, 2017
    #24
  10. cereberus Win User
    I know it does not delete the old system reserve partition. I wonder what would hapoen if you deleted it first.

    Anyway, I always delete recovery partitions as they are pretty useless in Windows 10 as you can use an installation drive to do the same thing anyway.
     
    cereberus, Apr 12, 2017
    #25
  11. NavyLCDR New Member
    It sounds like this little utility is not quite up to prime time release. I would suggest that people try it once, and if it throws an error just use the manual method of converting if they still want to.
     
    NavyLCDR, Apr 12, 2017
    #26
  12. gdc88 Win User
    YES:


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]
     
    gdc88, Apr 12, 2017
    #27
  13. cereberus Win User

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

    Some Tests Performed to understand how this works.

    Test 1 - MBR has 4 primary Partitions


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]



    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    As expected, it failed to work. It is not clever enough to remove old SRP

    Test 2 - MBR has 3 primary Partitions but no unallocated space


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]



    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    This validated fine - did not convert it.

    Test 3 - MBR had 4 Primary Partitions but SRP was deleted first


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]

    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    This worked fine!


    Convert Windows 10 from Legacy BIOS to UEFI without Data Loss [​IMG]


    Note how it shrank OS rather than look for unallocated space.

    Summary:

    1) You cannot use mbr2gpt if 4 MBR partitions to start with - from log you can see it creates EFI first then does conversion to GPT.

    (I do not see why it does not do conversion first then create EFI which would get round 4 MBR partition limit)

    2) You can delete SRP first to reduce MBR partitions to 3.

    Tutorial Recommendation


    Add sentence saying if drive already had 4 primary partitions, you need to delete the System Reserved Partition first

    Caveat: Not all MBR OS disks have an SRP for historical compatibility. Here it would be necessary to delete another primary partition eg a recovery partition


    Note: I do not know how logical partitions would work. More tests needed.
     
    cereberus, Apr 12, 2017
    #28
  14. Brink
    Brink New Member
    I'd say if the tool fails, it may be best to clean install to UEFI instead.
     
    Brink, Apr 12, 2017
    #29
  15. NavyLCDR New Member
    Here's the problem, though....average Joe user deletes the System Reserved Partition and then the conversion to GPT and UEFI booting fails for another reason. Now what? Joe user is left with a computer that won't boot until one partition on that drive is made bootable again. My humble opinion is that it is dangerous for average Joe user to delete the System Reserved Partition their computer is booting from - at least without a major warning that deleting the partition will result in a failure to boot until either the conversion utility successfully creates an EFI System Partition or if it it fails another partition is made bootable.
     
    NavyLCDR, Apr 12, 2017
    #30
Thema:

Convert Windows 10 from Legacy BIOS to UEFI without Data Loss

Loading...
  1. Convert Windows 10 from Legacy BIOS to UEFI without Data Loss - Similar Threads - Convert Legacy BIOS

  2. Changing from Legacy Bios to UEFI, settings in bios and Windows 10

    in Windows 10 Installation and Upgrade
    Changing from Legacy Bios to UEFI, settings in bios and Windows 10: I used the Windows converting program MBR2GPT.exe to convert my SSD to GPT and it reported it had done it. I then rebooted and entered the bios and changed one setting from Legacy ROM to EFI Compatible ROM and another setting called 'UEFI Boot' from Disabled to Enabled and...
  3. 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...
  4. 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...
  5. Bitlocker with Windows 10 and EFI/UEFI Bios and Legacy Bios + MBR or GPT disk

    in AntiVirus, Firewalls and System Security
    Bitlocker with Windows 10 and EFI/UEFI Bios and Legacy Bios + MBR or GPT disk: Hello, I've read alot online about all of the scenarios for bitlocker and using Windows 10 with TPM 2.0. I've read things that said bitlocker encryption is not possible if it's a Win 10 box with TPM 2.0 bios in Legacy mode. It must be UEFI/EFI to work. Is this correct?...
  6. UEFI or Legacy?

    in Windows 10 Installation and Upgrade
    UEFI or Legacy?: So i went for a clean Windows 10 installation on my Aspire E13. To boot from USB i had to switch from UEFI to Legacy, otherwise the USB drive would not be listed. However. After the installation was finished my touchpad was not even recognized, i mean, i was not even...
  7. EFI, UEFI, Legacy BIOS.......

    in Windows 10 Installation and Upgrade
    EFI, UEFI, Legacy BIOS.......: This weekend I will try to do a clean install of Win 10 again, from Win 7. Have to try som new methods to see if I can get my computer running flawlessly with Windows 10. I will use the clean install tutorials from this forum. I hav two options, with or without UEFI...
  8. Converting an mbr install to UEFI without loss of data.

    in Windows 10 Installation and Upgrade
    Converting an mbr install to UEFI without loss of data.: Just seen a well presented video that shows how to convert an mbr based installation of windows to a UEFI based install without reinstalling OS and losing data. Convert Windows 7/8/10 Installation from Legacy to UEFI Without Data Loss (Simpler Method) - YouTube...
  9. Check if Windows 10 is using UEFI or Legacy BIOS

    in Windows 10 Tutorials
    Check if Windows 10 is using UEFI or Legacy BIOS: Great tutorial - I would have stopped at option 1 as it does the job perfectly but hey I am just a lazy engineer who loves great solutions with minimal effort *chuckle. 85195
  10. Intel Removing Legacy BIOS Support from Motherboard UEFI in 2020

    in Windows 10 News
    Intel Removing Legacy BIOS Support from Motherboard UEFI in 2020: Intel is working on a plan to remove so-called "last-mile" barriers to killing off legacy BIOS by requiring UEFI Class 3, which doesn't expose legacy BIOS interfaces. BIOS is the firmware that helped older PCs boot up after powering on and offered a runtime for the...