> ## Content Index
> Fetch the complete content index at: https://blog.melardenio.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Auto-Login Windows 2008 Server R2 and Windows 7
- URL: https://blog.melardenio.com/auto-login-windows-2008-server-r2-and/
- Published: 2012-10-20T04:42:00.000Z
- Updated: 2012-10-20T04:42:51.000Z
- Author: Rommell Ardenio
- Tags: Software & Homelab

I've been exhausted with the engineers calling me now and then because they forgot the password and login on their windows server 2008 R2 and Windows 7 Desktop. In the Etere Automation Environment as like this where one workstation is sert to only one login. It is best advice to edit the registry with the hack on AUTO-Login. Here below is a copy from the superuser.com website. I love to put it here on my webblog for reference. I actually search my website every now and then. I just put site:melardenio.com and then "keyword". Voila I can again read and was able to accomplish my task.**Step 1**As a local administrator, tell Windows to allow admins to log on automatically.In Regedit, browse to `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon`. If it is not there, create a new String Value called `AutoAdminLogon`Set this value to 1**Step 2**Tell Windows to remember the password for logging in.In the run box, type `control userpasswords2` Ensure your domain username is in the list, if not, add it. Untick (or tick and untick): *Users must enter a user name and password to use this computer.* Make sure your username is selected. Click Apply.At this point, Windows should prompt for the password that will be used.**Step 3**Now head back to `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon` Ensure the following String Values are set, if not, set them:

- `DefaultUserName`: Your domain username (without the domain prefix)
- `DefaultDomainName`: Your domain

That should be it.**Note on password changes:**You will need to redo this procedure from step 2 each time you change your password. Unfortunately Windows resets the DefaultDomainName to your local machine name every time you save that dialogue, so you have to change it back manually.Source: http://superuser.com/questions/28647/how-do-i-enable-automatic-logon-in-windows-7-when-im-on-a-domain