Skip to main content

Using DiskPart to Remove a Protected Partition

In this guide we'll use the Windows DiskPart command line utility to remove a protected EFI System partition that can't be removed with Disk Management.

Getting Started

1. Open Command Prompt as Administrator

You can do this by hitting the search button in any recent version of Windows and type CMD or PowerShell.  Right click on the correct result and select Run as Administrator.

image-1641191637695.png

2. Type DiskPart and Press Enter

image-1641191715270.png

3. Type List Disk and Press Enter

image-1641191791874.png

4. Type Select Disk 1 and Press Enter

Make sure you replace the number 1 with the number of the disk you want to modify.

image-1641191946351.png

5. Type List Partition and Press Enter

image-1641191993082.png

6. Type Select Partition 1 and Press Enter

Make sure you replace the number 1 with the number of the partition you want to modify.

image-1641192120613.png

7. Type Delete Partition Override and Press Enter

This will delete the protected partition.

image-1641192221980.png

8. Verify Results

If you open the Disk Management application, you can confirm that the previously protected EFI partition is now Unallocated, and a new volume can be created. 

image-1641192338492.png