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

2 minute read
Windows 10 automatically logs in the 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. This is a nuisance for users, as Windows 10 automatically logs in the last user.

But fortunately, there’s a fix for this issue.
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:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\

regedit logonui windows 10 Windows 10 automatically logs in the last user

  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 the 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 Windows 10 automatically logs in the last user

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:\Windows\System32\reg.exe
  5. Set Script Parameters to:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\
    \UserSwitch v Enabled t REG_DWORD /d 1 /f

    userswitch enabled regedit windows 10 Windows 10 automatically logs in the last user

  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 Windows 10 automatically won’t log in the last user. 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

Error 0xe0000100 Windows 10? Try these solutions

Tashreef Shareef avatar. By: Tashreef Shareef
3 minute read

Microsoft releases new updates fixing bugs and security glitches periodically. Sometimes, while installing the update you may encounter 0xe0000100 Windows 10 error. This error usually […]

Continue Reading

Uplay not installed error? Here’s how to fix it

John Taylor avatar. By: John Taylor
2 minute read

No PC gamer alive can call himself a true PC gamer if they haven’t tried a game from Ubisoft. Of course, trends continue and the […]

Continue Reading

FIX: Microsoft Teams notification won’t go away

Vladimir Popescu avatar. By: Vladimir Popescu
3 minute read

If you find that a Microsoft Teams notification won’t go away no matter what you try, you have to know you are not the only […]

Continue Reading