odd auto re-sign-in on windows 11


audit_process

Member
Local time
4:47 PM
Posts
7
OS
Windows 11
hi,
i'm trying to work something out, on my current install of windows 11 (24h2), though i have it to sign-in automatically (no password) local account.
if i click sign-out it automatically signs back in.
where on another machine sign-out stays on the sign-in screen ready to sign-in again. (signs in automatically on a restart or cold boot.)
i guess i've changed something in the registry but i've compared the winlogon key in the registry with a virtual machine and the other physical machine and all the settings are the same.

any ideas? hope that makes sense. i'm not talking about normal auto logon which is already set on both machines and virtual machine.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
to make it easier to understand.

I click sign-out, and windows signs out and then instantly signs in again.

it does not do this on another machine or on a virtual machine. windows stays signed out until i either reboot and click sign in.

i've also done a bit of searching for windows signs out and then back in but only come up with users reporting signing in and then windows signs outs, a completely different issue.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
found the issue @ Cannot Log Off Current User in Windows - Microsoft Support

sounds like what i'm experiencing but the solutions did not work. i even created a second local profile and tried again signing out from my main one but it just did the same thing and signed back in. switch user works. but sign out doesn't.
not sure why it isn't happening on my other machine. though, it is using an older build of windows 11...maybe that's why.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
Do you have a ForceAutoLogon value at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon?
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
It's been a very long time, but didn't you used to be able to configure an account with a password to autologin?

Google AI says this...


To enable automatic login in Windows 11 with a password-protected account, you'll need to adjust the system settings using the netplwiz command and the Registry Editor. This process allows you to log in automatically without needing to manually enter your credentials each time.

Here's a step-by-step guide:

  1. 1. Open the User Accounts Dialog:
    Press Win + R to open the Run dialog, type netplwiz, and press Enter or click OK.
  • 2. Disable Password Requirement:
    In the User Accounts dialog, navigate to the "Users" tab. Uncheck the box next to "Users must enter a user name and password to use this computer".

  • 3. Set Account Details:
    Click "Apply" and then enter your username and password for the account you want to set up for automatic login. Confirm the password and click "OK".

  • 4. Enable Auto-Login (Registry Editor):
    Press Win + R, type regedit, and press Enter. Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device.

  • 5. Adjust DevicePasswordLessBuildVersion:
    Double-click the "DevicePasswordLessBuildVersion" DWORD. Change the value from 2 to 0 and click "OK".

  • 6. Restart your PC:
    After making these changes, restart your computer. You should now be able to log in automatically.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
number 5 from what i read is for automatic login for a microsoft account logon.
already tried it on 0. still does auto logon when logging off.

no ForceAutoLogon in winlogon key. i added it to the virtual machine registry and it performed the same auto sign-in that my main pc does without the the setting in the registry. and when set to 0 it stopped signing back in when signing out.

when i added it to my main pc a value of 0 didn't do anything, it's like it's being ignored.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
Sounds like something else has been changed that is screwing up the works.
 

My Computers

System One System Two

  • OS
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
i believe you are right and i think i've cracked it. i exported all my applied group polices from my real install to my virtual machine, rebooted and then tried signing out and it instantly signed back in.

so now i've just got to go through the policies and find out which one causes this auto signin.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
this was the cause

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"AllowBlockingAppsAtShutdown"=dword:00000001

seems like a bug to me.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w
It's a bug you can introduce, very clever of Microsoft. :unsure:
 

My Computers

System One System Two

  • OS
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Win 11 Pro 24H2, Build 26100.4652
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
i tested it multiple times on a virtual machine and it kept signing back in on logoff.

and i restarted, test in both enhanced mode and not enhanced mode. but when i removed or set that policy to 0, there was no more issue.
i've had this issue for several months but only just thought about getting to the bottom of it. i just assumed my install was f'd and i needed to clean install
but i couldn't be bothered as everything else is fine and it was only a minor issue that i just thought was odd.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    14700K
    Motherboard
    B760M
    Memory
    64GB
    Graphics Card(s)
    RTX 3070 TI
    PSU
    850w

Latest Support Threads

Back
Top Bottom