Step 1: Open the Windows search bar
Click on the start button or press the Windows key on your keyboard to open the start menu. Then, click on the search bar at the top of the start menu or press the "S" key on your keyboard to open the search bar.
Step 2: Type "netplwiz" in the search bar
In the search bar, type "netplwiz" and press enter. This will open the User Accounts control panel.
Step 3: Check the option "The user must enter a password to use this computer"
In the User Accounts control panel, you will see a list of user accounts on your computer. Select the user account you want to enable auto log in for, and then uncheck the option "The user must enter a password to use this computer". This will enable auto log in for the selected user account.
Note: If the option "The user must enter a password to use this computer" is not available or is grayed out, it means that auto log in is disabled by group policy or by a registry setting. In this case, you will need to follow the steps in the next section to enable auto log in.
Step 4: Run the command "reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f" in a command prompt with admin privilege
If the option "The user must enter a password to use this computer" is not available or is grayed out, you can enable auto log in by running a command in a command prompt with admin privilege.
To do this, open the start menu and type "cmd" in the search bar. Right-click on the Command Prompt app and select "Run as administrator". This will open a command prompt with admin privilege.
In the command prompt, type the following command and press enter:
reg ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /t REG_DWORD /d 0 /f
This command will add a registry key that enables auto log in.
Note: Before running this command, make sure you have a backup of your registry or create a restore point in case something goes wrong.
Step 5: Restart your computer
After running the command, restart your computer for the changes to take effect.
Step 6: Test auto log in
After your computer restarts, check if auto log in is enabled by logging out of your user account. If auto log in is enabled, you should be automatically logged in to your user account without being prompted to enter your password.
Note: Enabling auto log in can have security risks, especially if your computer is accessible to other people. Make sure you have appropriate security measures in place, such as a password-protected screensaver, to protect your computer from unauthorized access.