域 (microsoft-shell-设置-自动登录-域) Domain (microsoft-windows-shell-setup-autologon-domain)

Domain 指定计算机要登录到的域。Domain specifies the domain to which the computer is logging on.

Values

Domain

指定计算机要登录到的域。Specifies the domain to which the computer is logging on. 是最大长度为256个字符的字符串。Domain is a string with a maximum length of 256 characters.

该字符串类型支持空元素。This string type supports empty elements.

有效的配置阶段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

specializespecialize

父层次结构Parent Hierarchy

Microsoft-Shell-安装程序 | 自动登录 | Microsoft-Windows-Shell-Setup | AutoLogon | Domain

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows Shell 设置For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup. Nano Server 映像中未配置此设置。This setting is not configured in a Nano Server image.

XML 示例XML Example

以下 XML 输出显示了如何设置自动登录。The following XML output shows how to set autologon.

<AutoLogon>
   <Password>
      <Value>MyPassword</Value> 
      <PlainText>true</PlainText>
   </Password>
   <Domain>FabrikamDomain</Domain>
   <Enabled>true</Enabled> 
   <LogonCount>2</LogonCount> 
   <Username>MyUserName</Username> 
</AutoLogon>

AutoLogonAutoLogon