How to Automatically Login to Windows 10

By default, when a user logs into Windows 10, they must enter their credentials in order to proceed further as a security measure to prevent unauthorized access. However, circumstances vary and many of us do not want to key in password every time we turn the computer/laptop on OR if we have a Virtual Machine setup on our computer.

In Windows 10, the process to automatically log in is easy and there are two methods to do this. If you are using Windows 10 at your home or in a small office setup where your computer is not a part of your Domain, then Method 1 should work for you else if it is  part of a Domain network, then Method 2 will do.

Before beginning with the guide, there are few things to note. You must have access to an administrator account to makes changes and you must login as the administrator and if you ever decide to change password for the account set to login automatically, then you will need to re-do the steps.

Method 1: Allow Automatic Login via User Accounts

Log in to the administrator account. Hold the Windows key and Press R. In the run dialog, type control userpasswords2 and Press Enter. Click Yes if a User Account Control warning message appears.

2016-02-21_055944

User Account window will now open. In it, uncheck the checkbox next to Users must enter a user name and password to use this computer. Once done, click OK.

2016-02-21_060157

If the Users must enter a user name and password to use this computer option is not available, then your computer is part of a Domain network. If this is the case, proceed to Method 2. Now under Users for this computer, select and highlight the local or the Microsoft account that you want to automatically log in with and click Apply. Enter and renter to confirm the password of the account you selected. If your password is blank, then leave both the password input boxes blank and Click OK. The specified account will now automatically log in when your turn your computer on.

Method 2: For Computers Connected to a Domain

If you are on a domain network, then the method above will not apply to you. This is because user names and passwords are assigned by the Active Directory therefore in order to login without entering a password in a domain environment you will need to modify registry. To do this, follow the steps below:

Hold Windows key and Press R. Type regedit in the run dialog and Click OK. Registry Editor Window will open.

2016-02-06_114845

Browse to the following path

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

With Winlogon highlighted in the left pane, locate AutoAdminLogon key in the right pane. Right click onAutoAdminLogon and click Modify and change the value to 1.

2016-02-06_115036

Now reboot PC and follow the User Account Password Wizard method above. If this still won’t work, then go back to Registry Editor and navigate to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon.

With Winlogon selected in the left pane, Right click on an empty space in the right pane and look for value called DefaultDomainName if it does not exists, then click New > String Value and Name itDefaultDomainName.

2016-02-06_133937

Right click on DefaultDomainName and click Modify. Under Value data type in your domain’s name and Click OK. Similarly create a DefaultUserName string value with your username as Value data andDefaultPassword string value with your current password as Value data.

2016-02-06_134343

Now re-check if the Value data of AutoAdminLogon is 1. If not so, change it to 1. Now restart your system and you should be able to log in automatically.

If you don’t know what your username and domain name is run the following commands by creating a batch file to see.

@echo off 
echo Checking your system infor, Please wating... 
systeminfo | findstr /c:"Host Name" 
systeminfo | findstr /c:"Domain" 
systeminfo | findstr /c:"OS Name" 
systeminfo | findstr /c:"OS Version" 
systeminfo | findstr /c:"System Manufacturer" 
systeminfo | findstr /c:"System Model" 
systeminfo | findstr /c:"System type" 
systeminfo | findstr /c:"Total Physical Memory" 
ipconfig | find /i "IPv4"

echo.

echo Hard Drive Space: 
wmic diskdrive get size

echo. 
echo.

echo Service Tag: 
wmic bios get serialnumber

echo. 
echo. 
echo CPU: 
wmic cpu get name
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.
Back to top button