Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. Click on Start and type Regedit, administrator privileges are required to run the Registry Editor. Alternatively use the Win+R Run dialog.

2. Navigate to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

winlogon key in registryImage Modified

3. There are three main registry values in the Winlogon key which need editing or creating, a fourth if you want to log on via a domain. They are DefaultUserName, DefaultPassword, DefaultDomain and AutoAdminLogon. The AutoAdminLogon value will already be present but the others may or may not be depending on your system. If they are not there, add each one as needed.

Right click on Winlogon key > New > String Value and name it DefaultUserName

Right click on Winlogon key > New > String Value and name it DefaultPassword

(Optional) Right click on Winlogon key > New > String Value and name it DefaultDomain

enter new value winlogon keyImage Modified

4. Once the required three or four values are present, double click on each one in turn and edit its Value data to match the user you want to set up as auto logon.

DefaultUserName – The name of the user to auto logon with.

DefaultPassword – The password of the above user.

DefaultDomain – (Optional) The domain to log onto, ignore if you’re not part of a domain.

AutoAdminLogon – Enable or disable auto logon, enter 1 to enable, 0 to disable.

edit winlogon registry valuesImage Modified
Read More: https://www.raymond.cc/blog/auto-login-windows-xp-without-typing-password/