Delete disk
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 (https://go.microsoft.com/fwlink/?LinkId=207055).
Syntax
delete disk [noerr] [override]
Parameters
Parameter | Description |
---|---|
noerr |
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. |
override |
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. |
Examples
To delete a missing dynamic disk from the list of disks, type:
delete disk