Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, December 24, 2017 12:49 PM
Windows 10 Home 1709, it has 4 local accounts: 3 standard users without password and 1 admin with password. If one user shuts down computer or restarts it, Windows will automatically login that user at next startup. I doesn't matter if he logs out before shutdown/restart, windows will still log him in on next startup! How can I disable this stupid behavior?
All replies (3)
Sunday, December 24, 2017 3:06 PM
Hello,
Method 1: Registry
Set DWORD value dontdisplaylastusername to 1 in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Method 2: Security Policy
In Security Policy, disable "Local Policies -> Security Options -> Interactive logon: Do not display last user name."
Let us know if this helps!
Microsoft MVP (Windows and Devices for IT)
Windows Insider MVP
Windows Help & Support [www.kapilarya.com]
Monday, December 25, 2017 6:19 AM
For 1709 home edition, we can’t use group policy editor
So we use registry method to make it.
Press WIN + R, type regedit and click on "run".
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 you 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
https://superuser.com/questions/952868/can-i-disable-auto-logon-on-windows-10-home
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, December 25, 2017 8:21 PM
@Kapil.Arya
It didn't work. To be precise it produced different result, login screen now looks like this:
You have to manually enter user name to login. And FYI, group policy is unavailable in Home Edition so method 2 is not applicable.
@Teemo Tang
I found this when I was searching on google, but I didn't want to apply it because of this comment https://superuser.com/questions/952868/can-i-disable-auto-logon-on-windows-10-home#comment1554900_953898