Accidentally Deleted EFI Partition: How to Restore it

Use the Diskpart command

Reading time icon 2 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • Users who accidentally deleted the EFI partition can easily restore it without losing the stored data.
  • An easy way is to employ the Diskpart utility and run a series of commands.
  • You will need a bootable USB for the process, so get one ready beforehand.
fix accidentally deleted efi partition

While Windows updates are supposed to bring new features and bug fixes, these sometimes create more issues. After upgrading to the latest Windows version, the system no longer recognizes the SSD. This also happens when you have accidentally deleted the EFI partition.

So, if you, too, are in a similar situation and want to restore the deleted EFI partition in Windows 10, keep reading for the exact steps.

How do I recover a deleted EFI partition?

Tip icon Tip
Before you proceed, create a Windows 10 installation media since both solutions here require one.

1. Create Deleted EFI Partition

  1. Boot PC with an installation media. Change the Boot order in BIOS to boot from the installation media if necessary.
  2. Press Shift + F10 to launch the Command Prompt.
  3. Run the following command one by one and then hit Enter after each, while replacing N with the disk containing the deleted EFI partition:diskpart list disk select disk N list partition create partition efi format quick fs=fat32 list partition list volume exit bcdboot C:\windows
    Windows 10 deleted EFI partition
  4. The last command will copy the boot from the Windows partition to the EFI system partition and create a BCD store in the partition.
  5. If you did not get any error during the process, shut down the computer.
  6. Remove the installation drive and boot the computer normally.

Finally, verify whether you can access the EFI partition after you accidentally deleted it in Windows 10.

2. Take a backup and clean install Windows

  1. Insert the USB drive into your computer and boot from the installer.
  2. Make sure you change the boot order in the BIOS to boot from the USB drive.
  3. In Windows Setup, choose the Repair your computer option.
    Windows 10 deleted EFI partition
  4. Choose Troubleshoot.
  5. Click on Advanced.
  6. Choose Command Prompt.
    Windows 10 deleted EFI partition
  7. In the command prompt, type notepad and hit Enter.
  8. Click on the File menu and select Open to access the File Explorer.
  9. Now copy anything that is important in the C: drive to the USB or external hard drive.
  10. Once you have taken the backup, boot from the Installation Media again and fresh install Windows 10.

That’s it! If you accidentally deleted an EFI partition, these solutions will help restore the partition in Windows, or backup the data and reinstall the OS.

Before you leave, find out how to make Windows 10 run faster than ever.

For any queries or to share what worked for you, drop a comment below.

More about the topics: windows 10, Windows Update

User forum

1 messages