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


  • Staff
Sign-in_options_banner.png

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).

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


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.

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: 77
Last edited:

CountMike

Well-known member
Power User
VIP
Local time
6:57 AM
Posts
832
OS
W10 and Insider Dev.+ Linux Mint
Where is it ?
1635420701715.png
 

My Computer

System One

  • OS
    W10 and Insider Dev.+ Linux Mint
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brewed
    CPU
    AMD Ryzen 7 5800x
    Motherboard
    Asus Prime x470 Pro
    Memory
    2x8GB Kingston 3600MHz, Cl 16
    Graphics Card(s)
    Asus ROG Rx 570 OC, 4GB
    Sound Card
    MB, Realtek Ac1220p
    Monitor(s) Displays
    2 x 28"
    Screen Resolution
    1080p
    Hard Drives
    Samsung 970 evo Plus 500GB, Samsung 960 evo250GB, 3x SSD SATA 2.5" 250GB, WD 2TB HDD.
    Cooling
    Arctic Liquid Freezer II 360mm
    Internet Speed
    20/19 mbps

The-Hive

The First Three Star Guru
Guru
VIP
Local time
5:57 AM
Posts
10,439
Location
Wiltshire UK
OS
Windows 11 Pro
where is what? The guide explains it all perfectly, which bit can't you find?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Sound Card
    Nvidia HD
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    Case
    Dark side of the moon
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Dual Boot Windows 11 Pro / Windows 11 Pro Dev build
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    WD 2GB EXT
    Browser
    Chrome
    Antivirus
    Norton

CountMike

Well-known member
Power User
VIP
Local time
6:57 AM
Posts
832
OS
W10 and Insider Dev.+ Linux Mint

My Computer

System One

  • OS
    W10 and Insider Dev.+ Linux Mint
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brewed
    CPU
    AMD Ryzen 7 5800x
    Motherboard
    Asus Prime x470 Pro
    Memory
    2x8GB Kingston 3600MHz, Cl 16
    Graphics Card(s)
    Asus ROG Rx 570 OC, 4GB
    Sound Card
    MB, Realtek Ac1220p
    Monitor(s) Displays
    2 x 28"
    Screen Resolution
    1080p
    Hard Drives
    Samsung 970 evo Plus 500GB, Samsung 960 evo250GB, 3x SSD SATA 2.5" 250GB, WD 2TB HDD.
    Cooling
    Arctic Liquid Freezer II 360mm
    Internet Speed
    20/19 mbps

The-Hive

The First Three Star Guru
Guru
VIP
Local time
5:57 AM
Posts
10,439
Location
Wiltshire UK
OS
Windows 11 Pro
When you type in netplwiz it opens a box called user account it is the first checkbox from the top
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Sound Card
    Nvidia HD
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    Case
    Dark side of the moon
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Dual Boot Windows 11 Pro / Windows 11 Pro Dev build
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    WD 2GB EXT
    Browser
    Chrome
    Antivirus
    Norton

CountMike

Well-known member
Power User
VIP
Local time
6:57 AM
Posts
832
OS
W10 and Insider Dev.+ Linux Mint
When you type in netplwiz it opens a box called user account it is the first checkbox from the top
Not in Insider dev. W7 and up and W11 public release it does.
 

My Computer

System One

  • OS
    W10 and Insider Dev.+ Linux Mint
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brewed
    CPU
    AMD Ryzen 7 5800x
    Motherboard
    Asus Prime x470 Pro
    Memory
    2x8GB Kingston 3600MHz, Cl 16
    Graphics Card(s)
    Asus ROG Rx 570 OC, 4GB
    Sound Card
    MB, Realtek Ac1220p
    Monitor(s) Displays
    2 x 28"
    Screen Resolution
    1080p
    Hard Drives
    Samsung 970 evo Plus 500GB, Samsung 960 evo250GB, 3x SSD SATA 2.5" 250GB, WD 2TB HDD.
    Cooling
    Arctic Liquid Freezer II 360mm
    Internet Speed
    20/19 mbps

The-Hive

The First Three Star Guru
Guru
VIP
Local time
5:57 AM
Posts
10,439
Location
Wiltshire UK
OS
Windows 11 Pro
Not in Insider dev. W7 and up and W11 public release it does.
@CountMike I wouldn't know I am afraid as I am on public release builds at the moment. Maybe @Brink knows the answer, he knows pretty much everything about 11
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Sound Card
    Nvidia HD
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    Case
    Dark side of the moon
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Dual Boot Windows 11 Pro / Windows 11 Pro Dev build
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    WD 2GB EXT
    Browser
    Chrome
    Antivirus
    Norton

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
11:57 PM
Posts
4,873
OS
Windows 11 Pro for Workstations
Hello Mike @CountMike, :)

Double check to see if the note below may apply to this.

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.

 

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
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    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,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

CountMike

Well-known member
Power User
VIP
Local time
6:57 AM
Posts
832
OS
W10 and Insider Dev.+ Linux Mint
Hello Mike @CountMike, :)

Double check to see if the note below may apply to this.

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.

Thanks @Brink, that was it. Must have been enabled by default, don't recall seeing it ever before.
1635431486043.png
 

My Computer

System One

  • OS
    W10 and Insider Dev.+ Linux Mint
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home brewed
    CPU
    AMD Ryzen 7 5800x
    Motherboard
    Asus Prime x470 Pro
    Memory
    2x8GB Kingston 3600MHz, Cl 16
    Graphics Card(s)
    Asus ROG Rx 570 OC, 4GB
    Sound Card
    MB, Realtek Ac1220p
    Monitor(s) Displays
    2 x 28"
    Screen Resolution
    1080p
    Hard Drives
    Samsung 970 evo Plus 500GB, Samsung 960 evo250GB, 3x SSD SATA 2.5" 250GB, WD 2TB HDD.
    Cooling
    Arctic Liquid Freezer II 360mm
    Internet Speed
    20/19 mbps

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
11:57 PM
Posts
4,873
OS
Windows 11 Pro for Workstations

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
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    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,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

The-Hive

The First Three Star Guru
Guru
VIP
Local time
5:57 AM
Posts
10,439
Location
Wiltshire UK
OS
Windows 11 Pro

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Alienware Area 51m R2
    CPU
    10th Gen Core i9 10900K
    Memory
    32GB
    Graphics Card(s)
    Geforce RTX 2080 Super
    Sound Card
    Nvidia HD
    Screen Resolution
    1920x1080
    Hard Drives
    C: Samsung 2TB P981A
    D: Samsung 2TB 970 Evo
    Case
    Dark side of the moon
    Mouse
    Alienware AW610M
    Browser
    Chrome and Firefox
    Antivirus
    Norton
    Other Info
    Killer E3000 Ethernet Controller
    Killer AX1650i Wi-Fi Network Adaptor
    Alienware Z01G Graphic Amplifier
    Tobii Eye Tracker
  • Operating System
    Dual Boot Windows 11 Pro / Windows 11 Pro Dev build
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 3501
    CPU
    11th Gen i-7 2.80 gb
    Memory
    16Gb
    Screen Resolution
    1920 x 1080
    Hard Drives
    512Gb SSD
    WD 2GB EXT
    Browser
    Chrome
    Antivirus
    Norton
Top Bottom