automatic login to windows

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

"DefaultUserName"="username"

"AutoAdminLogon"="1"

"DefaultDomainName"="domain"

"DefaultPassword"="password

if you want to login as someone else, press shift before login

run: shell:startup //to add programs to start automatically



Note If the DefaultUserName or DefaultPassword value does not exist, it must be added. To add the value, follow these steps:

  1. On the Edit menu, click New, and then point to String Value.
  2. Type DefaultPassword, and then press Enter.
  3. Double-click DefaultPassword.
  4. In the Edit String dialog, type your password and then click OK.