SOLVED

Deleting volumes on a disk with diskpart

%3CLINGO-SUB%20id%3D%22lingo-sub-174824%22%20slang%3D%22en-US%22%3EDeleting%20volumes%20on%20a%20disk%20with%20diskpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174824%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EI%20have%20a%20old%20hdd%20with%20some%20partitions%20on%20it%20which%20I%20will%20delete%20to%20reformat%20the%20hdd.%3C%2FP%3E%0A%3CP%3EI%20got%20this%20with%20diskpart%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDISKPART%26gt%3B%20list%20volume%3CBR%20%2F%3E%3CBR%20%2F%3E%26nbsp%3B%20Volume%20%23%23%23%26nbsp%3B%20Bst%26nbsp%3B%20Bezeichnung%26nbsp%3B%20DS%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Typ%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Gr%C3%B6%C3%9Fe%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Status%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Info%3CBR%20%2F%3E%26nbsp%3B%20----------%26nbsp%3B%20---%26nbsp%3B%20-----------%26nbsp%3B%20-----%26nbsp%3B%20----------%26nbsp%3B%20-------%26nbsp%3B%20---------%26nbsp%3B%20--------%3CBR%20%2F%3E%26nbsp%3B%20Volume%200%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%26nbsp%3B%26nbsp%3B%20XXX%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20NTFS%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%20237%20GB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20Startpar%3CBR%20%2F%3E%26nbsp%3B%20Volume%201%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ESP%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FAT32%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%20100%20MB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20System%3CBR%20%2F%3E%26nbsp%3B%20Volume%202%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Recovery%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20NTFS%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%201024%20MB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20Versteck%3CBR%20%2F%3E%26nbsp%3B%20Volume%203%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20D%26nbsp%3B%26nbsp%3B%20Data%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20NTFS%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%20931%20GB%26nbsp%3B%20Fehlerfre%3CBR%20%2F%3E%26nbsp%3B%20Volume%204%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAW%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%20909%20GB%26nbsp%3B%20Fehlerfre%3CBR%20%2F%3E%26nbsp%3B%20Volume%205%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20WINRE_DRV%26nbsp%3B%26nbsp%3B%26nbsp%3B%20NTFS%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%201000%20MB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20Versteck%3CBR%20%2F%3E%26nbsp%3B%20Volume%206%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20SYSTEM_DRV%26nbsp%3B%26nbsp%3B%20FAT32%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%20260%20MB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20Versteck%3CBR%20%2F%3E%26nbsp%3B%20Volume%207%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PBR_DRV%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20NTFS%26nbsp%3B%26nbsp%3B%20Partition%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%20GB%26nbsp%3B%20Fehlerfre%26nbsp%3B%20Versteck%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20will%20delete%20the%20volumes%207%2C%206%20and%205%20and%20merge%20this%20with%204%20or%20make%20a%20new%20bigger%20volume%20with%20all%20space%20on%20drive%20e%3A.%3C%2FP%3E%0A%3CP%3EI%20choose%3C%2FP%3E%0A%3CP%3EDISKPART%26gt%3B%20select%20volume%207%3C%2FP%3E%0A%3CP%3EVolume%207%20ist%20jetzt%20das%20gew%C3%A4hlte%20Volume.%3C%2FP%3E%0A%3CP%3EDISKPART%26gt%3B%20delete%20volume%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20brings%20an%20error.%20Diskpart%20goes%20down%20and%20restart.%20The%20volume%20will%20not%20be%20deleted.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecond%20try%3A%3C%2FP%3E%0A%3CP%3EDISKPART%26gt%3B%20select%20volume%207%3C%2FP%3E%0A%3CP%3EVolume%207%20ist%20jetzt%20das%20gew%C3%A4hlte%20Volume.%3C%2FP%3E%0A%3CP%3EDISKPART%26gt%3Battributes%20volume%20clear%20hidden%3C%2FP%3E%0A%3CP%3EFehler%20beim%20Dienst%20f%C3%BCr%20virtuelle%20Datentr%C3%A4ger%3A%3CBR%20%2F%3EObjekt%20wurde%20nicht%20gefunden.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhere%20is%20the%20error%3F%20What%20can%20I%20do%20to%20delete%20the%20volumes%20and%20get%20one%20big%20volume%20on%20drive%20e%3A%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174937%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20volumes%20on%20a%20disk%20with%20diskpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174937%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%20I%20used%20a%20third%20party%20tool.%20MiniTool%20Partition%20Wizard%20Free%20managed%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174914%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20volumes%20on%20a%20disk%20with%20diskpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174914%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20happens%20when%20you%20try%20to%20delete%20it%20from%20the%20GUI%20using%20Disk%20Management%3F%20Do%20you%20see%20any%20error%20message%20in%20the%20Event%20Log%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174909%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20volumes%20on%20a%20disk%20with%20diskpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174909%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20I%20did.%20The%20error%20is%20still%20present.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-174902%22%20slang%3D%22en-US%22%3ERe%3A%20Deleting%20volumes%20on%20a%20disk%20with%20diskpart%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-174902%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Thorsten%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDid%20you%20start%20your%20command%20prompt%20as%20an%20administrator%3F%3C%2FP%3E%0A%3CP%3EGo%20to%20start%20%3D%26gt%3B%20Begin%20typing%20%3CEM%3Ecommand%3C%2FEM%3E%3D%26gt%3B%20Right%20click%20on%20%3CEM%3ECommand%20Prompt%3C%2FEM%3E%3D%26gt%3B%20Choose%20%3CEM%3ERun%20as%20Administrator%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ERuud%20Gijsbers%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

I have a old hdd with some partitions on it which I will delete to reformat the hdd.

I got this with diskpart:

 

DISKPART> list volume

  Volume ###  Bst  Bezeichnung  DS     Typ         Größe    Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     C   XXX        NTFS   Partition    237 GB  Fehlerfre  Startpar
  Volume 1         ESP          FAT32  Partition    100 MB  Fehlerfre  System
  Volume 2         Recovery     NTFS   Partition   1024 MB  Fehlerfre  Versteck
  Volume 3     D   Data         NTFS   Partition    931 GB  Fehlerfre
  Volume 4     E                RAW    Partition    909 GB  Fehlerfre
  Volume 5         WINRE_DRV    NTFS   Partition   1000 MB  Fehlerfre  Versteck
  Volume 6         SYSTEM_DRV   FAT32  Partition    260 MB  Fehlerfre  Versteck
  Volume 7         PBR_DRV      NTFS   Partition     20 GB  Fehlerfre  Versteck

 

I will delete the volumes 7, 6 and 5 and merge this with 4 or make a new bigger volume with all space on drive e:.

I choose

DISKPART> select volume 7

Volume 7 ist jetzt das gewählte Volume.

DISKPART> delete volume

 

This brings an error. Diskpart goes down and restart. The volume will not be deleted.

 

Second try:

DISKPART> select volume 7

Volume 7 ist jetzt das gewählte Volume.

DISKPART>attributes volume clear hidden

Fehler beim Dienst für virtuelle Datenträger:
Objekt wurde nicht gefunden.

 

Where is the error? What can I do to delete the volumes and get one big volume on drive e:?

 

Thank you!

4 Replies

Hi Thorsten,

 

Did you start your command prompt as an administrator?

Go to start => Begin typing command => Right click on Command Prompt => Choose Run as Administrator.

 

Best regards,

Ruud Gijsbers

Yes, I did. The error is still present.

What happens when you try to delete it from the GUI using Disk Management? Do you see any error message in the Event Log?

best response confirmed by Thorsten Bunke (Occasional Contributor)
Solution

Thanks. I used a third party tool. MiniTool Partition Wizard Free managed this.