PartitionID (windowsdeploymentservices-imageselection-installto-PartitionID) PartitionID (microsoft-windows-setup-windowsdeploymentservices-imageselection-installto-partitionid)

PartitionID 指定映像所安装到的分区的分区 ID。PartitionID specifies the partition ID of the partition to which the image is installed.

Values

Partition_IDPartition_ID

指定映像所安装到的分区的分区 ID。Specifies the partition ID of the partition to which the image is installed. 此顺序从1开始。This sequence starts with 1. 启动驱动器通常设置为1,但如果存在隐藏分区,则可能必须将映像安装到分区 ID 2。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 是一个字符串。Partition_ID is a string.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | WindowsDeploymentServices | ImageSelection | InstallTo | PartitionIDmicrosoft-windows-setup- | WindowsDeploymentServices | ImageSelection | InstallTo | PartitionID

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-For a list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 示例XML Example

下面的 XML 输出显示了一个完整的 Windows 部署服务部署。The following XML output shows a complete Windows Deployment Services deployment.

<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>

InstallToInstallTo