Computer name can be found in System Properties or use the hostname command. New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device' -Name DevicePasswordLessBuildVersion -Value 0 -Type Dword –Force To show the option used to disable password login on Windows 10 20H2, open the powershell.exe console and edit the registry: If you are using a local Windows logon account and not a Microsoft account (MSA), then the “ User must enter a username and password to use this computer” option is not displayed. Starting with build Wind(20H1), Microsoft decided to remove the option to configure automatic login for local accounts in the User Control Panel (check the screen below). To connect to the virtual machine console not via the Enhanced Session mode, close the connection window by clicking the cross in the upper right corner of the window.įix: Microsoft Removes User AutoLogin in Windows 10 20H1/20H2 In this mode, automatic login with saved credentials doesn’t work because the connection to the Hyper-V console is performed via the Remote Desktop service. If you are configuring a passwordless login to a Windows virtual machine running on Hyper-V, don’t use the Enhanced Session Mode to connect to the VM console.