Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Windows 10 / How to Automatically Login in Windows 10 without Password?

March 19, 2019 Windows 10

How to Automatically Login in Windows 10 without Password?

In order to login to Windows 10, a user has to enter password for local or Microsoft (online) account every time. This guarantees a certain level of data protection against access by third parties but it is inconvenient for home users as it increases the time to access the device’s desktop. In this manual we’ll tell you how to remove the password request on Windows 10 (Windows Server 2016/ 2012 R2) Login Screen and how to configure autologon under a specific account.

Warning. Automatic login is used for user convenience but it decreases security level of your computer. Autologon only has to be turned on if you are the only computer user and sure that any other person can’t get access to it. Otherwise, the safety of your personal data is at risk.

Disabling the password dialog on the Windows 10 login screen doesn’t mean that your account should have no password. It will just be entered automatically by the system during Windows 10 startup. In all other cases, for example, when accessing your PC via the network (SMB) or connecting to a remote desktop (RDP), the user password must be specified manual.

Contents:
  • How to Disable Password Login in the User Account Settings?
  • How to Turn On Automatic Logon in Windows Using the Registry Editor?
  • Disable Password Request in Windows 10 After Waking from Sleep
  • Secure Automatic Logon Using SysInternals AutoLogon Tool

Windows 10: User password on login screen

How to Disable Password Login in the User Account Settings?

The easiest way to disable password login is in the settings of user accounts.

  1. Press Win+R;
  2. In the Run dialog box, enter netplwiz or control userpasswords2 command;netplwiz
  3. In the next window with the list of local user accounts, uncheck “User must enter a username and password to use this computer” and save changes (OK);User must enter a username and password to use this computer
  4. A window appears where you have to enter your current password twice and click “OK”;Windows 10: Automatically sign in
  5. Restart your computer and make sure that the Windows boots directly to the desktop without entering a password.
Note. You can’t 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 default domain password policy. In this case, the easiest way to disable password request on login screen is to use the registry (described below).

How to Turn On Automatic Logon in Windows Using the Registry Editor?

Let’s consider a more common way to disable password request on Windows 10 login screen using the Registry Editor. This way allows to skip login screen for a Microsoft account, as well as domain or local Windows 10 account.

