網域Domain

Domain 指定 Windows 部署服務的登入的網域名稱。Domain specifies the name of the domain for Windows Deployment Services login. 這是選用設定。This setting is optional. 它不需要網域指定為使用者主體名稱 (UPN) 在UsernameIt is not required if the domain was specified as a user principal name (UPN) in Username.

Values

Domain_nameDomain_name

指定網域名稱。Specifies the domain name. Domain_name是一個字串。Domain_name is a string.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

windowsPEwindowsPE

父階層Parent Hierarchy

microsoft-windows-setup- | WindowsDeploymentServices | Login | Credentials | Domainmicrosoft-windows-setup- | WindowsDeploymentServices | Login | Credentials | Domain

套用至Applies To

如需 Windows 版本與此元件支援的架構清單,請參閱microsoft-windows-安裝程式-For the list of the 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>

認證Credentials