Open “Run …” Dialog ( through start menu or by pressing windows key + R )
type the following command in Run field and press enter :
control userpasswords2
uncheck “User must enter a username and password to use this computer” and Click on Apply.
it will ask for password , fill the password fields and click on OK.
Done 🙂