Luckyy
Administrator
Staff
LEVEL 4
90 XP
Want your PC to boot straight to the desktop without entering your password every time? Here's how to enable automatic login for your local or Microsoft account.
1. Press Win + R, type
2. In the User Accounts window, select your user name
3. Uncheck "Users must enter a user name and password to use this computer"
4. Click Apply
5. A window will pop up asking for your password — enter it and confirm
6. Click OK to save the settings
Next time you restart, Windows will automatically log in without prompting for a password.
1. Press Win + R, type
2. Navigate to the following path:
3. Double-click the following values and modify them:
4. Close the Registry Editor and reboot
Go back to
Or set
1. Open Settings → Accounts → Sign-in options
2. Under "If you've been away", set it to Never require sign-in
That’s it! Your PC will now log in automatically every time you restart or power it on.
Method 1: Use the netplwiz Tool
1. Press Win + R, type
netplwiz
, then press Enter 2. In the User Accounts window, select your user name
3. Uncheck "Users must enter a user name and password to use this computer"
4. Click Apply
5. A window will pop up asking for your password — enter it and confirm
6. Click OK to save the settings
Next time you restart, Windows will automatically log in without prompting for a password.
Method 2: Use the Registry Editor (For More Control)
1. Press Win + R, type
regedit
, press Enter 2. Navigate to the following path:
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
3. Double-click the following values and modify them:
- AutoAdminLogon → Set value to
1
- DefaultUserName → Set to your Windows username
- DefaultPassword → Set to your account password (create this string if it doesn't exist)
- DefaultDomainName → Set to your PC name or leave blank for local accounts
4. Close the Registry Editor and reboot
To Revert and Re-enable Login Prompt
Go back to
netplwiz
and re-check the box Or set
AutoAdminLogon
to 0
in the registryImportant Notes
- This works for both local and Microsoft accounts
- Auto login skips lock screen but is less secure
- For public/shared PCs, it’s not recommended
- Password will still be required after sleep/lock unless changed in settings
Optional: Disable Lock on Wake
1. Open Settings → Accounts → Sign-in options
2. Under "If you've been away", set it to Never require sign-in
That’s it! Your PC will now log in automatically every time you restart or power it on.