To enable the system to perform an automatic logon, perform the following steps:
Go to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
In registry key, set the following parameters:
DefaultDomainName
DefaultPassword
DefaultUserName
For more information about how to enable automatic logon on Windows, see the link.