Configure automatic logon for a Windows 7 domain or workgroup PC

Want to automatically log into your Windows 7 computer without entering a password? In previous versions of Windows, you had to remove the password associated with your account to log in without any prompts.

In Windows 7, you can configure your user accounts so that you can log in automatically even if your account has a password. This is really useful for people who keep their computers in safe places or just don’t care about extra security.

In this article, I will tell you how to configure this for a home computer and for a computer that is joined to a domain. If you’re on a domain, you have to hack the registry a bit to make it work.

  How to Remotely Shut Down or Restart a Windows Computer

Automatic connection setup for Windows 7 Workgroup PC

It’s pretty straightforward. Click on Start, then type the following in the Command box and press Get in:


This will open the advanced properties dialog for the user account. You can also access this screen by typing Class in the command box, then typing

control userpasswords2

in the run dialog. Either way, you will get the same dialog.

Go ahead and uncheck the box that says «Users must enter a username and password to use this computer.«

When you uncheck it and click OK, you will be prompted to enter your current password for the currently registered user account.

  Steam | Valve publishes list of most used controls on PC

That’s! Now restart your computer and you should be good to go. No need to enter a password or click on one of these user icons. It will just automatically log you into Windows 7.

Set up automatic logon for a computer with a Windows 7 domain

If you’re domain-joined, you’ll follow the same steps, but you’ll quickly notice that the checkbox option is completely missing. So how do you get it back? With a registry setting.

Open Registry Editor (Start, then type regedit) and access the following key:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonAutoAdminLogon

As you can see, the value should be set to 1. If it is , the check box will not appear. Go ahead, change the value to 1 and restart your computer. Now open the dialog and you should see the checkbox.

  A new virus for Windows fills our mailboxes with spam

However, it can be unchecked. So you need to check the box, click OK, then go back to the dialog and uncheck it again. At this point, it will ask for your login details and you should be good to go.

Additional tip: If the above method for automatic login for Windows 7 domain does not work, you can try to make automatic login work by changing three more values ​​in the same registry location mentioned above.

If they don’t already exist, you can add these three keys below in Winlogon:

DefaultDomainName (String)

DefaultUserName (String)

DefaultPassword (String)

Set the keys to their appropriate values ​​and restart your computer. This was the method to automatically connect a Windows XP computer to a domain, but you can still use it for Windows 7! Enjoy!

  Windows 8 could prevent the installation of Linux