Article ID: 221477 - Last Review: February 23, 2007 - Revision: 4.2 Autologon and AutoLogonCount Parameters for Windows Unattended SetupThis article was previously published under Q221477 SUMMARY
Windows unattended Setup parameters include an option to log on the administrator automatically and the number of times this will occur. These items are specified in the [GuiUnattended] section of the answer file:
Autologon = YES|NO
This behavior may be useful in deployment scenarios in which a reboot is required before continuing, but you do not want to leave this feature enabled.
AutoLogonCount = %number_of_logons% MORE INFORMATION
The values are placed in the following registry location:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Each time the computer is restarted and the administrator is automatically logged on, the AutoLogonCount value is decremented by one until the count reaches zero. The automatic logon occurs only when the computer is rebooted, not when the user logs off. Once the AutoLogonCount value reaches zero, the AutoAdminLogon value is set to 0 (disabled), and the AutoLogonCount value in the Winlogon key is removed. NOTE: For the automatic administrator logon to work, the Administrator account must have a password. a null passwords is allowed only one time before the AutoAdminLogon value is set to 0 (disabled). | Article Translations
|

Back to the top
