<p><a href="http://wincert.net/wp-content/uploads/2015/01/windows-server.jpg"><img class="alignnone size-full wp-image-550" src="http://wincert.net/wp-content/uploads/2015/01/windows-server.jpg" alt="Windows Server" width="720" height="340" /></a></p>
<p>This tutorial will guide you through the process of creating auto-login feature using Group Policy Preference on <strong>Windows Server 2012 R2</strong> domain.</p>
<p>Open Group Policy Management</p>
<p>Create and link a new GPO on the desired folder in <strong>Group Policy Management</strong>.</p>
<p>Click to Edit Policy and navigate to:</p>
<p><strong>Computer Configuration | Preferences | Registry</strong></p>
<p>In the right pane click to create new Registry Item and enter the following values:</p>
<p>Action: <strong>Update</strong></p>
<p>Hive: <strong>HKEY_LOCAL_MACHINE</strong></p>
<p>Key Path: <strong>SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</strong></p>
<p>Value name: <strong>AutoAdminLogon</strong></p>
<p>Value type: <strong>REG_SZ</strong></p>
<p>Value data: <strong>1</strong></p>
<p><strong><img class=" size-full wp-image-464" src="http://wincert.net/wp-content/uploads/2014/11/gpeditor_autologin2.PNG" alt="" width="381" height="333" border="0" /></strong></p>
<p><!--more--></p>
<p>Note that you will only need to enter information in Key Path windows, Value name and Value data.</p>
<p>Repeat above steps to create additional 3 registry key settings:</p>
<p style="line-height: 15.8079996109009px;">Action: <strong>Update</strong></p>
<p style="line-height: 15.8079996109009px;">Hive: <strong>HKEY_LOCAL_MACHINE</strong></p>
<p style="line-height: 15.8079996109009px;">Key Path: <strong>SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</strong></p>
<p><span style="line-height: 15.8079996109009px;">Value name: </span><strong>DefaultDomainName</strong></p>
<p style="line-height: 15.8079996109009px;">Value type: <strong>REG_SZ</strong></p>
<p style="line-height: 15.8079996109009px;">Value data: <strong>%Yourdomainname%</strong></p>
<p style="line-height: 15.8079996109009px;"><strong> </strong></p>
<p style="line-height: 15.8079996109009px;">Action: <strong>Update</strong></p>
<p style="line-height: 15.8079996109009px;">Hive: <strong>HKEY_LOCAL_MACHINE</strong></p>
<p style="line-height: 15.8079996109009px;">Key Path: <strong>SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</strong></p>
<p><span style="line-height: 15.8079996109009px;">Value name: </span><strong>DefaultPassword</strong></p>
<p style="line-height: 15.8079996109009px;">Value type: <strong>REG_SZ</strong></p>
<p style="line-height: 15.8079996109009px;">Value data: <strong>%user password%</strong></p>
<p style="line-height: 15.8079996109009px;"><strong> </strong></p>
<p style="line-height: 15.8079996109009px;">Action: <strong>Update</strong></p>
<p style="line-height: 15.8079996109009px;">Hive: <strong>HKEY_LOCAL_MACHINE</strong></p>
<p style="line-height: 15.8079996109009px;">Key Path: <strong>SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</strong></p>
<p><span style="line-height: 15.8079996109009px;">Value name: </span><strong>DefaultUserName</strong></p>
<p style="line-height: 15.8079996109009px;">Value type: <strong>REG_SZ</strong></p>
<p style="line-height: 15.8079996109009px;">Value data: <strong>%username%</strong></p>
<p style="line-height: 15.8079996109009px;"><strong><br />
</strong>You should have the same settings as in the picture:</p>
<p style="line-height: 15.8079996109009px;"><img class=" size-full wp-image-465" src="http://wincert.net/wp-content/uploads/2014/11/gpeditor_autologin.PNG" alt="" width="680" height="253" border="0" /></p>
<p>Now all we have to do is run <strong>GPUPDATE /FORCE</strong> on the target machine and restart it.</p>
<p>Specified user should be now automatically logged in.</p>