SEARCH

How-To Geek

Make Windows 7, 8.x or Vista Log On Automatically

If you are just running a home computer for gaming or something unimportant, you might not want to have to log in every single time you reboot your computer. There’s an easy tweak that will let you autologin.

First, we’ll need to get to the Advanced User Accounts Control Panel to get to this setting. I think there’s a registry tweak as well, but that seems like too much work.

Type in netplwiz into the start menu search box, hit enter, and you’ll see this screen:

Note: If that doesn’t work, you can type in control userpasswords2 instead.

control-userpasswords2.png

Uncheck the box that says “Users must enter a user name and password to use this computer”, and then hit Apply. You’ll see a username and password box. Enter in the appropriate information here and hit OK:

automatically-log-on.png

Note that these steps work perfectly on XP as well.

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 01/25/07

Comments (58)

  1. Hoang Tu

    Very useful
    Thanks a lot

  2. Chuck Nyren

    Thanks for this.

    However, it doesn’t seem to work when you hibernate. You still have to log on. Any workaround for that?

  3. danih

    Hi!

    For hibernate/sleep; go to advanced settings for power saving schema, ther you can set that logon isn’t nessesary after sleep.

  4. Enno Krebbers

    I found this in the help as well, but how do you do the reverse? Automatic logon seems to have been turned on on my machine since I installed Vista (on a new machine). I would prefer it be off since two of us use it and it would be helpful to have the so-called welcome screen to choose the user. The box to require a password is already unchecked (we don’t need that in our home). I can get no further dialog boxes giving me the option to turn on the welcome screen with user choice. The machine always starts as the user that was first created.
    Thanks in advance.

  5. Toby Adams

    Fantastic article, you can also get to it by typing “control userpasswords2″ from the run box.

  6. VELPO

    Is there something similiar for XP?

  7. paladin

    same as above is true for xp

  8. muriel

    It doesn’t work for me !!
    The screen “User accounts” does not have a box to be ticked “users must enter username and password to use this computer” ! I can’t find it anywhere!

    Can you help?

  9. NeoMaster

    I had the same problem, but I ended up using regedit to get the box visible, then selected the correct account to login through ‘control useraccounts2′. Restarted and works great :)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    Modify the ‘AutoAdminLogin’ value to ’1′ to enable the checkbox.
    The only other thing I needed was to change ‘DefaultDomainName’ AFTER I had set a user to auto login through ‘control useraccounts2′ since I had a local user and a domain user with the same name.

    BTW, I don’t take responsibility if you foobar your PC, so use at your own risk.

  10. Alvin

    You ought to change your instruction to send your advisee to start, run, then control…… I found the search didn’t find the program in index, but using run worked fine.

  11. Rain

    I cannot check the the box “logon isn’t nessesary after sleep”
    What to do about that?

  12. hadlyever

    this article gets me halfway there. yes i dont have to enter a password, but i still have to click on the button to logon. how do i get windows to simply go straight to my desktop on startup and when it comes out of sleep mode?

  13. jd2066

    @hadlyever: Goto Power Options in Control Panel, Click “Choose what the power buttons do” on the left, click “Don’t require a password” and click “Save Changes”.
    Note: If the password radio buttons are grayed out click “Change settings that are currently unavailable” and click Continue for them to appear.

  14. Arjan Salomons

    Just a note: This works perfectly on Windows 7, too!

  15. Donald

    I had the same problem, but I ended up using regedit to get the box visible, then selected the correct account to login through ‘control useraccounts2′. Restarted and works great :)

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    Modify the ‘AutoAdminLogin’ value to ’1′ to enable the checkbox.
    The only other thing I needed was to change ‘DefaultDomainName’ AFTER I had set a user to auto login through ‘control useraccounts2′ since I had a local user and a domain user with the same name.

    BTW, I don’t take responsibility if you foobar your PC, so use at your own risk.

    DUDE, That works….
    THX….

  16. Oli

    Hi I have windows 7 rc on an acer aspire one. I didn’t put a password on the admin account I set up in windows setup and as expected on loading windows, it automatically logged on to my user account. Then about a couple of ours when I restarted after installing an update it required me to click the account button to log on?! Now my first thoughts were un install the updates, which did not work. I have then done all suggestions mentioned above. I am usually pretty succesfull in trouble shooting these kind of problems but I am at my wits end and my next step is looking like a clean install but I would be very grateful for any sugestions. Thanks in advance!

  17. maarty

    if you cannot open advanced user accounts with “control useraccounts2″ like me and registry trick does not work try this:
    open control panel > click on the arrow in adress bar > select All Control Panel Items

  18. Cody Lambrecht

    Is there a way to have the computer see what Wifi connections are available, and if there is a certain connection with let’s say “Home” as the name, have it automatically logon. Then if that wifi connection is not available, it would not automatically logon?

    I’m assuming probably not. haha.
    Thanks for your time.

  19. nka

    What about the Win XP feature “Change the way users login” feature where the username and blank password field option were available instead of the Welcome screen? Anyone know how to enable this for Win 7?

  20. Crazykru

    I have a HPTouchSmart computer which I just turned on and the first screen (Windows Vista Ulitmate) says’ Press CTRL + ALT + DELETE or use the Windos Security button to log on’, the only other items that I can see are two icons on lower left- one for keyboard language and the other an ease of access feature.
    Does anyone know how to log on as pressing Ctrl+ Alt+Delete does nothing??
    None of the keys do anything?

  21. Russ Shupert

    If your machine is part of a domain, you will have to tweak the register. Here’s a great article on how to do that.

    http://superuser.com/questions/28647/windows-7-automatic-login-when-on-a-domain

  22. Glenn Walsh

    Well that didn’t work in windows 7 at all !
    instead it made the guest log in invisable ???
    lucky for me it was reversable.
    this was my first and last time trying this
    “How to Geek” that’s for sure.

  23. Afaaro

    very usefull

  24. John Smith

    Windows XP: Start –> Run –> Control userpasswords2

  25. Ian

    @ hadlyever, I also had the same problem after following all of these steps. I am the only user of my computer, and just for the heck of it, I added a password, restarted, removed the password, restarted, and now it logs on automatically. Hope this helps.

  26. Lydon

    Thanks! It’s simple and worked perfectly =)

  27. P H Allen

    Grassy-ass. Just the “ticket” for what I have been needing. I like Win7 much more than I though I would, but I still miss the Tweak UI tools that would handle things like this.

  28. DK

    Doesn’t work on Windows 7

  29. Mohsen

    thanks, useful.

  30. Proszper

    Thanks, goood. :-)

  31. Proszper

    but it doesn’t work, unchek the box in “Control userpasswords2″ and then will be the same again either restart, or just go back to the mentioned window above.
    Do I need to tipe any pwd or could it be empty? (tried both) Strange thing is, it was working without any login (user selection) for me before, but 5 days ago keep me select the user (me) without any pwd seted up.
    Anyone has got some ideas?
    thanks.

  32. Proszper

    sorry other info, I have no WINLOGON reg key on the specified place….

  33. Sandra Marshall

    Thank you very much. This really helped me to get signed in automatically. Windows 7 doesn’t make it easy.

  34. ugtech

    Several other places on the web incorrectly directed end-users to “search” for “control userpasswords2″. You had the correct information Start, run command, enter “control userpasswords2″. Or search for netplwiz.

    NICE!

  35. specimen

    I want to mention that although you proceed with the above steps for Windows 7. If you have an account that uses a password and are then trying to bypass the login screen, you must first go to your user accounts and remove your password. Otherwise it will try and authenticate based on the stored password.

  36. Jonathan

    Thanks I just started using my old vista again thats boots slow. Now i can just press the button take a shower and when I get back my computer is on. One thing you forgot to mention. When you change your password you have to log in manually and type in netplwiz again check and uncheck the box and reenter your new password. (I guess this is an artical for the intermediate users so its fine.

  37. Azam Zia

    Great article thanks alot

  38. Eric

    Thanks

  39. poopeater

    When I joined a domain the checkbox disappeared. Had to edit the registry key listed above

  40. Joe Cap

    Uh…just don’t put IN a password when setting up your account??
    Just enter a username and no password…this has always worked just fine for me using XP and Windows 7…

  41. aymane

    work perfectly in windows 7

    thanx a lot man

  42. sunil

    thanks buddy
    exactly what i wanted
    saves the startup time as i hit the button of cpu and run to take my coffee
    and now the pc is ready when i return!
    cheers!

  43. sunil

    sorry i had not tried it before commenting
    but the comment by jd2066 works thands to jd2066 !

  44. MAHDI مهدی

    gooooooooooooooooooooooooooooooooood!

    I am come from

    I.R.Iran

  45. natea

    FYI. If anyone uses the reg hack, make sure to put the domain name in.. ie.. /domain… before the user name in there or it won’t pick up the domain and wont work right.

  46. Century22

    This method worked for me. The windows search did not!
    I searched using “everything” with the keyword: “netplwiz”
    I found both versions for x86 and 64bit. Double clicking on my version it opened.
    Following the procedure the second box opened. Since I do not have a password, I just clicked OK.
    Done! I restarted the computer without the windows log-on screen! It worked! Thank you!

  47. cmo999

    For some reason my standard user account that I use most of the time does not show up on that screen, only the Adminstrator account does.

  48. cmo999

    Nerrmind! I figured it out. My standard user account had a different account name than full name, that is what caused the confusion.

  49. Bishnu

    for windows 7 this is the way to change login.but in xp go to user account,in user name there somewhere is “”change the way windows login” just check it to change,that’s all.

  50. SamyAdel9

    Question:
    Will it still show the username and password screen if I lock the computer?

  51. manny

    auto log in is so much easier to setup in linux, but will try it on windows vista and see if it works. thx

  52. George

    This is great.
    Thank you, exactly what I was searching for.

  53. Marc

    Like!

  54. Pat

    Hi Agree this is great but I have a problem.
    Good: No login on turn-on start, no login on restart great.

    screen saver “on resume display login screen” is not checked – tested after a few minutes and works correctly.

    If computer is left for some time with the screen saver running I get the login screen. I have no idea why this happens does anybody have any ideas?

  55. iphoness

    Thanx for your energy, sustain the nice operate Excellent perform.

  56. Terri

    Thanks, you just gave me extra credit points in my Windows OS class.

  57. Mischa

    Very nice indeed! Thanks.

  58. Edna

    When the computer turns on it the users pop up so that you can pick one and sign on. All users have a password. If you wait for about 3 minutes the computer automatically logs on to a users account eventhough a password has not been entered. How do I fix this?

Enter Your Email Here to Get Access for Free:

Go check your email!