Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The TweakUI powertoy for Windows XP had an option to auto-login. It stored your password and did the login for you. This was useful, since you kept password protection, but had login programs loaded when you first booted.

When you switched users or hibernated, it would still ask for a password, which is the desired behavior.

Is there a way of doing this in Windows 7?

share|improve this question

3 Answers 3

up vote 8 down vote accepted

Yep. Run control userpasswords2 from the command line. Uncheck the box for "Users must enter a user name and password to use this computer". When you click "Apply", you'll be asked for the username/password combo you want to use to login. This user will then get logged in automatically.

User account auto login

select user

share|improve this answer
    
I found this as well: torch.freeweb7.com/autologon.html -- it auto logon (to load programs, etc) and lock immediately. exactly what i needed :) –  bortao Feb 9 '11 at 18:11
2  
If you want to have it lock automatically, just add a shortcut to rundll32.exe user32.dll, LockWorkStation to your Startup folder. No need to install third party programs. –  nhinkle Feb 9 '11 at 20:58

TweakUI is just a GUI interface for registry keys, which can also be accessed using Systinternals Autologon.

share|improve this answer
Windows Registry Editor Version 5.00

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

"AutoAdminLogon"="1"

"DefaultUserName"="USER@AD-DOMAIN"

"DefaultPassword"="PASSWORD"

"ForceAutoLogon"="0"
share|improve this answer
3  
what will this do? –  Simon Sheehan Jan 30 '12 at 22:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.