How to Change Legacy BIOS to UEFI for Windows
In this article
You cannot flip a single switch to convert an existing legacy BIOS Windows installation to UEFI. The practical answer is to use Windows' built-in MBR2GPT tool to convert the disk from MBR to GPT without reinstalling, then change the firmware settings to UEFI boot mode. This keeps your files and programs, but it requires a careful backup first because a failed conversion can leave the drive unbootable. The steps below are for Windows 10 and Windows 11 on a PC with a UEFI-capable motherboard.
What You'll Need
- A Windows 10 or Windows 11 PC whose motherboard supports UEFI (almost all PCs made since around 2012 do).
- An external drive with enough free space to back up important files, or a full system image.
- Administrator access to Windows.
- A Windows installation USB stick, just in case you need to repair boot files afterward. You can create one with the official Media Creation Tool from Microsoft.
- About 30–60 minutes and a wired keyboard, since some firmware settings behave oddly with wireless keyboards during boot.
Step-by-Step
- Back up your data. Copy personal files to an external drive, or create a full system image using the built-in backup tools in Control Panel. Do not skip this. If the conversion fails, the drive may not boot until repaired.
- Check that your disk is MBR and your PC can boot UEFI. Open Disk Management (right-click Start and choose Disk Management). Select your system disk, open its Properties, then the Volumes tab, and look at the partition style. It should say Master Boot Record (MBR). If it already says GUID Partition Table (GPT), your disk is already set up for UEFI and you only need to change firmware settings.
- Confirm the motherboard supports UEFI. Restart and enter firmware setup, usually by pressing Del, F2, or F10 during startup. The exact key varies by manufacturer. Look for a Boot menu with options such as UEFI or Legacy/CSM. If there is no UEFI option at all, the hardware cannot do this and you should stop here.
- Run the MBR2GPT validation. Open Command Prompt as administrator. Type
mbr2gpt /validate /allowFullOSand press Enter. This checks whether the disk can be converted without changing anything. If validation fails, read the error message before continuing; do not force the conversion. - Convert the disk. In the same administrator Command Prompt, type
mbr2gpt /convert /allowFullOSand press Enter. The tool rewrites the partition table from MBR to GPT and creates the required EFI system partition. This usually takes under a minute. Do not interrupt it. - Change the firmware to UEFI boot. Restart and enter firmware setup again. In the Boot section, disable CSM or Legacy mode if present, and enable UEFI mode. Set the Windows Boot Manager as the first boot device. Menu labels differ by manufacturer and BIOS version, so look for terms like Boot Mode, CSM, or UEFI/Legacy.
- Save and exit. Save the changes and let the PC restart. Windows should boot normally from the GPT disk in UEFI mode.
- Verify the result. Press Windows+R, type
msinfo32, and press Enter. In System Information, check the BIOS Mode line. It should now read UEFI instead of Legacy.
Common Mistakes
- Skipping the backup. The conversion changes the partition table. If power fails or the tool errors partway through, the system may not boot until you repair it with installation media.
- Converting before checking validation. Running the convert command without a successful validate step can fail or leave the disk in an inconsistent state.
- Leaving CSM enabled. If Compatibility Support Module stays on, the firmware may still boot in legacy mode even after conversion.
- Converting a disk with more than three primary partitions on MBR. MBR2GPT handles this in most cases, but unusual partition layouts can cause validation to fail. Check the error output rather than ignoring it.
- Assuming every PC supports UEFI. Very old machines may only offer legacy BIOS. In that case, the conversion is not possible without new hardware.
Tips
- Run the commands from an administrator Command Prompt, not PowerShell, to avoid quoting issues with the switches.
- If you use BitLocker, suspend it before converting and re-enable it afterward. Changing the boot configuration can otherwise trigger a recovery prompt.
- Keep the Windows installation USB handy until you have confirmed the PC boots in UEFI mode more than once.
- After conversion, check that Secure Boot can be enabled in firmware if you want it. Some systems require UEFI mode first.
- If your PC has multiple drives, confirm which disk holds Windows before running the tool. MBR2GPT targets the system disk by default.
Troubleshooting
If the PC does not boot after switching to UEFI, go back into firmware setup and confirm that the Windows Boot Manager entry exists and is first in the boot order. If it is missing, boot from your Windows installation USB, choose Repair your computer, then Startup Repair. This rebuilds the boot files for UEFI.
If MBR2GPT validation fails, note the error code it prints. Common causes include an unsupported partition layout or a disk that is not the current system disk. Do not run the convert command until validation passes.
If Windows boots but System Information still shows Legacy, CSM is probably still enabled or the firmware is set to legacy boot. Re-enter setup and disable CSM, then set UEFI mode explicitly.
If the drive becomes unbootable and repairs do not help, restore your backup or reinstall Windows in UEFI mode. A clean install on a GPT disk is the reliable fallback when conversion cannot be completed.
Frequently Asked Questions
Can I convert to UEFI without reinstalling Windows?
Yes, in most cases. MBR2GPT converts the disk from MBR to GPT in place, and then you switch the firmware to UEFI mode. A backup is still essential.
Will I lose my files during the conversion?
The tool is designed to preserve data, but any partition-table change carries risk. Back up important files first so a failure does not cost you data.
How do I know if my PC supports UEFI?
Check the firmware setup for a UEFI boot option or a CSM/Legacy toggle. If neither exists, the machine likely supports legacy BIOS only.
Does switching to UEFI require Secure Boot?
No. UEFI and Secure Boot are separate. You can run UEFI mode with Secure Boot off, though enabling it adds security if your hardware and OS support it.
What happens if I convert and then change my mind?
You can switch the firmware back to legacy mode and the disk will still be GPT, which legacy boot cannot use. Reverting fully means converting back to MBR, which is not supported by MBR2GPT and generally requires a reinstall or third-party tools.
Can I do this on a laptop?
Yes, if the laptop firmware offers UEFI boot options. The commands are the same. Make sure the laptop is plugged in during the process.