When you start your Windows computer, you usually have to enter a password to log in. However, in some cases, you may want Windows to log in automatically without requiring a password. This can be useful for home computers, testing environments, or public terminals.
This guide will show you how to modify the Windows registry to enable automatic login. This method works on both Windows 10 and Windows 11.
1. Why Enable Automatic Login?
- Convenience: Saves you from typing a password every time you start your computer.
- Faster Startup: Windows boots directly to the desktop.
- Ideal for Specific Use Cases: Useful for test environments, shared office computers, and public access machines.
2. Steps to Enable Automatic Login.
⚠ Warning: Editing the registry can be risky. Make sure to back up your registry before making any changes.
2.1 Open the Windows Registry Editor.
- Press `Win + R`, type `regedit`, and press Enter.
- If prompted by User Account Control (UAC), click “Yes” to continue.
2.2 Navigate to the Winlogon Key.
- Go to the following registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
2.3 Modify or Create Required Keys.
Find or create the following three string values (REG_SZ):
- AutoAdminLogon → Set to `1`.
- DefaultUserName → Enter your username.
- DefaultPassword → Enter your account password.
3. Restart Your Computer.
- Close the registry editor.
- Restart your PC.
- Windows should now log in automatically.
4. Security Concerns.
- Password Stored in Plain Text: Anyone with access to the registry can see it.
- Not Recommended for Shared Computers: Best for personal use or controlled environments.
- If you ever want to disable auto-login, simply set `AutoAdminLogon` to `0` or delete the `DefaultPassword` key.
By following these steps, you can enable automatic login in Windows, making startup faster and more convenient!
5. Demo Video.
You can watch the following demo video by select the subtitle to your preferred subtitle language.