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

    • Hi Josh;

      That is correct. If you have a page file (swap space) on on the drive, click START and type ADVANCED SYSTEMS SETTINGS then launch it, click the SETTINGS button in the PERFORMANCE section, then click the ADVANCED TAB and click the CHANGE button in the VIRUTAL MEMORY section and set the pagefile to not be on the disk in question. You can turn off hibernate but there is nothing you can do with your current BOOT or SYSTEM files; if they are on the disk in question you MUST keep them (or reinstall your OS which you are not going to want to do).

      Thanks for the clarification

  • doesn't work for me. list partition shows * Partition 1 Primary 59 gb 0. when I try to select partition 1, i get error that no partition is selected??

  • says to me
    "Delete is not allowed on the current boot, system, pagefile,
    crashdump or hibernation volume."

Published by
Ian Matthews

This website uses cookies.