Auto login
Guide to enabling automatic login so Windows boots directly to the desktop without asking for a password or PIN.
Method 1: Netplwiz (Legacy Method)
Note: In newer Windows versions, you must first disable "Windows Hello Requirement" for this to work.
Step 1: Disable Windows Hello Requirement
- Go to Settings > Accounts > Sign-in options.
- Turn OFF "For improved security, only allow Windows Hello sign-in for Microsoft accounts".
- (If you don't see this checkbox, go to Registry:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Deviceand setDevicePasswordLessBuildVersionto0).
Step 2: Configure Netplwiz
- Press
Win + R, typenetplwiz, press Enter. - Uncheck "Users must enter a user name and password to use this computer".
- Click Apply.
- Enter the exact username and password of the account you want to auto-login.
- Click OK.
- Restart to test.
Method 2: Sysinternals Autologon (Easiest)
Microsoft provides a tiny tool to do this securely (encrypting the password in the registry).
- Download Autologon from Microsoft Sysinternals.
- Run
Autologon.exe. - Accept the EULA.
- Enter your Username, Domain (or PC name), and Password.
- Click Enable.
- Done!
To disable, just run it again and click Disable.
Method 3: Registry Editor (Manual)
If you can't use tools.
- Open Registry Editor (
regedit). - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon - Change (or create String values for) the following:
AutoAdminLogon=1DefaultUserName=YourUsernameDefaultPassword=YourPasswordDefaultDomainName=YourPCName(or Domain name)
- Restart.
⚠️ Warning: The registry method stores your password in plain text. Method 2 (Sysinternals) is safer as it encrypts it.
Troubleshooting
"It asks for password anyway"
- You likely entered the credentials wrong in netplwiz.
- Or you didn't disable the Windows Hello requirement.
"Two duplicate users on login screen"
- This happens if you used netplwiz on a Microsoft Account but entered the username wrong (e.g., using email instead of user ID or vice versa).
- Undo netplwiz changes (check the box again) and try Method 2.