Accounts Enable or Disable Automatically Sign in Account at Startup in Windows 11


  • Staff
Sign-in_options_banner.png

This tutorial will show you how to enable or disable automatically sign in to a specific account at startup in Windows 11.

By default at the startup of Windows 11, you need to dismiss the Lock screen, select the account you want to sign in to on the Sign-in screen, and sign in to the account using the selected sign-in option (ex: password, picture password, PIN (Windows Hello), facial recognition (Windows Hello), or fingerprint (Windows Hello).


You must be signed in as an administrator to enable or disable automatically sign in to a specific account at startup.


If you entered an incorrect password (not PIN) into netplwiz, you will get a The user name or password is incorrect. Try again. message at startup, then requiring you to click/tap on OK and enter the correct password or other sign-in option.

If you ever change the password of the account you have Windows set to automatically sign in to at startup, then you will need to repeat the steps in this tutorial again using the new password to update it for what is used to automatically sign in with.

If you enable automatically sign in to an account at startup and ever change the computer name afterwards, then you will see a Other user at sign in that fails to sign in, and you must manually select your account and sign in instead. To fix this, you will need to repeat the steps in this tutorial again to update it.

Other user can also show on the sign in screen if you set to do not display user names.



Contents

  • Option One: Enable or Disable Automatically Sign in Account at Startup in Netplwiz
  • Option Two: Enable or Disable Automatically Sign in Account at Startup in Registry Editor


EXAMPLE: Windows 11 sign-in screen

Windows11_sign-in_screen.jpg





Option One

Enable or Disable Automatically Sign in Account at Startup in Netplwiz


1 Open netplwiz or control userpasswords2.

2 Do step 3 (enable) or step 4 (disable) below for what you would like to do.

3 Enable Automatically Sign in to Specified Account at Startup

A) Check the Users must enter a user name and password to use this computer box, and select the account you want to have Windows automatically sign in to at startup. (see screenshot below)​

If you turned on For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (aka: passwordless sign-in), you will not see the Users must enter a user name and password to use this computer check box until you turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device.

If your PC is currently joined to a domain, then the Users must enter a user name and password to use this computer. box will not be available, and you will need to use OPTION TWO below instead.


Turn_on_automatic_sign-in-1.png

B) Uncheck the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below)​

Turn_on_automatic_sign-in-2.png

C) Type the password (not PIN) of the selected account, type the password again to confirm password, and click/tap on OK. (see screenshot below)​

If a selected local account does not have a password, then leave the password fields empty.

A Microsoft account will always have a password.


Turn_on_automatic_sign-in-3.png

4 Disable Automatically Sign in to Account at Startup

This is the default setting.


A) Check the Users must enter a user name and password to use this computer box, and click/tap on OK. (see screenshot below)​

If you turned on For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (aka: passwordless sign-in), you will not see the Users must enter a user name and password to use this computer check box until you turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device.

If your PC is currently joined to a domain, then the Users must enter a user name and password to use this computer. box will not be available.



Turn_off_automatic_sign-in.png




Option Two

Enable or Disable Automatically Sign in Account at Startup in Registry Editor


This option is not secure like OPTION ONE above.

It is recommended to use OPTION ONE above if you are able to instead. OPTION ONE will save the password in the Credential Manager where it's encrypted and cannot be viewed by anyone.

This option (OPTION TWO) will save the entered password (step 5H below) in the DefaultPassword string value in Registry Editor where it can be seen by anyone with access.

See also: How to turn on automatic logon in Windows | Microsoft Support


1 Open Registry Editor (regedit.exe).

2 If prompted by UAC, click/tap on Yes to approve.

3 Navigate to the key location below in the left pane of Registry Editor. (see screenshot below)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Auto_Sign-in_registry-1.jpg

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable Automatically Sign in to Specified Account at Startup

A) In the right pane of the Winlogon key, double click/tap on the AutoAdminLogon string value (REG_SZ) to modify it. (see screenshot below step 3)​

If you do not have a AutoAdminLogon string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type AutoAdminLogon, and press Enter.


B) Type 1, and click/tap on OK. (see screenshot below)​

AutoAdminLogon.jpg

C) Double click/tap on the DefaultDomainName string value (REG_SZ) to modify it. (see screenshot below step 3)​

If you do not have a DefaultDomainName string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultDomainName, and press Enter.


