Windows 10 can be configured automatically log into the user account. It does not matter if the computer is on domain or just a workstation.
Follow the below procedure to force Windows 10 to avoid asking user to input user name and password:
- Type regedit in Search Windows box and hit Enter.
- Navigate to the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Double-click the DefaultUserName entry, type the user name to log on with, and then click OK. If DefaultUserName registry value name is not present then create the new String Value (REG_SZ) with value name as DefaultUserName.
- Double-click the DefaultPassword entry, type the password for the user account under the value data box, and then click OK.If DefaultPassword entry is not present create a new String Value subkey (REG_SZ) with DefaultPassword as the value name. Please note if we donot specify DefaultPassword string, Windows automatically changes the value of the AutoAdminLogon registry key from 1 [True] to 0 [False] to turn off the AutoAdminLogon feature.
- DefaultDomainName has to be specified else Windows will prompt of invalid user name To do so, double click on DefaultDomainName, and enter the Domain Name of the user account. For a local user, specify the local host name. If the DefaultDomainName string is not present then create a new String Value (REG_SZ) registry key with value name as DefaultDomainName.
- Double-click the AutoAdminLogon entry, type 1 in the Value Data box, and then click OK. If AutoAdminLogon entry is not present, create a new String Value entry (REG_SZ) with AutoAdminLogon as the value name.
- If you find AutoLogonCount, delete that key.
- Quit Registry Editor.
- Click Start, click Restart, and then click OK.
After the reboot, Windows 10 can log on automatically to the predefined user in the registry.