- Open an elevated CMD prompt and enter the following (all on one line):
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon /t REG_SZ /d "1" /f
- Click Start, Run and enter control userpasswords2
- Clear the checkbox for Users must enter a user name and password to use this computer and click OK
- Enter the user name and password that will be used for automatic logon and click OK
提示:没有加入Windows Domain的Windows 2008也可以通过上面的办法自动登录
参考:
http://www.expta.com/2008/04/how-to-enable-autologon-for-windows.html