The EFI System Partition (ESP) stores essential boot files that your computer needs to start Windows in UEFI mode. However, you may need to move the EFI partition when extending a drive or preparing to remove an old drive. This post shows you how to do that step by step.

Why Do You Need to Move the EFI Partition?

An EFI System Partition (ESP) is a small FAT32 partition on a GPT disk. It is created automatically by Windows at the beginning of the disk during installation on a UEFI-based system.

Disk Management system disk layout with the selected EFI partition.

This partition contains Windows Boot Manager, boot configuration data, and other boot files needed to start a computer using UEFI (Unified Extensible Firmware Interface).

UEFI vs BIOS – What’re the Differences and Which One Is Better
UEFI vs BIOS – What’re the Differences and Which One Is Better

What are UEFI and BIOS? This article will tell you their differences via UEFI vs BIOS and show you how to convert MBR to GPT to support UEFI mode.

Read More

It plays an essential role in the Windows startup process. When you turn on your PC, the UEFI firmware reads the boot files from it and uses them to launch Windows.

You may need to move the EFI partition for the following reasons.

  • The EFI partition is located between the C drive and unallocated space, preventing you from extending the C drive.
  • The EFI partition and the C drive are located on different disks. This situation typically occurs after you have set up a dual-boot configuration or performed an improper system clone or migration.
MBR vs GPT: Which Should You Choose?
MBR vs GPT: Which Should You Choose?

This post explains the difference between MBR and GPT and tells you how to choose or convert between them.

Read More

How to Move EFI Partition in Windows 10/11

To move EFI partition, the common approach is to create a new EFI partition at your desired location, and then delete the old EFI partition. With this method, you can:

  • Move the EFI partition to another disk.
  • Move the EFI partition to the beginning of the disk.
  • Move the EFI partition to the end of the disk.
  • Move the EFI partition before C.
  • Move the EFI partition to any location.

The specific steps are as follows.

#1: Make Room for the New EFI Partition

To make room for the new EFI partition, it is recommended that you use the Move/Resize function in MiniTool Partition Wizard.

GoalMove/Resize Operations
Move EFI partition before C/Move EFI partition to beginning of diskShrink the C partition to create unallocated space to its left.
Move EFI partition to end of diskShrink the Recovery partition. Or shrink the partition preceding the Recovery partition and then move the unallocated space to the end of the disk.

MiniTool Partition Wizard can move partition locations and also shrink many partitions that Disk Management cannot shrink. It can also copy partitions and disks, migrate OS, convert an MBR disk to GPT disk without data loss, recover lost partitions and data, etc. It’s worth trying.

MiniTool Partition Wizard FreeClick to Download100%Clean & Safe

Here is how to move/resize a partition using this software.

Step 1: Right-click the C drive and choose Move/Resize. If you want to shrink or move the Recovery partition, right-click it and choose this feature.

MiniTool Partition Wizard interface with the selected Move or Resize feature.

Step 2: On the pop-up window, shrink the partition using the following two methods to create unallocated space. Then, click OK.

  • Drag the two arrow icons to the center. To create unallocated space to the left of a partition, drag the arrow icon on the left. For the right side, drag the arrow icon on the right.
  • For greater precision regarding the size of unallocated space, you can enter specific numerical values. First, input the desired Partition Size after it has been shrunk. To have the unallocated space appear to the left of the partition, then change the Unallocated Space After value to 0.
Tips:
If you want to move the partition, simply drag the entire partition block to the left or right.
MiniTool Partition Wizard interface with the Move or Resize Partition window.

Step 3: Check the disk layout. Then, click Apply to execute the pending operation.

MiniTool Partition Wizard interface with the selected Apply button.
A Full Guide to Increase EFI Partition Size on Windows 11/10
A Full Guide to Increase EFI Partition Size on Windows 11/10

Can I increase EFI system partition? If you are trying to increase EFI system partition size on Windows 10/11, get the full guide from this post.

Read More

#2. Create a New EFI Partition

To create an EFI partition, you can continue using MiniTool Partition Wizard. Here are the steps.

MiniTool Partition Wizard DemoClick to Download100%Clean & Safe

Step 1: Launch MiniTool Partition Wizard. Right-click the unallocated space created just now. Choose Create.

MiniTool Partition Wizard interface with the selected Create option.

Step 2: On the pop-up window, change the File System to FAT32. Then, click OK. Take a look at this partition and note its drive letter. You’ll need it later.

MiniTool Partition Wizard interface with the Create New Partition window showing the selected FAT32 file system.

