Partager via


Convert basic

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

Converts an empty dynamic disk to a basic disk.

For instructions regarding how to use this command, see Change a Dynamic Disk Back to a Basic Disk (https://go.microsoft.com/fwlink/?LinkId=207048).

Syntax

convert basic [noerr]

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.

Remarks

Important

The disk must be empty to convert it to a basic disk. Back up your data, and then delete all partitions or volumes before converting the disk.

  • A dynamic disk must be selected for this operation to succeed. Use the select disk command to select a dynamic disk and shift the focus to it.

Examples

To convert the selected dynamic disk to basic, type:

convert basic

Additional references

Command-Line Syntax Key

DiskPart