Autologon and AutoLogonCount Parameters for Windows 2000 Unattended Setup

ID: Q221477


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server


SUMMARY

Windows 2000 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 [GuiUnattend] section of the answer file:

Autologon = YES|NO
AutoLogonCount = %number_of_logons%
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.


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).

Additional query words:

Keywords : kbenv kbsetup
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.