Disable automatic login on Windows 10

1153205 pts.
Tags:
Windows 10
When I was back using Windows 8.1, someone got into my system because I was automatically logged in as the last user. Is there a way to prevent that in Windows 10? Basically, if I'm the last user to use the machine, Windows 10 won't automatically log me in next time.
1

Answer Wiki

Thanks. We'll let you know when a new response is added.
The following works for on Windows 10 Pro x64. It’s particularly useful if some accounts don’t have passwords.

  • Go into the Local Group Policy Editor (you can get there by searching the configuration panel)
  • In the navigation panel, click to expand the User Configuration -> Windows Settings -> Scripts (Logon/Logoff)
  • In the right panel, double click to open Logon (not Logoff!)
  • In the windows that opens, click on Add
  • In the Script Name field, input: C:\Windows\System32\reg.exe
  • In the Script Parameters field, input: ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch /V Enabled /T REG_dWORD /D 1 /F
  • Click OK and close the window
  • Restart the PC (logging out might also suffice)

Now when you login and go to shut down the PC, you will be greeted by the list of user names at the next boot.

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Ahmed00Rahman
    Doesn't work in Windows 10 x64 Pro Build 15036.
    10 pointsBadges:
    report
  • windows10Painful
    Maybe the newest forced Windows 10 feature (not sure under what OS version it came in under)

    Only way I've been able to stop the auto login, is via a manual tweak  in the new windows settings app
    • Search for "sign-in options"
    • Disable "Use my sign-in info to automatically finish setting up my device and reopen my apps after an update or restart"
    Wasn't able to locate a group policy setting (or a registry key) to fix this; so my issue is 30 fold as I have 30 workstations which do this which I've manually had to go into each user and disable.

    Hope this helps
    0 pointsBadges:
    report
  • Subhendu Sen
    Press Win+R, enter "netplwiz", which will open the "User Accounts" window. Check the “Users must enter a username and password to use this computer” option and click Apply. Restart your computer and the system will prompt you to enter your password at the login screen.
    0 pointsBadges:
    report
  • ToddN2000
    Not sure what is going on here. I'm on Win10 at work and both systems at home and I have to login each and every time...IT may have something to do with the fact at home I logoff and shutdown each night and at work I lock my computer at the end of the day. I'm always prompted for the password.
    0 pointsBadges:
    report
  • Kevin Beaver
    Another good rule of thumb is to lock your screen or logoff when you've completed your session.
    27,525 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: