25 gen 2011

Windows 7: Delete and Remove Locked Partition, Hidden Recovery, Diagnostic Partition or EFI

When you try to delete an Hidden Recovery, Diagnostic partion, EFI Apple partition, some options fail:

  1. DiskMgmt.msc does not show the “delete” option
  2. DiskPart.exe fails with Cannot delete a protected partition without the force protected parameter set

Run Powershell as Administrator and follow the steps below:

  1. Run Diskpart application by typing Diskpart
  2. In the “Diskpart” prompt, enter rescan command and press Enter key to re-scan all partitions, volumes and drives available.
  3. Then type in list disk and press Enter key to show all hard disk drive available.
  4. Select the disk that contains the partition you want to remove. Normally, with just 1 hard disk, it will be disk 0. So the command will be:
    select disk 0
  5. Finish by Enter key.
  6. Type list partition and press Enter key to show all available and created partition in the disk selected.
  7. Select the partition that wanted to be deleted by using the following command, followed by Enter key:
    select partition x
    where x is the number of the EISA based recovery partition to be removed and unlocked its space. Be careful with the number of this partition, as wrong number may get data wipes off.
  8. Finally, type in delete partition override and press Enter key.



2 commenti: