Enable auto sign-in on Windows 10

It's tedious to type my password every time I start my Windows 10 VM, especially since you can't paste a password into the box. I want to set up automatic login.

Following the instructions here I tried to disable the "Users must enter a user name and password" option in netplwiz. But the option isn't there! It should be above the "users for this computer" list. Is there a setting I need to change to allow me to change the setting?

enter image description here


Solution 1:

ok, if you make the following modification to your registry the option will be available again in netplwiz. Default setting is 2.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device]
"DevicePasswordLessBuildVersion"=dword:00000000

0 = on
2 = off

Solution 2:

It was because my VM was part of a domain (an organization in Windows 10 parlance). Removing the machine from the domain ("disconnecting from the organization") made the checkbox reappear and allowed me to enable auto-login.