Step 3: Right-click the FAT32 partition and choose Advanced > Change Partition Type ID. Expand the drop-down menu and choose the EFI System Partition option. Click Yes. Then, click Apply to execute all pending operations.

MiniTool Partition Wizard interface with the Change Partition Type ID window showing the selected EFI System Partition option.

Step 4: Search for “cmd” in the Windows Search bar. Right-click Command Prompt in the results list and choose Run as administrator. Then, type “bcdboot c:\windows /s f:” to write boot files to the EFI system partition. F should be replaced according to your condition.

Command Prompt window showing the bcdboot command to write boot files to a partition.

Further Reading:

You can also use Command Prompt to create an EFI partition. Here is the guide.

Step 1: Open Command Prompt as administrator. Then, run the following commands one by one to create an EFI partition.

  • diskpart (It calls out the DiskPart command-line tool.)
  • list disk
  • select disk * (* is the disk number of the GPT system disk.)
  • list partition (View the size and offset of each partition.)
  • create partition efi size=N1 offset=N2 (The unit for size is MB, and the unit for offset is KB. Offset determines the start location of the EFI partition. If there is only one unallocated space on the disk, no offset is also OK.)
  • list partition (Check if the EFI partition location is correct.)
Command Prompt window with the commands to create an EFI partition.

Step 2: Run the following commands to format the EFI partition and write boot data to it.

  • format fs=fat32 quick
  • assign letter=X (Ensure that this drive letter is different from any existing drive letters.)
  • exit (exit diskpart)
  • bcdboot C:\windows /s X:
Command Prompt window with the commands to format the EFI partition and write boot data to it.
NTFS vs FAT32 vs exFAT: In-depth Comparison and Analysis
NTFS vs FAT32 vs exFAT: In-depth Comparison and Analysis

This post comprehensively explains NTFS vs FAT32 vs exFAT from aspects including features, differences, and different applicable scenarios.

Read More

#3. Delete the Original EFI Partition

Now, you need to delete the original EFI partition so that the computer will use the new EFI partition. Here are the steps.

Tips:
If your previous steps were not performed correctly, deleting the original EFI partition at this stage could prevent your system from booting. Therefore, it is recommended that you back up important data before proceeding with the deletion.

Step 1: Create a Windows installation USB drive.

Step 2: Boot the computer from the USB drive.

Step 3: Once you see the Windows Setup interface, press Shift + F10 to open Command Prompt. Then, run the following commands to delete the original EFI partition.

  • diskpart
  • list disk
  • select disk * (* is the disk number of the GPT system disk.)
  • list partition
  • select partition # (# is the partition number of the original EFI System partition.)
  • delete partition override
Command Prompt window in WinPE showing commands to delete a system partition.

Step 4: Restart the PC to see if it can boot up.

Want to move the EFI partition to the beginning or end of the disk? This post shows you how to do that easily.Click to Tweet

Move EFI Partition FAQ

Q1: Can I move the EFI partition using Disk Management?
No. Windows Disk Management does not provide a built-in function to move an existing EFI partition. Currently, the only way to move an EFI partition is to create a new EFI partition and rebuild the boot files using Windows recovery tools.
Q2: Is it safe to move the EFI system partition?
Moving the EFI partition can be safe if performed correctly, but mistakes may prevent Windows from booting. Back up important data, prepare recovery media, and verify the new boot configuration before deleting the original partition.
Q3: How do I rebuild the EFI partition in Windows 11?
You can rebuild the EFI partition by creating a suitable EFI System Partition, assigning it a temporary drive letter, and using the bcdboot command (bcdboot C:\Windows /s S:) to copy Windows boot files to it. If you rebuild the EFI partition in WinPE, add the “/f UEFI” parameter.
In addition, C:\Windows is the Windows installation folder, and S: is the assigned letter of the new EFI partition. Drive letters may differ in the recovery environment, so verify both volumes before running the command.
Q4: How to fix Windows not booting after deleting the EFI partition?
You can recover the EFI partition without reinstalling Windows using one of the following two methods. The first method involves using MiniTool Partition Wizard or other third-party software to restore the deleted EFI partition. The second method involves using a Windows installation USB drive to recreate the EFI partition and write the necessary boot files to it.

Bottom Line

Moving the EFI partition can help resolve issues with disk layout, partition expansion, or disk upgrades. However, because the EFI System Partition stores essential Windows boot files, moving or deleting it incorrectly can prevent Windows from starting. This article provides a detailed guide to help you avoid these issues.

If you encounter issues when using MiniTool Partition Wizard, send an email to [email protected] for help.

  • linkedin
  • reddit