WindowsDeploymentServices

注意

这些设置不适用于 Windows 11

WindowsDeploymentServices 是用于 Windows 部署服务设置的容器,它是远程安装服务 (RIS) 经过重新设计的更新版本。 可以使用它通过基于网络的无人参与的安装来设置新计算机。

这些设置特定于 Windows 部署服务安装,并且对于使用 Windows 部署服务客户端进行完全自动化安装是必需的。

子元素

设置 说明
ImageSelection 指定映像名称和组、要安装的任何语言包、安装位置,以及是否显示用户界面 (UI)。
登录 指定用于登录到 Windows 部署服务的凭据。

有效配置阶段

windowsPE

父层次结构

Microsoft-Windows-Setup | WindowsDeploymentServices

应用于

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Setup

XML 示例

以下 XML 输出显示了完整的 Windows 部署服务部署。

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

Microsoft-Windows-Setup