2008-09-22

Automatic logon

There are three ways to get this done.

First, you can edit the registry. Point regedit to the section called "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" and edit the following string-keys:
  • DefaultUser
  • DefaultPassword
  • DefaultDomain
  • AutoAdminLogon (set to "1")


Alternatively, you can create a script called "Winlogon MyUserName.reg":


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="MyUserName"
"DefaultDomainName"="MYNETWORK"
"AutoAdminLogon"="1"
"DefaultPassword"="MyUserPassword"



Finally you can download "TweakUI" (Power Toys for Windows XP) and use this tool instead.