Can I disable auto logon on windows 10 home

39

19

I recently setup a new computer for my parents with windows 10 home. I made two local accounts for them - no microsoft accounts. I also would like to keep them without a password. Problem is now that windows automatically signs in with the last used account. No lock/login screen.

I tried a number of answers from similar questions here but none worked. Since it's a home version there are no group policies and the method using task scheduler does not work because accounts with no password are not allowed to create such tasks.

Are there other options to force windows to show a user list on startup without setting passwords for the accounts?

PixelSupreme

Posted 2015-08-08T13:32:22.630

Reputation: 505

1

possible duplicate of How to prevent automatic login of the last user in Windows 10?

– MC10 – 2015-08-08T15:01:26.160

2Tried those suggestions before I made my post. None worked. – PixelSupreme – 2015-08-08T15:03:59.943

Answers

41

The following link describes how to change this behaviour in Windows 8 using a registry setting and some permissions on that registry setting. It also works with Windows 10.

http://www.eightforums.com/user-accounts-family-safety/10004-help-multiple-users-login-screen.html


First launch the registry editor: Press WIN + R, type regedit and click "OK".

Navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\UserSwitch

Change value of the key Enabled from 0 to 1

There's one more problem to solve: The user SYSTEM automatically changes the value to 0. So we will disallow the user SYSTEM to change it.

  • Right mouse click at registry key UserSwitch -> Permissions
  • Click on Advanced and then on the Disable inheritance-button; if your are prompted with two options now, choose the first one (Convert inherited permissions into explicit ones for this object)
  • At the top of the dialog, change the owner from SYSTEM to the group Administrators (if your Windows is not in English, the name might differ a bit, e.g. in German it would be "Administratoren")
  • Select the group Administrators entry -> Allow -> full control
  • Double click the entry for SYSTEM, select type Deny and click on Show advanced permissions. Here Clear all -> only check Set value

rubendn

Posted 2015-08-08T13:32:22.630

Reputation: 574

I think I've messed up something. After I click on "Disable inheritance", a dialogbox pops up saying something about implicit inheritance or disable all inheritances, I guess. Which one I should've clicked on? – Gui Imamura – 2015-12-19T07:23:07.603

@GuiImamura: I chose the first one (Convert inherited permissions into explicit ones for this object) and it worked for me... – mozzbozz – 2015-12-23T10:58:20.390

Why do you need the "Disable Inheritance" part? Surely simply adding a "Deny" rule for SYSTEM is sufficient? – Doin – 2016-01-10T14:51:23.110

1

Ugh. This solution ended up leading to the problem described here http://www.briteccomputers.co.uk/forum/showthread.php?tid=222&pid=1238#pid1238 in which UAC prompts errored with "Extended Attributes are Inconsistent".

– G-Wiz – 2016-07-03T04:26:44.597

Looked harder to do than expected. Thank you so much =) – Darksoulpk68 – 2017-10-26T21:34:57.373

5It seems that after the Fall Update, this doesn't work anymore, and Windows logs me in automatically again. Anyone else seeing this? – Berend – 2017-10-30T16:02:34.210

after one of the latest updates the registry key UserSwitch and all of it's permissions have been reset and I'm back to automatic logon (worked for 8 months now). I assume after I redid this, I'll have peace for some more months. – hardmooth – 2019-07-30T18:35:06.557

2Too bad this is not a permanent solution. – pacoverflow – 2019-08-12T19:00:44.563

5

A solution posted by Larry Jacobson on the Microsoft Community Q & A that I've confirmed works is to disable the automatic use of sign-in info for every single account on the system. You access that option in the Settings app under Accounts > Sign-in options, in the Privacy section.

Make sure to disable the option for every single account on the system, not just the account that gets signed in automatically or all accounts without a password.

Screenshot showing the disabled sign-in option in the Windows 10 Settings app

Magnus Lind Oxlund

Posted 2015-08-08T13:32:22.630

Reputation: 51

Just tested on a Windows 10 1909 computer and this does not work. – Thomas – 2020-02-06T17:04:28.110

2

Open netplwiz by pressing Win+R, and typing netplwiz. It will give you advanced user settings. Find a check mark that says

Users must enter a username and a password to use this computer

and set it to true (check it).

juniorRubyist

Posted 2015-08-08T13:32:22.630

Reputation: 1 021

13This does not work when there is no password fora user. – Kangkan – 2015-10-18T07:04:23.957

Yes; Yes of course it does. – Ramhound – 2017-07-26T23:29:48.240

8@Ramhound: No, it really doesn't. Try it yourself. Create an account with blank password. Log in to account. Initiate reboot. Watch account log in automatically. – ziggurism – 2017-10-07T16:53:32.200