Does Windows 7 allow auto-login with a stored password, like TweakUI did?

10

3

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?

bortao

Posted 2011-02-09T17:41:29.247

Reputation: 688

Answers

12

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

nhinkle

Posted 2011-02-09T17:41:29.247

Reputation: 35 057

An (unstated) important step is that by disablingUsers must enter a user name and password to use this computer, you are allowed to select the user which you want to be the default account, once you have selected the user and you enable Users must enter a user name and password to use this computer and hit apply the prompt is displayed. There are numerous other questions with slightly incomplete answers, this answer does work for ALL accounts, even those without a password. – Ramhound – 2016-04-25T17:30:13.617

I found this as well: http://torch.freeweb7.com/autologon.html -- it auto logon (to load programs, etc) and lock immediately. exactly what i needed :)

– bortao – 2011-02-09T18:11:26.070

2If 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 – 2011-02-09T20:58:58.860

3

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

paradroid

Posted 2011-02-09T17:41:29.247

Reputation: 20 970

3

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"

Marcus

Posted 2011-02-09T17:41:29.247

Reputation: 31

3what will this do? – Simon Sheehan – 2012-01-30T22:00:12.910