PartitionID specifies the partition ID of the partition to which the image is installed.

Values

Partition_ID

Specifies the partition ID of the partition to which the image is installed. This sequence starts with 1. The boot drive is usually set to 1, but if there is a hidden partition, you might have to install the image to partition ID 2.

Partition_ID is a string.

Valid Passes

windowsPE

Parent Hierarchy

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-Setup.

XML Example

The following XML output shows a complete Windows Deployment Services deployment.

  Copy Code
<WindowsDeploymentServices>
   <Login>
	<WillShowUI>OnError</WillShowUI>
	<Credentials>
		 <Username>Administrator</Username>
		 <Domain>MY-DOMAIN-NAME</Domain>
		 <Password>********</Password>
	</Credentials>
   </Login>
  <ImageSelection>
	<WillShowUI>OnError</WillShowUI>
	<InstallImage>
		 <ImageName>MY_IMAGE_NAME</ImageName>
		 <ImageGroup>My IMAGE GROUP</ImageGroup>
	</InstallImage>
	<InstallTo>
		 <DiskID>0</DiskID>
		 <PartitionID>1</PartitionID>
	</InstallTo>
   </ImageSelection>
</WindowsDeploymentServices>
<DiskConfiguration>
   <WillShowUI>OnError</WillShowUI>
   <Disk>
	<DiskID>0</DiskID>
	<WillWipeDisk>false</WillWipeDisk>
	<ModifyPartitions>
		 <ModifyPartition>
			<Order>1</Order>
			<PartitionID>3</PartitionID>
			<Letter>C</Letter>
			<Label>TestOS</Label>
			<Format>NTFS</Format>
			<Active>true</Active>
			<Extend>false</Extend>
		 </ModifyPartition>
	</ModifyPartitions>
   </Disk>
</DiskConfiguration>

See Also

Concepts

InstallTo