Enter Search Query:

Delete EFI partition in Windows 7

So I bought myself an external 1TB USB hard drive the other day. The idea was to use it for backups on my MacBook, but later I decided to use it on a PC instead. Since I had initially formatted the drive in OS X, the Windows disk management tool listed an EFI partition on the disk but wouldn’t allow me to remove it. Here’s how I finally deleted it in Windows 7:

[problem] When formatting a previously Mac formatted drive in Windows 7 you are unable to remove the EFI System partition/volume.

[step 1] With the USB drive connected, open a command prompt with elevated privileges.

[step 2] Start the disk partition utility by typing diskpart.

[step 3] Type list disk to see all of your connected disks (be sure you’re working on the right disk, if you select the wrong disk you’ll be sorry – see disclaimer). To select a disk type select disk # where # is the disk number you want to delete the EFI partition from.

[step 4] Type select partition # where # is the number of the partition you want to delete.

[step 5] Type delete partition override

That’s it.

February 10, 2011

Related Posts

96 comments found

Comments for: Delete EFI partition in Windows 7

  1. John

    David, partition override deletes only the efi partition? or everything on the drive?

    1. Post author: 
      David Vielmetter


      The partition delete override command deletes an entire partition. The way diskpart works is you first select the disk you want to work on, then the partition you want to work on then finally when you execute commands they will only affect the selected disk and the selected parition on that disk.

      If you fail to select a partition to work on, the command delete partition override should not work. It should ask you to select a partition to execute that command on first.

      In summary…if you have a disk with three partitions on it, using diskpart to delete each one will require you to select the disk, then select each partition and execute delete parition override on each one one partition at a time.

      p.s. partition delete override does not delete the data on the partition. It only deletes the partition information, but the data could still be recovered if the partition table is rebuilt using a recovery tool.

      David Vielmetter

  2. Nathan

    Thank you! I had the same predicament going from a Mac to a PC and couldn’t figure out how to get rid of that stupid partition.

  3. me

    sweet! thanks amigo!

  4. Gordon



    I did the same as you. Bought an external USB drive, used it with OS X and then could not access with Windows when I changed my mind for its use. Googled it. Found your web page. Used your method to delete the EFI and data partitions that OS X had created and instantly in the Windows 7 Disk Management Console I had a healthy 1.5TB drive that I could format.

    Fantastic tip. Thank you so very much.


  5. Dave

    Thanks for the great tip!

  6. Sune

    Super tip just what was needed.

  7. Advyon

    Fantastic Solution! Thanks a ton for sharing!

  8. Antoine

    Just what I needed, first Google result. Perfect explanations. Thanks a lot !

  9. Rip

    Thanks David!

    Clear, concise, and effective. Excellent instructions to a needed fix!

  10. Sergey

    Hi now to access to efi hard drive in windows i connect it

  11. luca

    very useful!!!
    dear old msdos…
    many thanks!


  12. IanJ

    Thanks – worked a treat!

  13. Pat Rossiter

    Just like everyone here said: thank you, it worked a treat. Appreciate your support.

  14. Fernando

    Thank you! 😀

  15. Rick

    I received the following message;
    DiskPart has encountered an error; The media is write protected.
    See the System Event Log for more information.

    Why do I remove the write protection?

  16. Muniraju H

    Thank You, david..
    It works for me.. much appreciated ..:)

  17. Will Rogers


    This seems as though it would work in Win8 also. Is that the case? I got all the way to the list part and mine had 2, a system, and an unknown. The system was small while the unknown was 465GB. Do I need to remove both part or only the System?

    Thanks for the work around. It is most excellent, easy to follow and straight to the point.

    Will Rogers

  18. durgadcl

    thanks mate.
    works for me too.

  19. Carlos

    Thanks. Great information. I indeed initially formatted the HD on my Mac as FAT and then, Windows Server didn’t allow me to use it as backup for what now seems was the EFI partition. EFI partition removed and Windows recognizes the new HD as a place where I can make Backups.

    Not fully working yet as I have other problems but I will keep looking – seems Windows doesn’t like that I am selecting to backup a partition that is bigger than 2TB. Go figure.

    Thanks again,

  20. slash2freeze

    Great. Thank you. just what I needed.

  21. Inba

    Thanks a ton mannnnnn 😀

  22. Thomas

    Thank you very much ! Simple and clean.. Helped me alot !

  23. Nico

    Thanks it’s save the life of my usb key

  24. Mahesh

    Thanks a lot! I deleted my EFI partition without any problem.

  25. Benjamin Horarik

    Thank you so much! this worked absolutely flawlessly…may consider editing to include that “enter” must be pressed for each command…on the other hand though, it’d be pretty dangerous for someone who didn’t know that to be messing with command prompts!

  26. IAH

    As many have said before, THANK YOU SO MUCH! I’m working with Win8.1 Pro x64, and the diskpart application worked just as you described under this OS. You have created a straight-to-the-point tutorial, with nothing extraneous to confuse us simple folk 🙂 Thank you again!

  27. John

    Great tip, I struggled until I came across your very informative post

  28. Arafat.JR

    After use this trick does it wipe my data ? 😀

    1. dvielmetter

      This trick only removes the partition information. It does not wipe the data. Someone using testdisk would be able to recover data stored on disk/partition you removed using this trick unless you formatted the partition afterwards.


  29. brain atrophy alcohol

    You should be a part of a contest for one of the greatest blogs on the net.
    I am going to highly recommend this web site!

  30. George

    I love it when a plan comes together! Thank you –

Leave a Reply

Your email address will not be published. Required fields are marked *