Windows 10: How to Disable Automatic Login After 1709


  1. Posts : 2
    Windows 10
       #1

    Windows 10: How to Disable Automatic Login After 1709


    Starting with the Fall Creator's Update (1709) the previously-utilized preventions for autologin no longer work. If you have an account with no password, but you don't want that account to log in automatically you previously had to have a logon script that would set

    Code:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch\Enabled
    to

    Code:
     1
    *See How to prevent automatic login of the last user in Windows 10? - Super User

    Unfortunately, with 1709 this no longer works because Windows appears to set the value back to 0 at login and logoff and who knows how many other places in between. This means that the value can no longer be set with login or logoff scripts as the process appears to run outside of that scope. Now, another fix on SuperUser involves changing registry permissions to the parent key to disallow SYSTEM access. (Can I disable auto logon on windows 10 home - Super User).

    While this works, it isn't ideal in case I need to use a SYSTEM-based service in the future to change the value again. Is there a new methodology introduced in Windows 10 1709 (like a new group policy setting) that will disable auto login?

    EDIT: Note that setting a password on the account is not a solution as the project requirements state that no password can exist. Imagine PCs in a library environment where a guest is using the PC.

    Thanks,
    Beems
    Last edited by beems; 31 Oct 2017 at 16:38.
      My Computer

  2. Brink's Avatar
    Posts : 58,526
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Beems, and welcome to Ten Forums. :)

    Checking the Users must enter a user name and password to use this computer box will require users to sign in at startup.

    In addition, be sure that all accounts have a password.

    Sign in User Account Automatically at Windows 10 Startup User Accounts Tutorials
      My Computers


  3. Posts : 2
    Windows 10
    Thread Starter
       #3

    If you have an account with no password, that option doesn't work. If it was that simple, I assure you I would not be here.

    EDIT: Not that it is a requirement that the account not have a password.
      My Computer

  4. Bree's Avatar
    Posts : 20,122
    10 Home x64 (21H1) (10 Pro on 2nd pc)
       #4

    beems said:
    If you have an account with no password, that option doesn't work. If it was that simple, I assure you I would not be here.

    EDIT: Note that it is a requirement that the account not have a password.
    I understand that it is a requirement that this account has no password, and that you have tried all ways to fight against Windows auto login. Stop fighting and turn the auto login it against itself.

    Why not just configure the account to auto login, but give it the WRONG password? The username and password you give isn't checked, so you can use anything you like.

    Sign in User Account Automatically at Windows 10 Startup

    Or even configure it for a non-existent account to auto log in. This is what I get at start up if I auto-login a username that doesn't exist...

    Windows 10: How to Disable Automatic Login After 1709-other-user-login.jpg

    Click OK and you go to the sign in screen where you can choose which user you want to sign in as.
      My Computers

  5. Brink's Avatar
    Posts : 58,526
    64-bit Windows 11 Pro for Workstations
       #5

    Beems,

    Another option you might consider is to set Windows to "Do not display last user name" to have to enter both a user name and password to sign in. You would just leave the password field empty for the account without one added.

    Do Not Display User Name on Sign in Screen in Windows 10 User Accounts Tutorials
      My Computers


  6. Posts : 8
    Windows 10 Pro
       #6

    Brink said:
    Beems,

    Another option you might consider is to set Windows to "Do not display last user name" to have to enter both a user name and password to sign in. You would just leave the password field empty for the account without one added.

    Do Not Display User Name on Sign in Screen in Windows 10 User Accounts Tutorials
    Hey Brink,

    I am working on this on a Windows 10 Lab Build and it looks like 1709 is doing something that ignores this if the computer is restarted by the logged in user. It will display the last logged in user that restarted the computer.
      My Computer

  7. Brink's Avatar
    Posts : 58,526
    64-bit Windows 11 Pro for Workstations
       #7

    Hello @Keiichi25, :)

    The behavior of this policy has indeed changed. I have updated the tutorial below for this change.

    How to Do Not Display Last Signed-in User Name on Sign-in Screen in Windows 10
    Last edited by Brink; 16 Feb 2018 at 12:44. Reason: link
      My Computers

  8. Paul Black's Avatar
    Posts : 13,401
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    Hello @beems, @Brink, @Bree, @Keiichi25,

    I know this is a VERY old thread but I came across this [ I was looking for a similar solution ] for anybody who is interested . . .



    I hope this helps!
    Last edited by Paul Black; 23 Mar 2020 at 17:56.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 04:27.
Find Us




Windows 10 Forums