delete disk
Deletes a missing dynamic disk from the list of disks.
Note
For detailed instructions about how to use this command, see Remove a Missing Dynamic Disk.
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
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for