1.start->run->control userpasswords2
2.clear the Users must enter a username and password to use this computer check box.
3.click apply.
4.enter the user name and password you wish to automatically log on with, and then click ok.
5.click ok.
6.reboot