This page contains promotions.

How to Set Up Auto Login on Windows | netplwiz & Registry Methods

Windowsのサインイン画面

If you use your PC alone at home and find yourself typing a password every time you boot up, Windows has a built-in auto login feature that takes you straight to the desktop. This guide covers the easiest method using netplwiz, what to do when the checkbox doesn't appear with a Microsoft account, how to edit the registry directly, how to turn auto login off, and security tips to keep in mind.

Table of Contents

  1. What Is Windows Auto Login?
    1. Pros and Cons of Auto Login
    2. Local Account vs Microsoft Account
  2. Setting Up Auto Login with netplwiz
    1. Basic Setup Steps
    2. When the Checkbox Doesn't Appear
  3. Setting Up Auto Login via the Registry
  4. How to Disable Auto Login
  5. Security Tips for Auto Login
  6. Frequently Asked Questions
  7. Summary

What Is Windows Auto Login?

Auto login skips the Windows sign-in screen on startup and takes you directly to the desktop. It's a convenience feature designed for single-user PCs in private settings.

Pros and Cons of Auto Login

Pros:

  • Faster startup — no time spent typing a password
  • After a remote-triggered reboot, the PC comes back to the desktop instead of getting stuck at the login screen
  • Apps set to launch at startup initialize sooner

Cons:

  • Anyone who can physically reach your PC can use it
  • Higher risk if the device is lost or stolen
  • Not suitable for work or shared computers

This feature is best reserved for a desktop PC you keep at home that no one else touches.

Local Account vs Microsoft Account

The setup steps vary slightly depending on your account type.

  • Local account: Easy to set up with netplwiz
  • Microsoft account: The relevant checkbox may be hidden on recent versions of Windows 10/11. Registry editing is often required

Microsoft has made it increasingly difficult to bypass the password requirement when using a Microsoft account. If netplwiz doesn't show the checkbox, the registry method described below is your path forward.

Setting Up Auto Login with netplwiz

netplwiz is the built-in User Accounts tool — the simplest starting point.

Basic Setup Steps

  1. Press Win + R to open the Run dialog
  2. Type netplwiz and press Enter
  3. The User Accounts window opens
  4. Select the account you want to auto-login
  5. Uncheck Users must enter a user name and password to use this computer
  6. Click Apply
  7. Enter the account password twice in the confirmation dialog
  8. Click OK

From the next boot, Windows will go straight to the desktop without asking for a password.

When the Checkbox Doesn't Appear

On certain versions of Windows 10 and 11 with a Microsoft account, this checkbox simply isn't shown. Try this to reveal it:

  1. Open Settings
  2. Go to AccountsSign-in options
  3. Turn off Use Windows Hello sign-in for Microsoft accounts
  4. Restart your PC
  5. Open netplwiz again — the checkbox should now be visible

You can re-enable Windows Hello after setting up auto login if you want biometric unlock for the lock screen only.

Setting Up Auto Login via the Registry

If netplwiz can't help, editing the registry gives you direct control.

Warning: Registry edits affect the entire system. Back up your registry before making changes.

  1. Press Win + R, type regedit, and press Enter
  2. Navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

  1. Set or create the following string values in the right pane:
  • AutoAdminLogon (String Value): 1
  • DefaultUserName (String Value): your username
  • DefaultPassword (String Value — create it): your password
  • DefaultDomainName (String Value): domain name, or your computer name for local accounts (can be left empty)
  1. Close Registry Editor and restart

Important: DefaultPassword is stored in plain text. Anyone who can access the registry can read it. Avoid this method on shared or work computers.

How to Disable Auto Login

To go back to the standard password prompt:

Via netplwiz:

  1. Press Win + R → type netplwiz
  2. Select your account
  3. Re-check Users must enter a user name and password to use this computer
  4. Click OK

Via the registry:

  1. Open Registry Editor and navigate to the Winlogon key above
  2. Change AutoAdminLogon to 0
  3. Delete or clear DefaultPassword

After a restart, the sign-in screen will appear again.

Security Tips for Auto Login

If you go ahead with auto login, pairing it with a few other settings reduces the risk:

  • Lock screen timeout: Go to SettingsPersonalizationLock screenScreen saver settings and enable "On resume, display logon screen"
  • BitLocker drive encryption: Protects your data even if someone removes the drive
  • Windows Hello for the lock screen: Skip the password at boot but still require biometrics when unlocking
  • Disable Wake-on-LAN: Prevents the PC from turning on remotely when you're not home

If you ever take your laptop out of the house, enable BitLocker. Auto login without encryption means anyone who opens your laptop has immediate access to all your files.

Frequently Asked Questions

Q. Will auto login violate my company's IT policy?

A. Almost certainly yes. Most organizations prohibit it under their security policies. Only use auto login on a personal PC you own and control.

Q. I set it up but auto login still isn't working

A. If you locked the PC before shutdown, or if multiple accounts exist, Windows may still show the sign-in screen. Check Sign-in options to make sure there's no additional Microsoft account sign-in requirement enabled.

Q. I changed my password and now auto login stopped working

A. Auto login uses a separately stored password. After changing your Windows password, update the auto login password in netplwiz or the registry to match.

Q. Windows is asking for a PIN instead of auto-logging in

A. Windows Hello PIN may be enabled. Go to SettingsAccountsSign-in options and remove the PIN. Password-based auto login should then work.

Q. Can I use Windows Hello and auto login together?

A. Yes — a common combination is auto login at boot (no password needed) and Windows Hello for unlocking the lock screen (biometrics required). This balances convenience with some protection.

Summary

The quickest way to set up auto login on Windows is via netplwiz — press Win + R, type netplwiz, and uncheck the password requirement. If the checkbox is missing with a Microsoft account, temporarily turning off Windows Hello in Sign-in options usually reveals it. When netplwiz isn't an option, edit AutoAdminLogon in the registry. Auto login is a convenience feature for personal, single-user PCs only. Pair it with BitLocker encryption so that if the device is ever lost or stolen, your data stays protected.