Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
On basic GUID partition table (gpt) disks, assigns the gpt attribute(s) to the partition with focus. gpt partition attributes give additional information about the use of the partition. Some attributes are specific to the partition type GUID.
Changing the gpt attributes might cause your basic data volumes to fail to be assigned drive letters, or to prevent the file system from mounting. You should not change the gpt attributes unless you are an original equipment manufacturer (OEM) or an IT professional who is experienced with gpt disks.
||Specifies the value for the attribute that you want to apply to the partition with focus. The gpt attribute field is a 64-bit field that contains two subfields. The higher field is interpreted only in the context of the partition ID, while the lower field is common to all partition IDs. Accepted values include:
- 0x0000000000000001. Specifies that the partition is required by the computer to function properly.
- 0x8000000000000000. Specifies that the partition will not receive a drive letter by default when the disk is moved to another computer or when the disk is seen for the first time by a computer.
- 0x4000000000000000. Hides a partition's volume. That is, the partition will not be detected by the mount Manager.
- 0x2000000000000000. Specifies that the partition is a shadow copy of another partition.
- 0x1000000000000000. Specifies that the partition is read-only. This attribute prevents the volume from being written to.
for more information about these attributes, see the attributes section at create_PARTITION_PARAMETERS Structure (https://go.microsoft.com/fwlink/?LinkId=203812).
- The EFI System partition contains only those binaries necessary to start the operating system. This makes it easy for OEM binaries or binaries specific to an operating system to be placed in other partitions.
- A basic gpt partition must be selected for this operation to succeed. Use the select partition command to select a basic gpt partition and shift the focus to it.
Examplesif you are moving a gpt disk to a new computer and would like to prevent that computer from automatically assigning a drive letter to the partition with focus, type: