When trying to delete a partition in Windows, you may encounter the following error:
Virtual Disk Error: Delete is not allowed on the current boot, system, pagefile, crashdump, or hibernation volume.
Before attempting deletion, confirm which EFI partition is actively used for booting.
Open Command Prompt as Administrator and run:
bcdedit /enum firmware
Under each {bootmgr}
or {current}
entry, look for the device or path.
device partition=\Device\HarddiskVolume1
or partition=C:
Important: Do not delete the partition that's actively booting the system.
Alternatively, use diskpart:
diskpart
list disk
select disk X (replace X with your disk number)
list partition
Look for a partition labeled EFI SYSTEM PARTITION.
Once you have confirmed which EFI partition is idle (not in use), proceed with deletion.
Download and install IM-Magic Partition Resizer to safely delete EFI, recovery, or system partitions without harming your boot drive.
For Windows 11/10/8/7: Download Partition Resizer Free [100% Free]
For Windows Server 2025-2003: Download Partition Resizer Server [Free Demo]
delete partition override
)If you've connected the disk to another PC as an external drive:
diskpart
list disk
select disk X
list partition
select partition Y
delete partition override
This forces Windows to delete protected partitions.