“Users must enter a user name and password” option missing

When you open the User Accounts dialog by running control userpasswords2 or netplwiz.exe in order to configure automatic login to your user account, the Users must enter a user name and password to use this computer option may be missing in that dialog.

userpasswords2 password checkbox missing

As a result, you’re unable to configure auto-login to your user account. Note that this issue is seen only if there is a Microsoft account configured in the computer. This post tells you how to bring the option checkbox back in Windows 10.

Cause

The “Users must enter a user name and password to use this computer” option may be hidden/missing if the “only allow Windows Hello sign-in” option is enabled in Settings. Windows Hello is a more personal, more secure way to get instant access to your Windows 10 devices using fingerprint, facial recognition, or a secure PIN.

The Windows Hello setting was turned on automatically during the clean installation of Windows 10 2004 on some computers with Windows Hello compatible devices. This led to the rumor that Microsoft has discontinued the auto-login feature altogether. This, of course, is not true.

Resolution

If you want to configure auto-login, then you need to disable the “only allow Windows Hello sign-in” option using the following steps:

  1. Click Start, Settings, and click Accounts.
  2. Click on Sign-in options
  3. Turn off the radio button under the Require Windows Hello sign-in for Microsoft accounts section.
    userpasswords2 password checkbox missing

    The description “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended)” is self-explanatory.
    hand point iconNOTE: The Require Windows Hello sign-in for Microsoft accounts option would be missing if no Microsoft accounts are configured on the computer.

    Windows 11 Screenshot

    pin sign-in and diagnostic startup error

    Registry Editing

    Alternately, you can disable the Require Windows Hello sign-in for Microsoft accounts option using the registry. This can be helpful if you want to automate the setting using a .reg file in multiple computers.

    Registry branch:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device

    Value name:

    DevicePasswordLessBuildVersion

    Data:

    • 0 means Require Windows Hello sign-in is disabled
    • 2 means Require Windows Hello sign-in is enabled

    userpasswords2 password checkbox missing

    Deleting DevicePasswordLessBuildVersion or setting it to 0 would enable the “Users must enter a user name and password to use this computer” checkbox.

  4. After disabling the above setting, close and reopen the User Accounts dialog by running netplwiz.exe or control userpasswords2
    userpasswords2 password checkbox missing

The “Users must enter a user name and password to use this computer” checkbox is now restored.


Autologon utility from Microsoft

If the above methods don’t bring back the “Users must enter a user name…” option, as a workaround, may use the Autologon utility from Windows Sysinternals to configure the automatic login.



automatic login sysinternals

Autologon enables you to easily configure Windows’ built-in auto-login mechanism.

Launch autologon.exe, fill in the username and password for the account you want to enable automatic login. Then click on the Enable button.

This utility stores the credentials of the specified user in an encrypted form in the Registry.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

14 thoughts on ““Users must enter a user name and password” option missing”

  1. Thank you SO much. Although your note says if only Local accounts this wouldn’t matter, it did. The registry fix got rid of the problem because, even though I only have local accounts, it must have been set up in the background.

    Reply
  2. Like xaeryth, I set up a Windows 10 Pro mini PC with only a local account — no Microsoft account — and netplwiz did not show the option. I brought up regedit, changed DevicePasswordLessBuildVersion from 2 to 0 per your instructions, the option reappeared in netplwiz, and I was good to go. Thank you very much — this was a big help!!

    Reply
  3. Oops! Just an extra bit of information … As I was about to close the Google search results that brought me to this page, a result mentioning domains caught my eye. From that page, I learned that the netplwiz user/password option is ALSO disabled if the computer has “joined a domain”.

    I vaguely remember something about a domain during set-up, but I thought it just referred to my LAN. In the Windows CMD prompt, “systeminfo” will print out the domain to which your computer belongs:

    C:\Windows\System32> systeminfo

    Domain:

    In my case, it showed “Domain: WORKGROUP”, so that might have been what was causing the netwplwiz option not to show up despite only having a local account. Anyway, your registry fix worked and I’m happy!

    Reply
    • You can still get the checkbox to appear even if you have work access turned on or joined a domain.

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

      Create a new DWord called AutoAdminLogon and set the value to 1. Reboot.

  4. Ramesh, thank you very much for this. I wish Microsoft would stop removing useful stuff every time there’s a new OS. There are 3 application files in the folder: Autologon, Autologon64, & Autologon64a. Not sure which one to use. If “64” means for 64-bit computers, what is “64a”? Thank you again.

    Reply

Leave a Reply to redha Cancel reply