Warning. This way is less secure as your password will be stored in the registry as plain text and can be viewed by any computer user.
  1. Press Win+R and type regedit;
  2. Go to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon;
  3. Change the value of the registry parameter AutoAdminLogon from 0 to 1;
  4. Create a new string parameter DefaultDomainName, specify the domain name or a local computer name as its value.
    Tip. Computer name can be found in System Properties or using hostname command.hostname
  5. In the DefaultUserName parameter you need to specify the user account name, which should be used to login (replace it with another username or don’t change it);
  6. Create a string parameter DefaultPassword where you must specify the password for the account in plain text;AutoAdminLogon registry
  7. Close the Registry Editor and restart your computer;
  8. 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;
  9. To enable autologon through the registry, you can use the following commands. (replace root and P@ssword with your username and password, WORKGROUP should be replaced with the name of your 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 P@ssword /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

Disable Password Request in Windows 10 After Waking from Sleep

You may want to disable password request when your computer wakeup from the sleep mode. The easiest way to do it is to use modern Control Panel interface.

  1. Click a notification icon in the tray and select All Settings;notification -> all settings
  2. Go to Accounts -> Sign-in options;
  3. In Require sign-in section, select Never;Never require sign-in
  4. You can also disable login screen password after waking up or exiting hibernation using the Local Group Policy Editor. To do this, start the gpedit.msc console (in the home versions of Windows 10, you can run the local policy editor console like this). Go to the policy section Computer Configuration -> Administrative Templates -> System -> Power Management -> Sleep Settings. Disable the policies “Require a password when a computer wakes (on battery)” and “Require a password when a computer wakes on battery (plugged in)”;gpo: require password when computer wakes
  5. Now, your computer will not require a password after a wakeup from sleep or hibernation.

Secure Automatic Logon Using SysInternals AutoLogon Tool

All previous methods of enabling autologon in Windows may not work if the computer is joined to the AD domain.

For more secure automatic logon to Windows 10, you can use the AutoLogon for Windows utility. The utility was part of the system utilities pack Sysinternals and is now available for download on the Microsoft website (https://docs.microsoft.com/en-us/sysinternals/downloads/autologon).

  1. Download and run Autologon.exe as an administrator;
  2. Accept the terms of the license agreement; sysinternals autologon tool
  3. Specify the user account, domain and user password under which you want to perform autologin and press the Enable button;
  4. A window will appear in which it is indicated that the autologon is enabled. Encrypted password is stored in LSA format in the registry key HKLM\SECURITY\Policy\Secrets and technically any local computer administrator (but not the user) can decrypt it.sysinternals autologon succesfully configured
To disable automatic logon to Windows 10, just click on the Disable button.

In this manual we looked at how to skip the Windows 10 login screen disabling the password login and booting the computer directly to the user’s desktop. To temporarily disable autologon in Windows and manually select a user credentials under which you need to log in, you must hold down the Shift key while Windows is booting.

7 comments
1
Facebook Twitter Google + Pinterest
previous post
Remote Desktop Session Shadowing Mode in Windows 10
next post
How to Find Large Files on Your Computer Using PowerShell

Related Reading

How to Sign a PowerShell Script (PS1) with...

February 25, 2021

How to Shadow (Remote Control) a User’s RDP...

February 22, 2021

Configuring PowerShell Script Execution Policy

February 18, 2021

Configuring Proxy Settings on Windows Using Group Policy...

February 17, 2021

Updating Group Policy Settings on Windows Domain Computers

February 16, 2021

7 comments

Al Love November 15, 2016 - 10:37 am

Thanks for all the help, problem solved I don’t know exactly how but it is.

Reply
dexter March 27, 2019 - 10:02 pm

show how to log in my right normal enter password.

Reply
admin March 28, 2019 - 5:18 am
  • To temporarily disable Windows autologon and manually input a user credentials under which you need to log in – hold down the Shift key during Windows boot.
  • Reply
    Alex M February 15, 2020 - 5:50 am

    Tried all this except for Regedit – there is no password in my Win 10, nothing to enter. Similarly, Autologon doesn’t work – no password to enter. One local account, one user. Don’t want to create password only to disable it via Autologon – seems illogical. Every time it starts with Login screen, I hit Enter button and I’m in – annoying.
    Oddly, Win 10 doesn’t Log Off when I click on Shut Down link instead of hitting the tactile Power button.
    Any suggestions?

    Reply
    Irwin May 29, 2020 - 2:14 am

    I’m trying to use Policy Plus, but I can’t seem to find the Computer Configuration section. I have tried searching for the text “standby states” and comes up with 0 results. Any suggestions? Thanks.

    Reply
    Andrey Cheremskoy August 2, 2020 - 11:34 am

    It was very useful. Thanks

    Reply
    NMN January 23, 2021 - 5:59 am

    The check box isnt coming. Plz help!!

    Reply

    Leave a Comment Cancel Reply

    Categories

    • Active Directory
    • Group Policies
    • Exchange
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • PowerShell
    • VMWare
    • MS Office

    Recent Posts

    • Accessing USB Flash Drive from VMWare ESXi

      February 26, 2021
    • How to Sign a PowerShell Script (PS1) with a Code Signing Certificate?

      February 25, 2021
    • Change the Default Port Number (TCP/1433) for a MS SQL Server Instance

      February 24, 2021
    • How to Shadow (Remote Control) a User’s RDP session on RDS Windows Server 2016/2019?

      February 22, 2021
    • Configuring PowerShell Script Execution Policy

      February 18, 2021
    • Configuring Proxy Settings on Windows Using Group Policy Preferences

      February 17, 2021
    • Updating Group Policy Settings on Windows Domain Computers

      February 16, 2021
    • Managing Administrative Shares (Admin$, IPC$, C$, D$) in Windows 10

      February 11, 2021
    • Packet Monitor (PktMon) – Built-in Packet Sniffer in Windows 10

      February 10, 2021
    • Fixing “Winload.efi is Missing or Contains Errors” in Windows 10

      February 5, 2021

    Follow us

    woshub.com
    • Facebook
    • Twitter
    • RSS
    Popular Posts
    • How to Allow Multiple RDP Sessions in Windows 10?
    • How to Repair EFI/GPT Bootloader on Windows 10?
    • How to Restore Deleted EFI System Partition in Windows 10?
    • Network Computers are not Showing Up in Windows 10
    • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
    • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
    • Removable USB Flash Drive as Local HDD in Windows 10 / 7
    Footer Logo

    @2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


    Back To Top