Explanation In the registry, add a default user name and a default password in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon sbukey. Reference: https://support.microsoft.com/en-us/help/324737/how-to-turn-on-automatic-logon-in-windows