How to Deactivate an automatic logon on win11? /userswitch values zeros.

Surgi Dex 0 Reputation points
2023-12-30T21:58:34.25+00:00

Hi.

Cant disable a standart user account from beeng auto logged in windows 11 pro

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

binary data zero, so this method not working.

I remember that I have done that adjustments through the gpedit.msc or secpol.msc cant remember now, tried to find it through the win search option , but obviously if I am asking that, so the search wasn't successful :)

Thanks for any help.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,074 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,514 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-01-02T06:42:44.2566667+00:00

    Hi Surgi Dex,

    Please open cmd and run control userpasswords2, then check the option "Users must enter a user name and password to use this computer".

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.