Software & AppsOperating SystemWindows

How To Setup Windows Auto Login

Windows Auto Login

Login credentials are the first line of defense to protect confidential files on your Windows PC, especially in public workspaces; however, if you need to pull the information fast, entering the username and password after each system restart can be tiresome.

Automating the login process is a great way to speed up the boot process of Windows OS. We have researched devotedly to write a step-by-step guide for you on setting up Windows Auto Login and what additional security steps you need to take after disabling the sign-in screen.

What Is Windows Auto Login?

When you turn on your Windows PC, you are asked to sign in with a Microsoft account. If your computer is not shared or used in a safe workplace with a private network, you may no longer wish to see the login screen after each boot.

Windows Auto Login feature eliminates the process of entering your username and password by skipping the login screen. Hence, you save your time and get to the desktop faster to work on your stuff.

How Do I Setup Windows Auto Login?

Setting up the Windows Auto Lock feature is a little tricky. But, our step-by-step instructions will guide you to go through the whole process quickly and easily.

We’ll also discuss locking your PC screen after disabling Windows sign-in. So, here are the three methods of setting up Windows Auto Login on your computer.

Method #1: Setting up Windows Auto Login with User Accounts

In the first method, you will use Windows User Account to set up Windows Auto Login.

  1. Press Windows Key+R on your keyboard to open the Run dialog box.
  2. Type in “netplwiz” in the Run box and hit Enter.
  3. In the new screen, uncheck the “Users must enter a username and password to use this computer” box, and hit Apply to save changes.

You’ll still see the login screen on the following system restart with this method. However, you won’t need to enter your password anymore.

Method #2: Setting up Windows Auto Login with Registry Editor


Altering registry values can negatively affect your PC health if not done correctly. Before proceeding with the following steps, create a recovery point on your PC first.

Step #1: Access Windows Registry

In the first step, you need to access the “Winlogon folder” in the Windows Registry Editor.

  1. Press the Windows key + R on your PC keyboard to open the Run dialog box.
  2. Type in Regedt32.exe and click on OK.
  3. Once in the registry editor, navigate to the “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” folder.
Windows Run Prompt

Step #2: Choose Registry items

In this step, you have to define the registry values that need to be changed.

  1. In the right pane, search and double-click the DefaultUserName entry.
  2. Now, type in your username when prompted and click OK.
  3. Next, search and double-click the DefaultPassword entry.
  4. Now, enter your password on the prompt and select OK.

Note: If you don’t have a DefaultPassword entry, go to the Edit option at the top of the Registry editor box. Now select New and click on String Value. Name the String Value as DefaultPassword and hit Enter.

Step #3: Change Registry values

In the last step, you need to create an entry for Windows Auto login.

  1. Go to Edit > New > String Value, type AutoAdminLogon, and click OK.
  2. Next, double-click on the AutoAdminLogon string value and type “1” in the Value Data field in the Edit String box.
  3. Finally, press Ok, exit the Registry Editor and restart your PC.

Now you won’t see the login screen the next time you restart Windows.

Method #3: Setting up Windows Auto Login with Registry Domain Account

In the last method, you’ll access Registry Editor with administrative rights to add a new string value for Auto Login.

  1. Navigate to the “Winlogon” folder in the Registry Editor as mentioned in the previous method.
  2. Add your domain name by double-clicking the DefaultDomainName string.
  3. Next, add your domain username by double-clicking the DefaultUserName string.
  4. Next, add your user password by double-clicking the DefaultPassword string.
  5. Go to Edit > New > String Value and create a new AutoAdminLogon string.
  6. In the right pane, double-click the AutoAdminLogon string and change the Value Field to “1”.
  7. Finally, exit the Registry Editor and reboot your PC.

Enabling Windows Auto-Lock Feature

Although the Window Auto Login feature can be convenient for you, your PC may still be under a severe threat in a public environment, even if you are the only one using it. Any person can physically access your PC and hack all your data, including the data of other computers within the same network.

So, when you are done setting up the Windows Auto Login, enable the Windows Auto-Lock feature so that the PC locks itself automatically whenever you step away from it.

To enable Windows Auto Lock, go to PC Settings > Accounts > Sign-in options.  In the right pane under Dynamic Lock, check the box that says, “Allow Windows to automatically lock your device when you’re away.”


In this guide about setting up Windows Auto Login, we have discussed setting up the Auto Login feature through user accounts and registry settings. We also discussed enabling the Windows Auto-Lock feature to add a layer of security in a multi-computer system environment.

Hopefully, the step-by-step methods in this guide helped you disable the sign-in screen. Now you can access your desktop sooner and lock your PC screen automatically when you take a break from work.

Frequently Asked Questions

How do I disable Windows Auto Login?

To disable Windows automatic login, type netplwiz in the Run dialog box, check the “Users must enter a username and password to use this computer” box, and save the changes.

To do this through the Registry Editor, go to the “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” folder and set the Value data of the AutoAdminLogon registry string to “0”. Afterward, restart your PC.

Can I set up Windows Auto Login for individual User Accounts?

Yes, you can. When you access the User accounts section by typing the netplwiz command, select a username from the list and uncheck the “Users must enter a username and password to use this computer” box.

Leave a Comment

Your email address will not be published. Required fields are marked *