When the system boots, the Winlogon process reads these entries. If AutoAdminLogon is set to 1, Windows retrieves the credentials specified and attempts to authenticate the user silently.
: Enter your account username (use your email address if it's a Microsoft account). DefaultPassword : Enter your account password.
In the Registry Editor, go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Create or modify these (REG_SZ): AutoAdminLogon : Set to 1 .
Locate the value on the right. Double-click it and change the Value Data from 2 to 0 . Restart your computer. Step 2: Configure Automatic Login
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoAdminLogon reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName

]
]
]
]
]
