次の方法で共有


Enabled

Enabled specifies whether the autologon process is enabled.

Values

true

Enables automatic logon.

false

Disables automatic logon. This is the default value.

Valid Passes

auditSystem

oobeSystem

specialize

Parent Hierarchy

Microsoft-Windows-Shell-Setup | AutoLogon | Enabled

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

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>

See Also

Concepts

AutoLogon