In order to login to Windows 10, a user has to enter a password for a local or Microsoft (online) account each time. This provides a certain level of device protection against admission past third parties, only it is inconvenient for home users as it increases the time to access the device'southward desktop. In this guide, we'll await at how to disable the countersign sign-in on Windows 10 (Windows Server 2016/2012 R2) Login Screen and how to configure autologin under a specific account.
Most often, automatic login without a password is immune for devices running in kiosk fashion. At any reboot (for case, due to a power outage), Windows will automatically logon to the desktop and get-go the necessary programs via Autorun.
Warning. Automatic login to Windows is used for user convenience just reduces the security of your computer. Autologon simply has to be turned on if y'all are the only computer user, and you are sure that no one else tin go physical access to your device. Otherwise, the rubber of your personal information is at risk.
Disabling the password dialog on the Windows 10 Login Screen doesn't mean that your account should have a blank password. You can configure Windows x to automatically use saved credentials to logon to your computer. In all other cases, for example, when accessing your reckoner via the network (SMB) or connecting to a remote desktop (RDP), you lot volition be prompted for a password.
Contents:
- How to Disable Windows 10 Login Countersign via the User Account Settings?
- Fix: Microsoft Removes User AutoLogin in Windows 10 20H1/20H2
- How to Plough On Automatic Logon in Windows via the Registry?
- Disable Password Prompt after Sleep/Hibernation in Windows ten
- Enable Secure Automated Logon without a Countersign Using AutoLogon Tool
How to Disable Windows x Login Password via the User Account Settings?
The easiest way to disable countersign login on Windows 10 is to set the advisable option in the User Account settings dialog box.
- Press Win+R;
- In the Run dialog box, enter
netplwiz
or control userpasswords2
control; - In the next window with the list of local user accounts, uncheck the option "User must enter a username and password to use this computer" and salve changes (OK);
- A window appears where you have to enter the user account and password (twice) that you lot need to use for automatic login and click "OK";
- Restart your calculator and make sure that the Windows boots straight to the desktop without entering a password.
If you lot are configuring a passwordless login to a Windows virtual car running on Hyper-V, don't use the Enhanced Session Mode to connect to the VM console. In this mode, automatic login with saved credentials doesn't work because the connexion to the Hyper-5 console is performed via the Remote Desktop service. To connect to the virtual automobile console, not via the Enhanced Session mode, close the connection window by clicking the cross in the upper right corner of the window.
Fix: Microsoft Removes User AutoLogin in Windows 10 20H1/20H2
Starting with Windows 10 build 2004 (20H1), Microsoft decided to remove the option to configure automatic login for local accounts in the User Control Console (check the screen below). If you are using a local Windows logon account and not a Microsoft account (MSA), then the "User must enter a username and password to employ this calculator" option is not displayed.
To show the option used to disable password login on Windows 10 20H2, open the powershell.exe
panel and edit the registry:
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" -Name DevicePasswordLessBuildVersion -Value 0 -Blazon Dword –Force
This registry primal value disables the Windows 10 option "Require Windows Hello sign-in for Microsoft accounts" setting. Close and restart the netplwiz
panel and brand sure the checkbox appears.
Thus, you tin can configure auto login without a password on the latest Windows x builds (20H2 and 20H2).
Note. Yous can't uncheck the pick "User must enter a username and password to use this reckoner" on the calculator joined to the Active Directory domain due to default domain password policy. In this case, the easiest mode to disable password request on login screen is through the registry (described below).
How to Turn On Automatic Logon in Windows via the Registry?
Allow'due south consider a more mutual style to automatically log into Windows 10 without prompting for a countersign and skipping the Login Screen. This method allows you to enable countersign-less sign-in for your Microsoft account, domain account, or Windows 10 local account via the Registry Editor.
Warning. This method of autologin is less secure equally your password will be stored in the registry every bit evidently text and can be viewed by any local user.
- Press Win+R and blazon
regedit
; - Go to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon;
- Change the value of the registry parameter AutoAdminLogon from 0 to 1;
- Create a new string parameter DefaultDomainName, specify the domain proper name or a local computer name as its value.
Tip. Computer name tin exist found in System Properties or use the hostname
command.
- In the DefaultUserName parameter you demand to specify the user business relationship name, which should be used to login (replace it with some other username or don't alter information technology);
- Create a cord parameter DefaultPassword where y'all must specify the password for the account in plain text;
- Close the Registry Editor and restart your figurer;
- After the Windows restart, you will sign in automatically with the specified account and with no need to enter the password on the login screen.
To enable autologon through the registry, y'all can apply the following commands (supervene upon root and P@ssword with your username and password, WORKGROUP should be replaced with the name of your AD domain if the domain account is 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" /5 DefaultUserName /t REG_SZ /d root /f
reg add together "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultPassword /t REG_SZ /d P@ssword /f
reg add together "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
You can apply the AutoLogonCount registry option to set the number of times that yous tin can log on to the reckoner by using AutoLogon. This value decreases every time you log in to the figurer. For example, to allow 10 autologon actions:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /5 AutoLogonCount /t REG_DWORD /d ane /f
Alternatively, you can use a PowerShell script to save the user's login information to the registry:
$Username ='max'
$Pass = 'Max$uperP@ss'
$RegistryPath = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon'
Set up-ItemProperty $RegistryPath 'AutoAdminLogon' -Value "1" -Type String
Set-ItemProperty $RegistryPath 'DefaultUsername' -Value $Username -type String
Prepare-ItemProperty $RegistryPath 'DefaultPassword' -Value $Pass -type String
Restart-Computer
Automatic logon does not work if a logon banner policy is applied to the figurer Computer Configuration -> Policies -> Windows Settings >Security Settings > Local Policies -> Security Options -> Interactive Logon : Message text for users attempting to log on.
Disable Countersign Prompt later on Sleep/Hibernation in Windows 10
Using GPO, you can turn off the password asking when the estimator wakes upward from sleep or hibernation.
- To do this, run the
gpedit.msc
console (in the home versions of Windows 10, y'all can run the local policy editor console like this); - Get to the policy section Computer Configuration -> Authoritative Templates -> System -> Power Management -> Sleep Settings;
- Disable the GPO parameters "Require a password when a calculator wakes (on battery)" and "Crave a countersign when a reckoner wakes on bombardment (plugged in)";
- At present Windows won't require a countersign after resuming from sleep or hibernation.
Enable Secure Automatic Logon without a Countersign Using AutoLogon Tool
For a more secure automatic logon to Windows ten, you lot can use the free AutoLogon for Windows tool. The utility was part of the Sysinternals arrangement utility pack and is now available for download on the Microsoft website (https://docs.microsoft.com/en-us/sysinternals/downloads/autologon). The Autologon is also useful because the previous ways of enabling autologon in Windows 10 may not work on computers that are joined the Active Directory domain.
- Download and run
Autologon.exe
(or autologon64.exe
) as an administrator; - Accept the terms of the license agreement;
- Specify the user business relationship, domain and user password nether which yous want to perform autologin and press the Enable push:
Autologon successfully configured. The autologon countersign is encrypted.
- A window will appear in which it is indicated that the autologon is enabled. An encrypted password is stored in LSA format under the registry key HKLM\SECURITY\Policy\Secrets. In this instance, the password is not stored in clear text, but the encryption algorithm is not strong and any local computer administrator (simply not a user) tin decrypt it.
You can set user credentials to automatically log on to Windows using the Autologon control-line options. To configure Windows autologin for a user, y'all tin can utilize the post-obit command:
autologon64.exe USER_NAME DOMAIN PASSWORD /accepteula
To disable automatic logon to Windows 10 without a countersign, but click on the Disable push button.
In this guide, we looked at how to disable password login on Windows ten and kicking the computer directly to the user's desktop. In order to temporarily disable automatic logon in Windows and manually specify the user credentials under which you need to sign in, you must hold downwards the Shift fundamental while Windows is booting.