How to use Netplwiz to login to Windows without a password

tutorial
How to use Netplwiz to login to Windows without a password
Experienced Windows users may miss the old days, when they could sign into their computers without entering a password and the operating system instantly logged them in. To do that, they used a tool named Netplwiz, which “typed” the user account password for them at each login. This old trick still works in Windows 10 and Windows 11, even though it’s not a great idea to use it, from a security standpoint. If you’re interested, here’s how to use the netplwiz command to log into Windows without a password:

Step 1. Turn off “Require Windows Hello sign-in for Microsoft accounts”

Before running netplwiz successfully, you must change an important security setting in Windows. If you’re using Windows 10, open Settings (Windows + I) and go to Accounts > Sign-in options. On the right, look for the “Require Windows Hello sign-in for Microsoft accounts” switch and click or tap on it to turn it Off.
Turn Off Require Windows Hello sign-in for Microsoft accounts
Turn Off Require Windows Hello sign-in for Microsoft accounts If this switch is turned On, you won’t be able to log in to Windows 10 without a password. If you’re using Windows 11, open Settings (Windows + I) and go to Accounts > Sign-in options. As shown in the screenshot below, the sign-in options are under Account settings.
In Windows 11, open Settings and go to Accounts > Sign-in options
In Windows 11, open Settings and go to Accounts > Sign-in options Under Additional settings, turn Off the switch for this setting: “For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device (Recommended).”
Disable For improved security, only allow Windows Hello sign-in for Microsoft accounts
Disable For improved security, only allow Windows Hello sign-in for Microsoft accounts Now you can move on to the next step of this tutorial. TIP: If you want to know more about Windows Hello sign-ins, I recommend these guides:

Step 2. Run netplwiz.exe or the “control userpasswords2” command

Next, press Windows + R on your keyboard to open the Run window, right-click (or press and hold) the Windows logo on the taskbar, and choose Run. In the Open field, type:
netplwiz
or
control userpasswords2
Run netplwiz
Run netplwiz Both commands work alike and lead to the same result. You can also type them into the Search box on the taskbar and then press Enter or run them from Command Prompt, PowerShell, or Windows Terminal.
Execute the control userpasswords2 command
Execute the control userpasswords2 command You then see the User Accounts window. Pay attention: do you see the option “Users must enter a user name and password to use this computer?” If you don’t, you’ve missed the first step. The screenshot below shows a comparison of the User Accounts window before (left) and after (right) you’ve turned off the policy only to allow Windows Hello sign-ins.
The User Accounts window
The User Accounts window As some might say, in the screenshot on the left, there’s “no option to disable the password through netplwiz” or “netplwiz auto login missing.” Now that this problem is sorted, follow the next step.

Step 3. Set Windows to login without a password

Most people have only one user account on their computer; others may have two or more. First, select the user account for which you no longer want to type the password to log into Windows. Next, uncheck the “Users must enter a user name and password to use this computer” option and click or tap OK.
Turn off Users must enter a user name and password to use this computer
Turn off Users must enter a user name and password to use this computer You are asked to type the user account password and confirm it. Do as advised, and click or tap OK.
Type and confirm the password for the selected user
Type and confirm the password for the selected user The next time you start Windows 10 or Windows 11, you are automatically logged in with the user account you just selected without having to type its password.

Security considerations: Is Netplwiz safe? No, it’s not!

