Problem: netplwiz has a grayed out ‘Users must enter a user name and password to use this computer’ option

Resolution: change DevicePasswordLessBuildVersion version 2 to version 0

Set-ItemProperty -Path "REGISTRY::HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" -Name "DevicePasswordLessBuildVersion" -Value 0