Delete disk

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Deletes a missing dynamic disk from the list of disks.

For instructions regarding how to use this command, see Remove a Missing Dynamic Disk (


delete disk [noerr] [override]


Parameter Description


For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code.


Enables DiskPart to delete all simple volumes on the disk. If the disk contains half of a mirrored volume, the half of the mirror on the disk is deleted. The delete disk override command fails if the disk is a member of a RAID-5 volume.


To delete a missing dynamic disk from the list of disks, type:

delete disk

Additional references

Command-Line Syntax Key