While using netplwiz to login to Windows without a password is convenient, it poses security risks. That’s because, when you use netplwiz, Windows 10 and Windows 11 store your user account’s password as an LSA secret, which means it can be hacked. LSA stands for Local Security Authority, a system designed for managing a system’s local security policy, auditing, authenticating, logging users onto the system, etc. Although it’s better than storing your password in plain text, it’s easy to decrypt using specialized tools such as NirSoft’s LSASecretsView and all kinds of credentials exfiltration techniques.
LSASecretsView can read your password
LSASecretsView can read your password Unless you’re using netplwiz on a home computer that only you can access, I don’t recommend it. You should NOT enable the automatic Windows login with no password on a work computer from your office, and you definitely shouldn’t do it on a laptop or tablet you’re taking on the road. In such cases, it’s much better to trade convenience for security and not use this trick. After all, if your device gets stolen, you don’t want other people to be able to log in automatically. Also, if your Windows computer or device is part of a network domain, such as a corporate network, this procedure does not work. On network domains, the network administrator sets the policies regarding the login procedure, and those cannot be overwritten by users. If you try this on your work PC, it will likely fail. This only works if you use a personal computer or a device you manage. Furthermore, even on a home PC or laptop, if you have multiple user accounts on your Windows computer or device, using netplwiz to allow logging in without a password is an inconvenience instead of a blessing. Windows will always log in automatically to the user account that you’ve selected during this procedure.
Netplwiz makes Windows log you in automatically
Netplwiz makes Windows log you in automatically To log in using another account, you must wait for Windows to startup and sign in. Then, you must sign out or switch to the other user account you want to log on to.
Sign out from Windows to switch to another user
Sign out from Windows to switch to another user Here are some tutorials to help you: Finally, don’t forget that if you want to return things to how they were, you can follow the same procedure and check the option “Users must enter a user name and password to use this computer.” Then, press the OK button.
Disabling the effects of Netplwiz
Disabling the effects of Netplwiz

Why do you want to use Netplwiz to login without a password?

Now you can make your Windows 10 or Windows 11 computer sign you in automatically without a password. This trick may be OK on a home computer used mostly by you or family members that you trust. However, as you’ve also learned, it’s not safe, and it can easily expose your password to third parties. Knowing all this information, I’m curious to see whether you went ahead and used netplwiz to login without a password and why. Did everything work as expected, or did you encounter problems? Let me know in the comments.
Discover: Productivity Security Accessibility Accounts Recommended Tutorials Windows

