AutoLogon
specifies the account to use to log on to
a computer automatically. AutoLogon
credentials are
deleted from the unattended installation answer file after Windows®
Setup is complete.
Important |
---|
Make sure AutoLogon is disabled on computers that
are delivered to customers. |
For more information about the built-in administrator account, see the How to Enable and Disable the Built-in Administrator Account topic in the Windows® Assessment and Deployment Kit (Windows ADK) Technical Reference.
Note |
---|
These settings are valid for upgrades. |
Child Elements
Specifies the domain to which the computer is logging on. |
|
Specifies whether the automatic logon process is enabled. |
|
Specifies the number of times that the account has been used.
|
|
Specifies the password for the account that is used for automatic logon. |
|
Specifies the user account name that is used for automatic logon. |
Valid Configuration Passes
auditSystem
oobeSystem
specialize
Parent Hierarchy
Microsoft-Windows-Shell-Setup | AutoLogon
Applies To
For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
XML Example
The following XML output shows how to set automatic logon.
Copy Code | |
---|---|
<AutoLogon> <Password> <Value>MyPassword</Value> </Password> <Domain>FabrikamDomain</Domain> <Enabled>true</Enabled> <LogonCount>2</LogonCount> <Username>MyUserName</Username> </AutoLogon> |