text
stringlengths
0
4.23k
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.
Note
For instructions regarding how to use this command, see Change a GUID Partition Table Disk into a Master Boot Record Disk.
Syntax
convert mbr [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.
Examples
To convert a basic disc from GPT partition style to MBR partition style, type>:
convert mbr
convert
Converts a disk from one disk type to another.
Syntax
convert basic
convert dynamic
convert gpt
convert mbr
Parameters
Parameter
Description
convert basic command
Converts an empty dynamic disk into a basic disk.
convert dynamic command
Converts a basic disk into a dynamic disk.
convert gpt command
Converts an empty basic disk with the master boot record (MBR) partition style into a basic disk with the GUID partition table (GPT) partition style.
convert mbr command
Converts an empty basic disk with the GUID Partition Table (GPT) partition style into a basic disk with the master boot record (MBR) partition style.
copy
Copies one or more files from one location to another.
Note
You can also use the copy command, with different parameters, from the Recovery Console. For more information about the recovery console, see Windows Recovery Environment (Windows RE).
Syntax
copy [/d] [/v] [/n] [/y | /-y] [/z] [/a | /b] <source> [/a | /b] [+<source> [/a | /b] [+ ...]] [<destination> [/a | /b]]
Parameters
Parameter
Description
/d
Allows the encrypted files being copied to be saved as decrypted files at the destination.
/v
Verifies that new files are written correctly.
/n
Uses a short file name, if available, when copying a file with a name longer than eight characters, or with a file name extension longer than three characters.
/y
Suppresses prompting to confirm that you want to overwrite an existing destination file.
/-y
Prompts you to confirm that you want to overwrite an existing destination file.
/z
Copies networked files in restartable mode.
/a
Indicates an ASCII text file.