Autologon Win7 – W2K8

am Mai 11, 2012 in Microsoft, Win7-W2K8

here’s how to get the missing checkbox back and configure Autologon:

reg add "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v AutoAdminLogon /t REG_SZ /d "1" /f

control userpasswords2

You may find that you need to configure the default domain, as well. If so, enter the following (all on one line) at a CMD prompt, edited to user your domain name:

reg add "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v DefaultDomainName /t REG_SZ /d "domain" /f

####################################################

Once you join a server to a domain, Windows will automatically delete the AutoAdminLogon value from the HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon registry key. This causes the userpasswords2 control to hide the „Users must enter a user name and password to use this computer“ check box shown above.

Here’s how to get the missing checkbox back and configure Autologon:

* Open a CMD prompt and enter the following (all on one line):

reg add "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /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 Autologon and click OK

You may find that you need to configure the default domain, as well. If so, enter the following (all on one line) at a CMD prompt, edited to user your domain name:

reg add "HKLMSOFTWAREMicrosoftWindows NTCurrentVersionWinlogon" /v DefaultDomainName /t REG_SZ /d "domain" /f

When the computer starts up the account you specified will be logged in automatically. Note that the password is encrypted on the computer.

This tip works for Windows 7, Windows Server 2008, and Windows Server 2008 R2.

Links:
http://www.expta.com/2008/03/how-to-enable-autologon-in-windows.html
http://www.expta.com/2008/04/how-to-enable-autologon-for-windows.html