Discussion (48)

  1. Russ Lynch
    Russ Lynch

    WIndows 10 2004 with microsoft account.
    Worked the first time. I am the only user of this home
    computer, and this is very convenient.

    1. Anonymous
      Anonymous

      Glad to hear that. Don’t hesitate to subscribe to our newsletter, for more useful tutorials.

  2. rosco
    rosco

    I made a secondary account on my PC for my own use, so apparently, netplwiz and other settings are not able to change my password/pin requirement.

  3. LindaW
    LindaW

    Thank you so much, I have been trying to get rid of this login pswd prompt for ages since I’m the only user of this PC.

  4. Michael
    Michael

    For windows 7,I typed in remove password in the search box,and create or remove password came up.I clicked on this and the rest was easy.

  5. Robert Fournier
    Robert Fournier

    Will this help me enter my computer I Ave to enter password to open it can’t get into anything else. till I put it in and I can’t member it so I can’t do nothing on it

  6. joann stark
    joann stark

    this is better for me

  7. Vickey
    Vickey

    I’ve done this several different times. The first time I did it, I didn’t need to enter a password for a few months. All of a sudden, I had to put a password in and it wouldn’t accept the correct one. I had to keep trying different passwords that I know I’ve used for other things. Finally I could get in. I can’t log on to Windows anymore without entering my user or password information. IT JUST DOESN’T WORK AS INSTRUCTED.

  8. chuck bowers
    chuck bowers

    I worked all the way thru this, only to be met by message “you cannot change the password for ……”. any suggestions?

    1. chuck bowers
      chuck bowers

      windows 8.1

  9. Qaswar
    Qaswar

    I didn’t type the password after selecting “Users put enter a password to use this computer” what I can do?My computer is not signing me up

  10. Glen McIvor
    Glen McIvor

    Windows 10. Decided to create windows account after which my new windows account replaced my local login (which had no PW) which then required me to use a pin to log into Local PC and online account. I followed above steps (showed only one account, unchecked require login, then entered PW twice, no problems). Only to find that after reboot it said wrong credentials. I pressed Ok and saw that I had a choice between two accounts with which to login: – Glen McIvor + gmail or just “Glen McIvor”.

  11. Madeleine Maddocks
    Madeleine Maddocks

    Thank you so much :O)

  12. ohobson
    ohobson

    I have searched and used every prompt I have found to get pass this password. It is mind-blowing how this windows 8 password has stumped me!!! Out side of wiping this pc clean I haven’t found a way around getting passed this because I cant get through it want let me do anything!!! can anyone help me PLEEEZZZZZ!

  13. Anthonyp
    Anthonyp

    In win 7 I had 2 accounts; one as administrator, wth a complex password, and one restricted for general use with a simple password. The joy was that the latter was easy for my non it literate better half to use and meant that a programme downloaded by mistake required the admin password before it could be activated. How to I replicate that with Win 8.1?

  14. dorii
    dorii

    well,i forgot my password and want to open my pc what should i do will this open my laptop without asking me for the password???

  15. Steve
    Steve

    Ok I found (under Win 7 Ultimate) it does work from cold boot but if you are resuming from hibernate it still prompts you to select user (no password but you still have to click on user). Must be Win 7 inconsistency.

  16. Pepys
    Pepys

    This does not work with my W8.1. Using either netplwiz or userpasswords2, the boxes are ALREADY UNCHECKED, and still I have to log in. Worse still, the danged machine goes to sleep constantly, so I have the thrill of logging in constantly. thanks for any help. Pretty desperate.

  17. Steve
    Steve

    Like Grovah, I have done all this. I have a single user which has admin rights. Everytime I boot up I have to select the user (press Enter). No password is required but I still have to select the user to proceed to the desktop. How do I get it to go straight to the desktop on boot without selecting the user?

  18. Kelly John
    Kelly John

    Actually to login Windows 7 without password, my situation is, I lost my Windows 7 password and hope to remove it, so that I can login without password. Finally I use SmartKey Windows Password Recovery to remove the password. Then I can login Windows 7 without password. You can Google Search “login windows 7 without password smartkey” to know more about it.

  19. Samir
    Samir

    Good one! Nice to see those colorful screenshots! This is one of those things I like about this site. There are some errors in the post though.

    “Now you will are asked to type the password of that user twice.”
    You can’t have “will” and “are” in the same sentence like that. That’s both semantically and grammatically wrong.

    “If it gets stolen it is best for others not to be able to log in automatically.”
    I believe this one is a semantically incorrect. It is best for others TO BE ABLE TO log in automatically; it is best for you if they are NOT ABLE to log in automatically.

    This neat little trick has been around for a long time now. I personally wouldn’t recommend it. Especially if you do this on a laptop and you move it around a lot. But hey, it’s your computer and your data. You worry about that, or don’t. You’ve been warned. I believe some of these login tricks can be done through the Group Policy Editor as well. If you’re a Windows 8 user I recommend that you use add a PIN instead, as an alternative login option.

    But frankly, it’s best to use a strong password and type that in every time. Typing it in each and every time can seem boring, irritating, frustrating, etc. But you won’t think that once you get hacked one day! Lazy and careless people are an easy target. Besides, none of this will replace your administrator password. So if you want to make big changes to the system you will still have to type in your password, at some point. Once you need that password, and you have been using a PIN for the past eight months (or this auto login trick), you will most likely have forgotten the password. What I mean to say is that using your password each time will help stimulate your memory! You get to use your head.

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      Thank you for pointing out our mistakes. They have been corrected.

  20. Jo
    Jo

    Thank you!

  21. Stephen
    Stephen

    After trying to fix this problem, I am getting the message saying it failed to login, and then I have to type in my password anyway. Super annoying.

    I’ve spent so much time trying to fix all of these problems with windows that I’m not able to use the computer for its intended purpose.

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      Are you using a work computer or a personal one?

      1. Stephen
        Stephen

        Personal computer at my home.

        All of my work and online computer use is done with the mac. This windows pc is just for running a few programs at home that I can’t run on the mac.

        1. Ciprian Adrian Rusen
          Ciprian Adrian Rusen

          Hmm… strange. Is there a chance that you have written the wrong password?

          Would you consider trying the same procedure again?

          1. Stephen
            Stephen

            I’ve tried it multiple times, turning it on and off.

            The password is correct. That’s not the problem.

  22. Aircav
    Aircav

    I keep getting this message at login: “The user profile service failed the login, Use profile cannot be loaded” I get this message with and without a password, any ideas please

    Thank you in advance

  23. res
    res

    I appreciate your effort to help in my delama not to have to log in. I did everything you said. I still have to log in. I really just want to close the computer and open it up to exactly where I was when I closed lit, or return to it after 10 minutes and be where I was, not sign in. This signing in and going to three screens before I get back into my computer is time consuming and so unnecessary. I have windows 8. Just bought it and seriously thinking of returning it. I used netplwiz.exe. Unchecked require sign in, I was sent to another screen and I left the password field blank. I then closed the id and had to sign in when the lid was opened.

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      Customize the power plan so that, when you close the lid, it goes into hibernate. This stores you current state and uses very little power.

      When you will open the lid, you sign in (this is an important security precaution) but you see the programs you accessed opened, etc. Things after the log in will be just as they were before closing the lid.

      To edit the settings of a power plan, see these instructions:

      https://www.digitalcitizen.life/how-tweak-advanced-settings-power-plan-windows-7

  24. Lisa Owens
    Lisa Owens

    Thank you!!! You saved me; wish I had found this article last night at 3am.

  25. commonilstop
    commonilstop

    it doesn’t work my computer, it is locked and for some reason the password ain’t working it is probably blocked FOREVER ur advice ins’t waroking! real thx for trying

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      Is your computer a work computer, owned and managed by your company?

  26. Roy G
    Roy G

    Doesn’t work for me on Windows 8 ! Does “trust my PC” or “Switch to a Local Account” have any effect on removing the password requirement ?

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      You should trust your PC in order to use Windows 8 without problems. Also, can you explain what you mean by “doesn’t work”? What exactly is happening? Are you receiving any errors?

      1. Roy G
        Roy G

        No errors – simply put all of the fixes I have tried, at least 10, have not removed my requirement to enter my password. Do I need to “switch to a local Account” on the Users first window ? Appreciate your concern !

        1. Ciprian Adrian Rusen
          Ciprian Adrian Rusen

          This procedure should work for all types of accounts. No need to use a local account. But, it won’t work on corporate networks, where login policies are managed by the network admin. If you are using a work computer, then this might be the cause for your issue.

  27. Hemang
    Hemang

    Great … I can now starts windows 8 pro without logging everytime

  28. Xi
    Xi

    I think using Microsoft account with Windows 8 itself is not quite secured, because when someone asked MS about this, they replied that “It will be secured only when you use our programs and s/w and we are not responsible when you use any 3rd party apps or s/w”. And when asked about validation of Windows 8 using MS account, they didn’t reply! Check this link: https://answers.microsoft.com/en-us/windows/forum/windows_8-security/using-microsoft-account-in-windows-8/b6e23e9a-f236-48e2-b5c4-b134d8647cdd

  29. Steve
    Steve

    Worked perfectly with Win 7 Ultimate. Thanks heaps.

    1. Ciprian Adrian Rusen
      Ciprian Adrian Rusen

      You are very welcome Steve. Glad we could help! Hopefully you will find other useful articles on our website.

  30. Win7HomePremium
    Win7HomePremium

    This DOES work with Windows 7 Home Premium, don’t know about the other “editions” (M$) though.

  31. Anonymous
    Anonymous

    if you have windows 7 home edition this will not work as far as i know. you have to go into control panel where it says add or remove user accounts and remove your password. it worked for me. hope this helps someone

    1. Richard
      Richard

      yes if you have windows 7 home it will work just fine i just did it no problem now i don’t need to put in my password Thank God””””

  32. Andylau
    Andylau

    very good. I follow this tutorial, now I don’t need to type my password each time when I login windows 7 .

  33. Grovah
    Grovah

    I have been following this guide multiple times, but I always must click on the user in the welcome screen. hat am I doing wrong?

    /Grovah

  34. Anonymous
    Anonymous

    Thanks for this but somehow I log on automatically but not as an administrator. When I try to switch user there is no other option meaning I can’t do any UAC tasks!!???

    Totally lost

    Scott