Retain

 

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

Prepares an existing dynamic simple volume to be used as a boot or system volume.

Syntax

retain

Remarks

  • On a master boot record (MBR) dynamic disk, this command creates a partition entry in the master boot record.

  • On a GUID partition table (GPT) dynamic disk, this command creates a partition entry in the GUID partition table.

Additional references

Command-Line Syntax Key

DiskPart Commands