Windows: Convert Legacy Installation to UEFI
If you are not comfortable proceeding with this guide, please feel free to reach out to us and we will be more than happy to help.
The following tools may be helpful for this guide:
- A USB stick with a copy of the Windows installer.
As newer computers no longer support legacy boot modes, often times a conversion to UEFI is required when upgrading to a new computer. Or perhaps, it's simply time to convert for improved security. Whatever the reason is, it is luckily quite easy to convert from legacy boot to UEFI boot, using a built-in Windows tool.
First, you will need to get to a command line within recovery mode. You can do this two different ways:
From Within Windows
- Go to
Start→Power - Press and hold Shift and click
Shut Down Troubleshooting→Advanced Options→Command Prompt
Using a Windows Installer USB
- Boot into your Windows Installer USB (see Boot + BIOS Keys)
- Press
Next→Repair this computer(or press Alt-N → Alt-R) Troubleshooting→Advanced Options→Command Prompt
Once you have opened a command line, run the following:
diskpart
list disk # Note the disk number of the disk you are trying to convert
exit
mbr2gpt /validate /disk:<disk-number>
mbr2gpt /convert /allowFullOS /disk:<disk-number>
Note: certain Dell computers may include an OEM recovery partition which will confuse the conversion program and produce an error. If the Windows installation was performed on a Dell system and the command produces error code
0x00000000, use the following command instead:mbr2gpt /convert /allowFullOS /map:222=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7