Export (0) Print
Expand All

Convert gpt

Updated: April 17, 2012

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

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.

For instructions regarding how to use this command, see Change a Master Boot Record Disk into a GUID Partition Table Disk (http://go.microsoft.com/fwlink/?LinkId=207049).

convert gpt [noerr]

 

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.

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

  • The required minimum disk size for conversion to GPT is 128 megabytes.

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

To convert a basic disc from MBR partition style to GPT partition style, type:

convert gpt

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft