summary
This article describes how to configure Windows to automate the login process by storing passwords and other related information in the registry database. This feature allows other users to launch your computer and automatically log in with your account. Important: If automatic login is enabled, Windows XP will be more convenient. However, using this feature will bring security hazards.
More information
WARNING: If you use improper use of the registry editor, you may need to reinstall the operating system. Microsoft does not guarantee that you can solve problems caused by improper use of registry editors. Use Registry Editor at your own risk. If the computer is set to automatically logged in, any user of this computer can also access this computer (including all the networks connected to this computer). Also, if an automatic login is enabled, the password will be stored in the registry in a pure text format. The Authenticated User Group can remotely read the specific registry key that stores this value. Therefore, this setting is only suitable for the safety of the computer's security is indeed reliable and ensures that the user cannot remotely access the registry. Add login information using the Registry Editor (Regedit.exe):
Click Start, click Run, type regedit, and then click OK Start the Registry Editor. Find the following registration item: HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / WindowsNT / CURRENTVERSION / WINLOGON Use your account name and password and in the absence of the DEFAUSERNAME entry, type your username, and then click OK. Double-click the DEFAULTPASSWORD entry, type your password under the numeric data box, and then click OK. If there is no DEFAULTPASSWORD value, follow these steps to create this value:
On the Registry Editor menu, click Edit, New and String Values in turn. Type DEFAULTPASSWORD as a numeric name, then press ENTER. Double-click the newly created item and type your password in the Value Data box. If the defaultwordword string is not specified, Windows automatically change the value of the AutoAdminLogon item from 1 (true) to disable the AutoAdminLogon function. Double-click the AutoAdminLogon entry, type 1 in the value data box, and then click OK. If there is no AutoAdminLogon entry, follow these steps below: Create this entry:
On the Registry Editor menu, click Edit, New and String Values in turn. Type AutoAdminLogon as a numeric name, then press Enter. Double-click the newly created item and type 1 in the value data box. Exit Registry Editor. Click Start, click Restart, and then click OK. When the computer restarts and the Windows is started, you can log in.
To bypass the automatic login process and log in as other users, press and hold the Shift key after logout or after Windows restart. Note that this process is only available for the first login. To enforce this setting for future logout, the administrator must set the following registry key:
HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / WindowsNT / CURRENTVERSION / WINLOGON Numerical: ForceAutologon Type: REG_SZ Data: 1
In Windows XP Home Edition and Windows XP Professional, you can also enable automatic login by following these steps without editing registry: Click Start, and then click Run. In the Open box, type Control Userpasswords2, and then click OK. In the dialog that appears, clear "To use the unit, the user must enter the username and password" check box, and then click OK.
The information in this article applies to:
Microsoft Windows XP Home Edition Microsoft Windows XP Professional Microsoft Windows XP 64-Bit Edition