A. By default, autologon will log on a defined user account each time the machine starts. However, in some circumstances, you might want automatic logon to occur only a defined number of times (e.g., unattended installations require autologon only once). To set the autologon count, perform the following steps:
- Start the registry editor (regedit.exe).
- Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon.
- From the Edit menu, select New, String value.
- Enter a name of AutoLogonCount, and press Enter.
- Double-click the new value, and enter the number of times you want autologon to occur.
- Close the registry editor.
Each time autologon occurs, the AutoLogonCount will decrement by one. After this value reaches 0, Windows will disable autologon and remove all registry values related to this setting.