A new Group Policy object for Windows Server 2012 R2 that applies to Windows 8.1 and Windows 8.1 RT, is the ability to have the remote computer to boot directly into the last logged-on user's Windows session, just as they left it.
When this GPO is enabled, the user's credentials are stored during a restart and then used to automatically logon when the computer fully reboots. It stores the user's logon username, domain information, and password.
If you'd like to enable this function on Windows 8.1 and Windows 8.1 RT computers, open the Group Policy editor on Windows Server 2012 R2 and navigate to:
Computer Configuration\Windows Components\Windows Logon Options
In the Windows Logon Options tree look for Sign-in last interactive user automatically after a system-initiated restart and enable it.