How to Enable Auto-Login in Windows 10

Logins and passwords are a wonderful way to safeguard your information from prying eyes, especially if you use public workspaces. However, if you’re using your computer in a safe place with a private network, logging in all the time can get tedious. If you want to cut through all that red tape and get to your desktop screen faster, auto logins are the answer.

How to Enable Auto-Login in Windows 10

Keep reading to find out more about auto sign-ins and other automatic features on Windows 10.

How to Enable Auto Login in Windows 10

When you enable auto logins in Windows 10, you’re bypassing that annoying password screen and getting straight to your desktop. Sounds like a time-saver, right?

The quickest way to make it happen is to follow the steps below:

  1. pressing the Windows key + R or you can go to the hidden quick access menu using the Start button.

  2. Type netplwiz into the Run window and click on the OK button.

  3. At the very top, there’s a box that says, “Users must enter a username and password to use this computer.” Uncheck this box and click on the Apply button.

  4. Another window appears that asks for your username and password for confirmation. Enter the required information and select OK a final time.

Keep in mind that you’ll see the sign-in screen the next time you restart your computer, but you won’t need to enter a password anymore. Using the following steps also bypasses the Lock Screen as well.

How to Disable the Lock Screen with the Windows 10 Registry

Changing your registry is never a simple process. It can have negative effects on your system if you perform a step wrong. Before you start these steps, therefore, you may want to back up any important information on your computer first.

  1. Go to your Start menu and select Run. You can also press the Windows logo key + R to get the same text box.

  2. Type or paste “Regedt32.exe” in the Run text box and hit the Enter button when you’re done.

  3. The Registry Editor tool has a variety of folders in the left pane. The exact folder location you’re looking for is:

  4. Double-click on the entry named DefaultUserName. In the next window, type your username and select OK.

  5. Now you must create a new value for Windows 10 to run on startup. Again, go to the Edit menu, select New, and click on String Value.

  6. Enter AutoAdminLogon for the new string value and click the Enter/OK button.

  7. Double-click on the new string value AutoAdminLogon, go to the Edit String box and type the number “1” in the Value data field.

  8. Click on Enter/OK again.

  9. For the changes to occur, exit the Registry Editor and restart your computer.

How to Enable Auto Login with the Windows 10 Domain Account

Enabling auto-login with a domain account means changing the registry and adding a new key for auto-login. Also, you need domain administrator rights to make changes to the registry. It’s a relatively simple process, though. This is how to get started:

  1. Open the Registry Editor by typing “regedit” in the Windows Search box or use Run and type “Regedt32.exe“, without the quotes.

  2. Find the following key in the folders located in the left-hand pane: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

  3. Double-click on DefaultDomainName and add your domain name

  4. Double-click on DefaultUserName and add your username.

  5. Double-click on DefaultPassword and add your user password.

  6. Add the new key, AutoAdminLogon, by going to Edit > New > String Value.

  7. Double-click on AutoAdminLogon and edit the value of the field to “1.”

  8. Exit the Registry Editor and restart the computer.

How to Enable Auto Lock in Windows 10

Did you know that you can set your PC to automatically lock whenever you step away from it? Windows uses devices paired to your computer to detect when you step out of range and forget to set the lock screen. This is how you enable Dynamic Lock on your PC:

  1. Press the Start button and go to Settings.

  2. Then, click on Accounts.

    Windows Settings Menu
  3. Next, click on Sign-in options.

  4. Now, select Allow Windows to automatically lock your device when you’re away under Dynamic Lock.

The next time you step away from your computer, take your phone with you because Dynamic Lock works with Bluetooth. Within a minute or two of being out of range, Windows automatically locks your PC without any extra steps from you.

Additional FAQs

What If I Don’t Have a DefaultPassword entry?

Some users may not have a DefaultPassword entry. If you don’t, you can create it manually by following the steps below:

  1. Go to the Edit menu, select New and then String Value.

  2. Name the new value as DefaultPassword and click Enter.

Now, you can double-click on DefaultPassword and enter your password when prompted.

How Do I Enable a Guest Account on Windows 10?

Windows 10 doesn’t have a Guest account feature. Microsoft removed this ability in 2015 with build 10159. Using any of the tutorials online involving changes to the registry or using a command prompt could mess up your computer.

A Word About Registry Changes

You can find many resources online that casually advise you to make changes in your computer’s registry. But be careful about how you do this because a mistake can create some real problems in your computer’s operating system.

If you must make changes, create a restore point first just in case anything goes wrong. Or ask someone who has experience changing registries to do it for you. Automatic features can make life easier, but not at the expense of your PC.

What are some automatic features you can’t live without? Which ones do you always disable? Tell us about it in the comments section below.

7 thoughts on “How to Enable Auto-Login in Windows 10”

dave says:
Missing is the reg setting to remove the typical company Domain set global group policy login advertisement blurb. The words need to be disabled and removed locally from the local registry.
It does work. Most guides miss this!! Including Microsofts own KB article as at Apr 2023.

HLM\software\microsoft\windows\current version\policies\system
remove all text from : LeaglnoticeCaption
remove all text from : Leaglnoticetext

Auto login then works fine on my company domain connected computer with Global polcies set in place. This overrides the GPO.

Lars says:
There’s no entry called “DefaultUserName” in my registry. Neither is it in your screenshot. So, what to do?
Steve Larner says:
in “Step 4 – Define Registry Change,” there are instructions to add the entry if it is not present. Give that a try.
Frank says:
Same. And adding the registry value doesn’t result in auto-logging-in after reboot.

Leave a Reply

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

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Todays Highlights
How to See Google Search History
how to download photos from google photos