網域 (microsoft-windows-shell-setup-autologon-domain)

Domain 指定電腦正在登入的網域。

網域

指定電腦正在登入的網域。 網域 是長度上限為 256 個字元的字串。

這種字串支援空的元素。

有效的組態傳遞

auditSystem

oobeSystem

特殊化

父階層

Microsoft-Windows-Shell-Setup | AutoLogon |

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-Shell-Setup。 此設定未在 Nano Server 映射中設定。

XML 範例

下列 XML 輸出示範如何設定自動記錄。

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

AutoLogon