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.
How to disable automatic login on Windows 10?
- Registry Editor Tweak
- Change Local Group Policies
- Check the correct option in secpol.msc
- Close programs and ALT+F4
Solution 1: Registry Editor Tweak
- Go to Search and type regedit
- Open Registry Editor
- Navigate to the following key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
- Check the “Enabled” DWORD
- Set the value of Enabled to 1
- 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.
- Close Registry Editor and press Windows key and R at the same time
- In the Run window, enter the following and press Enter: netplwiz
- User Accounts windows will display with a list of all users of your computer
- Check Users must enter a user name and password to use this computer, and click OK
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:
- In Search type edit group policy, and open Local Group Policy Editor
- In Local Group Policy Editor go to User Configuration, Windows Settings, and Scripts (Logon/Logoff)
- Click on Logoff and go to Properties -> click on Add
- Set Script Name to C:\Windows\System32\reg.exe
- Set Script Parameters to:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\
\UserSwitch v Enabled t REG_DWORD /d 1 /f
- Click OK and Close Local Group Policy Editor
Solution 3: Check the correct option in secpol.msc
- Press Windows Key and R and type secpol.msc
- 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
- Close all applications.
- Press ALT+F4.
- 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.
- Getting The user account code is a null error? Here’s how to fix it
- Windows 10 KB4340917 fixes user account and remote session issues
- FIX: Windows Apps Crash Because Of Corrupted User Account
- FIX: Windows 10 won’t let me add a new user account
Editor’s Note: This post was originally published in March 2015 and has been since updated for freshness, and accuracy.