EnabledEnabled

Enabled 指定是否啟用自動登入程序。Enabled specifies whether the automatic logon process is enabled.

Values

truetrue

啟用自動登入。Enables automatic logon.

falsefalse

停用自動登入。Disables automatic logon. 這是預設值。This is the default value.

有效的設定階段Valid Configuration Passes

auditSystemauditSystem

oobeSystemoobeSystem

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | AutoLogon | EnabledMicrosoft-Windows-Shell-Setup | AutoLogon | Enabled

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows Shell-安裝For a 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