How to automatically logon to Windows 7

Press Windows Key + R and type:

netplwiz

At the User Accounts window :
netplwiz

Select the user account that you want Windows to auto-logon to.

Then uncheck the checkbox labeled Users must enter a user name and password to use this computer

Click OK and you would see another dialog box Automatically Log On dialog box pop-up.

Type the select user account password twice and click OK