Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Automatically Login to Windows without Password

by | Apr 1, 2021

Wondering how to automatically login to Windows without password? We can help you.

If we want to login to Windows 10, we have to enter a password for a local or Microsoft (online) account each time. Though this provides a certain level of device protection against access by third parties it causes inconvenience for home users as it increases the time to access the device’s desktop.

To get rid of this inconvenience we can use Automatic login. However, it reduces the security of the computer. Therefore, autologin should only be turned on if we are the only computer user and we are sure that no one else can get physical access to the device. Otherwise, it will risk the safety of personal data.

Here at Bobcares, we fix these similar issues as a part of our Server Management Services. Today we will see how our Support Engineers fix this issue for our customers.

 

Methods to Automatically login to Windows without Password

Following are the methods that our Support Techs follow to Automatically log in to Windows without Password

1. Disable Windows 10 Login Password via the User Account Settings

The easiest way to disable password login on Windows 10 is to set the appropriate option in the User Account settings dialog box.

1. Firstly, in the Run prompt, enter the following command:

netplwiz
or
control userpassword

2. Then from the list of local user accounts, uncheck the option “User must enter a username and password to use this computer” and save changes (OK).

3. After that, enter the user account and password (twice) that we need to use for automatic login and click “OK”.

4. Finally, restart the computer.

2. How to Turn On Automatic Logon in Windows via the Registry

Another method to automatically log in to Windows without password is to turn on Automatic login via the registry.

This method of autologin is less secure as the registry will store the password as plain text and can be viewed by any local user.

Following are the steps to turn on automatic login via registry:

1. Firstly, type regedit in the Run prompt.

2. Then go to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

3. And change the value of the registry parameter AutoAdminLogon from 0 to 1

4. After that, create a new string parameter DefaultDomainName, specify the domain name or a local computer name as its value.

5. Then close the Registry Editor and restart the computer.

To enable autologin through the registry, we can use the following commands (replace root and [email protected] with username and password, WORKGROUP should be replaced with the name of AD domain if the domain account used):

reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v AutoAdminLogon /t REG_SZ /d 1 /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v DefaultUserName /t REG_SZ /d root /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v DefaultPassword /t REG_SZ /d [email protected] /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v ForceAutoLogon /t REG_SZ /d 1 /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v DefaultDomainName /t REG_SZ /d WORKGROUP /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v IgnoreShiftOvveride /t REG_SZ /d 1 /f
reg add “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon” /v AutoLogonCount /t REG_DWORD /d 1 /f

Alternatively, we can use a PowerShell script to save the user’s login information to the registry:

$Username =’bob’
$Pass = ‘[email protected]’
$RegistryPath = ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon’
Set-ItemProperty $RegistryPath ‘AutoAdminLogon’ -Value “1” -Type String
Set-ItemProperty $RegistryPath ‘DefaultUsername’ -Value $Username -type String
Set-ItemProperty $RegistryPath ‘DefaultPassword’ -Value $Pass -type String
Restart-Computer

3. Disable Password Prompt after Sleep/Hibernation in Windows 10

Using GPO, we can turn off the password request when the computer wakes up from sleep or hibernation.

We can do this using the following steps:

1. First, run the gpedit.msc console.

2. Then go to the policy section Computer Configuration -> Administrative Templates -> System -> Power Management -> Sleep Settings.

3. After that, disable the GPO parameters “Require a password when a computer wakes (on battery)” and “Require a password when a computer wakes on battery (plugged in)”.

4. Enable Secure Automatic Logon without a Password Using AutoLogon Tool

For a more secure automatic logon to Windows 10, we can use the free AutoLogon for Windows tool.

We can do this using the following steps:

1. First we have to download and run Autologon.exe (or autologon64.exe) as an administrator.

2. Then accept the terms of the license agreement.

3. Specify the user account, domain, and user password under which we want to perform autologin and press the Enable button:

Autologon successfully configured. The autologon password is encrypted.

4. A window will appear in which it is indicated that the autologon is enabled.

We can set user credentials to automatically log on to Windows using the Autologon command-line options. To configure Windows autologin for a user, we can use the following command:

autologon64.exe USER_NAME DOMAIN PASSWORD /accepteula

To disable automatic logon to Windows 10 without a password, just click on the Disable button.

How to fix “Microsoft Removes User AutoLogin in Windows 10 20H1/20H2”

Starting with build Windows 10 2004 (20H1), Microsoft decided to remove the option to configure automatic login for local accounts in the User Control Panel. If we are using a local Windows login account and not a Microsoft account (MSA), then the “User must enter a username and password to use this computer” option is not displayed.

To show the option used to disable password login on Windows 10 20H2, open the powershell.exe console and edit the registry:

New-ItemProperty -Path “HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device” -Name DevicePasswordLessBuildVersion -Value 0 -Type Dword –Force

This registry key value disables the Windows 10 option “Require Windows Hello sign-in for Microsoft accounts” setting.

Finally, close and restart the netplwiz console and make sure the checkbox appears.

Thus, we can configure auto login without a password on the latest Windows 10 builds (20H1 and 20H2).

We cannot uncheck the option “User must enter a username and password to use this computer” on the computer joined to the Active Directory domain due to the default domain password policy.

In this case, the easiest way to disable password requests on the login screen is through the registry as described above.
[Need Assistance? We are happy to help you!]

Conclusion

In short, we saw the steps that our Support Engineers follow to automatically login to Windows without password.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Reviews

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF