How can I set the number of times autologon executes?

John Savill

October 10, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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:

  1. Start the registry editor (regedit.exe).

  2. Navigate to HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon.

  3. From the Edit menu, select New, String value.

  4. Enter a name of AutoLogonCount, and press Enter.

  5. Double-click the new value, and enter the number of times you want autologon to occur.

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

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like