Automatic login for Windows Server 2012 R2

Published:

Installed Windows Server on a VM, and the method I've used earlier apparently isn't available in the server version of Windows. Found you can still do it through the registry. Either stick the following in a reg file, adjust and run, or just set the values manually through regedit.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"=dword:00000001
"DefaultUserName"="Administrator"
"DefaultPassword"="ThePassword"

No longer need to login every time I boot up my virtual test server...