⚙️ Windows Auto-Login Registry Setup
Enable Auto-Login While Preserving Password for SSH
Important Warning
⚠️ Registry Editing Risk: Incorrect registry modifications can damage Windows. Create a system restore point before proceeding. This method stores your password in plain text.
Registry Configuration Steps
1
Open Registry Editor
- Press Win + R
- Type regedit and press Enter
- Click Yes when prompted by User Account Control
2
Navigate to Winlogon Key
- Navigate to: HKEY_LOCAL_MACHINE
- Expand SOFTWARE → Microsoft → Windows NT → CurrentVersion
- Click on Winlogon
3
Modify and Create Registry Entries
- Double-click AutoAdminLogon (already exists) and set value to 1
- Right-click in empty space → New → String Value
- Create DefaultUserName and set to your username
- Create DefaultPassword and set to your password
4
Restart Computer
- Close Registry Editor
- Restart your computer
- Windows should auto-login without password prompt
Registry Values to Create
DefaultUserName = [your username]
Replace with your actual Windows username
DefaultPassword = [your password]
Replace with your actual Windows password
Note: AutoAdminLogon already exists - just modify its value to 1
✅ Configuration Complete!
Windows will now auto-login while maintaining password for SSH access