SOLVED: How To Delete Protected Partitions in Windows 10

UPDATE OCT 1 2019 – Everything is still completely accurate but if you want to know how to remove all stuck partitions and recreate a volume through command line CLICK HERE.

__________________

If you install a hard disk from an old PC into your current PC, you might find a few partitions cannot be deleted.  Fortunately it is very easy and fast to use a simple command line to remove the unwanted partitions:

HOW TO REMOVE STUCK PARTITIONS:

  1. Bring up a CMD or PowerShell window (as an administrator)
  2. Type DISKPART and press enter
  3. Type LIST DISK and press enter
  4. Type SELECT DISK <n> and press enter
  5. Type LIST PARTITION and press enter
  6. Type SELECT PARTITION <n> and press enter
  7. Type DELETE PARTITION OVERRIDE and press enter
  8. Repeat steps 6 and 7 as many times as you need to remove unwanted partitions

View Comments

  • I real thankful to find this site, just what I was looking for to solve this problem : D also saved to fav.

  • Virtual disk error:
    Delete is not allowed on the current boot, system, page file, crash dump or hibernation volume

  • Muchas gracias, Ian.
    Funcionó perfectamente.
    Había visto en otro tutorial que decía lo mismo, pero le faltaba el override al final, y no me había funcionado.
    Pero agregando el override funcionó de maravillas.
    Nuevamente Muchas Gracias.

    Carlos.

  • virtual disk service error, the operation is not supported by the object. The specified command or parameters are not supported by the system.
    Its a primary partition.

  • Hello Ian I did all those cmd instructions on boot and it said no more partitions are available to be found so it clean. but after i shut down the computor and started the laptop back up it put me into automatic repair and that happaens every single time please help buddy please.

  • The clean command worked for me when the delete partition override command wouldn't. I just selected the disk with "select disk 1" that had the partitions and typed "clean". that wiped all info on the drive to zeros. All i had to do was go into disk management and initialize the disk.

  • Followed the every step, did it multiple times. Partition will be deleted but after refreshing (disk management) the partition will return. Even the files that was deleted will return. Really frustrated and confused about this.

    • I have the exact same problem. Diskpart announced everything is succesfully deleted but everything comes back after refresh. Would really like to know what's the cause for this.

      • I also have this exact same problem. It says the partition is deleted but it is still there and still has all of its files.

        DISKPART> list disk

        Disk ### Status Size Free Dyn Gpt
        -------- ------------- ------- ------- --- ---
        Disk 0 Online 1863 GB 0 B
        Disk 1 Online 465 GB 0 B *
        * Disk 2 Online 59 GB 15 MB

        DISKPART> list partition

        Partition ### Type Size Offset
        ------------- ---------------- ------- -------
        Partition 1 Primary 59 GB 16 MB

        DISKPART> select partition 1

        Partition 1 is now the selected partition.

        DISKPART> delete partition override

        DiskPart successfully deleted the selected partition.

        DISKPART> list partition

        Partition ### Type Size Offset
        ------------- ---------------- ------- -------
        Partition 1 Primary 59 GB 16 MB

        DISKPART>

    • Thank you so much Mr. Ian Mathews.
      It did not work for me at first try. But it worked seamlessly after changing the disk to basic from dynamic.

1 2 3
Published by
Ian Matthews

This website uses cookies.