D) Type the computer name (if local) or domain name, and click/tap on OK. (see screenshot below)​

DefaultDomainName.jpg

E) Double click/tap on the DefaultUserName string value (REG_SZ) to modify it. (see screenshot below step 3)​

If you do not have a DefaultUserName string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultUserName, and press Enter.


F) Type the user name (ex: Russell) of the account you want to automatically be signed in to at startup, and click/tap on OK. (see screenshot below)​

This will be the same name as the user account's C:\Users\(UserName) profile folder.


DefaultUserName.jpg

G) Double click/tap on the DefaultPassword string value (REG_SZ) to modify it. (see screenshot below step 3)​

If you do not have a DefaultPassword string value, then right click or press and hold on an empty area in the right pane of the Winlogon key, click/tap on New and String Value, type DefaultPassword, and press Enter.


H) Type the password (not PIN) of the user account you want to automatically be signed in to at startup, click/tap on OK, and go to step 7 below. (see screenshot below)​

DefaultPassword.jpg

6 Disable Automatically Sign in to Account at Startup

This is the default setting.


A) In the right pane of the Winlogon key, double click/tap on the AutoAdminLogon string value (REG_SZ) to modify it. (see screenshot below step 3)​

B) Type 0 (zero), and click/tap on OK. (see screenshot below step 5B)​

C) Right click or press and hold on the DefaultPassword string value (REG_SZ), and click/tap on Delete. (see screenshot below step 3)​

If you do not have a DefaultPassword string value, then that's ok, and go to step 7 below.


D) Click/tap on Yes to confirm, and go to step 7 below. (see screenshot below)​

Confirm_Value_Delete.png

7 When finished, you can close Registry Editor if you like.


That's it,
Shawn Brink

 

Attachments

  • Sign-in_options.png
    Sign-in_options.png
    14.7 KB · Views: 219
Last edited:
I have a passwordless local account. The checkbox doesn't show for me. Same for control userpasswords2.
Untitled.jpg

My goal is to resume from sleep and automatically enter Windows proper. Skipping lock screen + login. I managed to skip the lock screen but this is still a problem. I'm using about the latest win11 pro x64 version.
 

My Computer

System One

  • OS
    Windows 11 Pro x64
I have a passwordless local account. The checkbox doesn't show for me. Same for control userpasswords2.
View attachment 73473
My goal is to resume from sleep and automatically enter Windows proper. Skipping lock screen + login. I managed to skip the lock screen but this is still a problem. I'm using about the latest win11 pro x64 version.
Maybe should disable Lock computer altogether

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DisableLockWorkstation"=dword:00000001
 

My Computer

System One

  • OS
    W10 and Insider Dev.+ Linux Mint
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brewed
    CPU
    AMD Ryzen 9 7900x
    Motherboard
    ASROCK b650 PRO RS
    Memory
    2x8GB Kingston 6000MHz, Cl 32 @ 6200MHz Cl30
    Graphics Card(s)
    Gigabyte Rx 6600XT Gaming OC 8G Pro
    Sound Card
    MB, Realtek Ac1220p
    Monitor(s) Displays
    3 x 27"
    Screen Resolution
    1080p
    Hard Drives
    Kingston KC3000. 1TBSamsung 970 evo Plus 500GB, Crucial P1 NVMe 1TB, Lexar NVMe 2 TB, Silicon Power M.2 SATA 500GB
    PSU
    Seasonic 750W
    Case
    Custom Raidmax
    Cooling
    Arctic Liquid Freezer III 360mm
    Internet Speed
    20/19 mbps
Checkbox is ticked off:
And I have a passwordless Microsoft account:
I tried using my old password but with no avail

You could try just once, logging into your windows OS using your MS account username and password. Unless you already have in the past. Then revert back to the way you like it. I’d be interested to see if that changes anything.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3374
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Full Tower
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
I have a passwordless local account. The checkbox doesn't show for me. Same for control userpasswords2.

My goal is to resume from sleep and automatically enter Windows proper. Skipping lock screen + login. I managed to skip the lock screen but this is still a problem. I'm using about the latest win11 pro x64 version.

Hello, and welcome. :alien:

You'll need to do the note under step 3 in option one to get the check box back in netplwiz.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
get the check box back in netplwiz.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
Double click DevicePasswordLessBuildVersion
Set its Value Data to 0 and click OK
Restart (not shut down) your PC

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Back
Top Bottom