Modify the registry to let the system automatically log in

  
        

After entering the Windows XP desktop, a user login screen will appear, asking for a username and password. The advantage of this is that security is guaranteed in an environment where multiple people use a computer. However, if the computer is just for you to use, you must enter your password every time, which is really annoying. To cancel this login step, you can do this by modifying the Winlogon project in the registry file. However, it is necessary to remind everyone before the modification, the consequence of this is that your password will be stored in the registry file in plain text. In other words, as long as someone can open your registry file, he will know your login password. After understanding these situations, if you still want to change, you can follow these steps:

Step 1: Run the Registry Editor, expand the [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon] branch, and then double-click "DefaultUserName" in the right window. Then enter your login username. If there is no preset user name, you can add this item by clicking "Edit → New → String Value (s) → DefaultUserName" in the menu bar of the Registry Editor. Note that you should distinguish between uppercase and lowercase letters.

Step 2: Also under the branch, double-click "DefaultPassword" in the right window of the Registry Editor and enter your password in the blank field. If the "DefaultPassword" item is not found, follow the steps above to create the string value.

Step 3: Next double-click "AutoAdminLogon" in the right window and set the value to "1". If "AutoAdminLogon" is not found, follow the steps above to create a new one.

Now close the Registry Editor and restart your computer. Later you will find that the annoying login dialog is gone.

Copyright © Windows knowledge All Rights Reserved