What to do if Windows 10 automatically logs in the last user

Ivan Jenic By: Ivan Jenic
2 minute read
windows auto login last user

Home » Fix » What to do if Windows 10 automatically logs in the last user

If you have multiple user accounts and you’re using Windows 10 Technical Preview, an error might occur. That will force your computer to automatically login to the last-logged user account, without giving you a choice.

But fortunately, there’s a fix for this solution.
windows feedback tool wind8apps

How to disable automatic login on Windows 10?

  1. Registry Editor Tweak
  2. Change Local Group Policies
  3. Check the correct option in secpol.msc
  4. Close programs and ALT+F4

Solution 1: Registry Editor Tweak

  1. Go to Search and type regedit
  2. Open Registry Editor
  3. Navigate to the following key:

regedit logonui windows 10

  1. Check the “Enabled” DWORD
  2. Set the value of Enabled to 1registry editor enabled 1
  3. Now we have to make sure that the value of Enabled will stay at 1, because there are certain processes in the computer that may automatically bring the value of Enabled back to 0, even if you manually set it to 1.
  4. Close Registry Editor and press Windows key and R at the same time
  5. In Run window, enter the following and press Enter: netplwizrun netplwiz
  6. User Accounts windows will display with a list of all users of your computer
  7. Check Users must enter a user name and password to use this computer, and click OKuser accounts password

Solution 2: Change Local Group Policies

If the Registry Editor fix didn’t work, you can try with changing one Local Group Policy. This solution is probably the best solution for this problem, and it should work on other versions of Windows, as well. Here’s what you need to do:

  1. In Search type edit group policy, and open Local Group Policy Editor
  2. In Local Group Policy Editor go to User Configuration, Windows Settings and Scripts (Logon/Logoff)
  3. Click on Logoff and go to Properties -> click on Add
  4. Set Script Name to: C:WindowsSystem32reg.exe
  5. Set Script Parameters to:
     HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch v Enabled t REG_DWORD /d 1 /f

    userswitch enabled regedit windows 10

  6. Click OK and Close Local Group Policy Editor

Solution 3: Check the correct option in secpol.msc

  1. Press Windows Key  and R and type secpol.msc
  2. Go to Local Policies -> Security Options -> Interactive logon: Don’t display last signed-in

The application secpol.msc isn’t in Windows 10 Home

Solution 4: Close programs and ALT+F4

  1. Close all applications
  2. Press ALT+F4
  3. Select Shut Down

This tweak should solve your login problems, as you’ll get a list of all users who use your computer on login. If you have some questions or suggestions, please share it with us in the comments.


Editor’s Note: This post was originally published in March 2015 and has been since updated for freshness, and accuracy.


Next up

How to delete Steam Cloud saves [STEP-BY-STEP GUIDE]

Vlad Turiceanu avatar. By: Vlad Turiceanu
2 minute read

From the old days of hundreds of CDs and DVDs, larger and larger hard drives, to cloud services now, gaming has grown significantly. The need […]

Continue Reading

Windows Sandbox error 0x80070002 after update [QUICK FIX]

Alexandru Voiculescu By: Alexandru Voiculescu
2 minute read

Many Reddit users encountered error 0x80070002 on Windows Sandbox following the Windows 10 v1903 update. One user reported the following situation: Windows Sandbox giving 0x80070002 […]

Continue Reading

Action Center still broken on Tablet Mode in Windows 10 v1903

Alexandru Voiculescu By: Alexandru Voiculescu
Less than a 1 minute read

Many users reported several Action center issues in Tablet Mode after installing Windows 10 v1903. One user asked if the known issues persisted after the […]

Continue Reading