Autologin on Windows Server 2012

Open ‘regedit’

Navigate to the following key : HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon

Create following strings :
AutoAdminLogon = 1
DefaultUsername = EnterUserName
DefaultPassword = EnterPassword

Restart computer