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

21,756

Solution 1

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

Solution 2

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"

Solution 3

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

Share:
21,756

Related videos on Youtube

bortao
Author by

bortao

Updated on September 17, 2022

Comments

  • bortao
    bortao over 1 year

    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
    bortao about 13 years
    I found this as well: torch.freeweb7.com/autologon.html -- it auto logon (to load programs, etc) and lock immediately. exactly what i needed :)
  • nhinkle
    nhinkle about 13 years
    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.
  • Simon Sheehan
    Simon Sheehan over 12 years
    what will this do?
  • Ramhound
    Ramhound about 8 years
    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.