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

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | AutoLogon | DomainMicrosoft-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