how to enable automatic login in windows 8

Solution 1:

Press Win + R and enter:

netplwiz

enter image description here

Uncheck the Users must enter a user name and password to use this computer check box and then hit apply.

enter image description here

This will bring up a dialog which will ask for your password, enter it and hit OK.

enter image description here

When you restart your PC next, you should be automatically logged in.

Solution 2:

Start the User Accounts settings by running netplwiz (Win + R). Uncheck the box

Users must enter a user name and password to use this computer

enter image description here

More information