Open the Registry Editor using [Windows] + [R] and “regedit”. Enter Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device. Double click on "DevicePasswordLessBuildVersion" and set the value to "0". Open User Accounts using [Windows] + [R] and netplwiz Uncheck the box beside “Users must enter a user name and password to use this computer”.