Skip to content

Instantly share code, notes, and snippets.

@luckylittle
Created January 14, 2021 02:33
Show Gist options
  • Save luckylittle/dc68adb5c2d15f41cf9d43e17aebca42 to your computer and use it in GitHub Desktop.
Save luckylittle/dc68adb5c2d15f41cf9d43e17aebca42 to your computer and use it in GitHub Desktop.
This enables "Users must enter a user name and a password to use this computer" option in netplwiz
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device]
"DevicePasswordLessBuildVersion"=dword:00000000
@dric322
Copy link

dric322 commented Aug 28, 2023

Testing Windows 11 in a VM, I saw that this checkbox had been wiped out, presumably by a Windows Update. Your reg script is invaluable because without this checkbox, I wouldn't know how to make a newly created user the default login. It's by checking this box > apply > unchecking > apply that triggers Windows to use the highlighted user in "control userpasswords2" as the default user to login with. Great stuff luckylittle. An important solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment