登录Login

Login 指定用于 Windows 部署服务登录名,并在何种情况下,显示用户界面 (UI),用于登录的凭据。Login specifies the credentials used for Windows Deployment Services login and in what circumstances the user interface (UI) is displayed for login.

子元素Child Elements

设置Setting 描述Description
凭据Credentials 指定 Windows 部署服务登录名的凭据。Specifies the credentials for Windows Deployment Services login.
WillShowUIWillShowUI 指定在什么情况下显示的用户界面为 Windows 部署服务登录名。Specifies in what circumstances the UI is displayed for Windows Deployment Services login.

有效配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

Microsoft-Windows-Setup | WindowsDeploymentServices | LoginMicrosoft-Windows-Setup | WindowsDeploymentServices | Login

适用于Applies To

有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows 安装程序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>

WindowsDeploymentServicesWindowsDeploymentServices