Not holding settings for "on closing lid"


Goldengirl52

Well-known member
Member
Local time
1:28 PM
Posts
83
OS
Windows 10
My windows 11 version is 23H2. I can't figure this out, and would so appreciate someone pointing me to something that will stop my laptop from logging out when I close the lid. I know how to set it so it either sleeps (battery or plugged in) or hibernates but I prefer sleep option.

When opening the lid it looks to try to be restarting but it's asking for login info. When I click on restart though myself, it goes on to skip the login/password etc. straight to my desktop. I'd really appreciate any help, thank you :)
 

My Computers

System One System Two

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP Pavilion Gaming Desktop 690-00xx
    CPU
    3.50 gigahertz AMD Ryzen 3 2200G
    Motherboard
    Board: HP 8433 11
    Memory
    14250 Megabytes Usable Installed Memory
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Monitor(s) Displays
    HP 22cwa [Monitor] (21.7"vis, s/n 6CM8221G2Q, May 2018)
    Hard Drives
    2023.75 Gigabytes Usable Hard Drive Capacity
    Internet Speed
    30 mbps download
    Browser
    FireFox
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 V. 23H2
    Computer type
    Laptop
    Manufacturer/Model
    17-by4xxx
    Mouse
    2.4g Wireless
    Internet Speed
    100 mbps
    Browser
    Firefox
    Antivirus
    Windows Security
All of mine with only Local Accounts work the same way but my latest has the Microsoft Account that requires using a PIN. They don't actually shut down.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
All of mine with only Local Accounts work the same way but my latest has the Microsoft Account that requires using a PIN. They don't actually shut down.
Ok, would this work for me if I can get the MS Account to be a Local Account? I guess I mean, can I delete the MS Account and just keep a Local Account? I do have to users, one in my name, and the other just says Admin. But I'm an Admin as well. Hope that makes sense :wink: Thank you for your reply!!

I think I found the answer right off??

save local account delete MS account.jpg
 

My Computers

System One System Two

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP Pavilion Gaming Desktop 690-00xx
    CPU
    3.50 gigahertz AMD Ryzen 3 2200G
    Motherboard
    Board: HP 8433 11
    Memory
    14250 Megabytes Usable Installed Memory
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Monitor(s) Displays
    HP 22cwa [Monitor] (21.7"vis, s/n 6CM8221G2Q, May 2018)
    Hard Drives
    2023.75 Gigabytes Usable Hard Drive Capacity
    Internet Speed
    30 mbps download
    Browser
    FireFox
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 V. 23H2
    Computer type
    Laptop
    Manufacturer/Model
    17-by4xxx
    Mouse
    2.4g Wireless
    Internet Speed
    100 mbps
    Browser
    Firefox
    Antivirus
    Windows Security
If I were to change my latest Notebook I'd add a new User with a slightly different name as Local Account with Admin rights, log out of the Microsoft Account then reboot to get into the Local Account. After that I could either keep the Microsoft Account with 2 log-in choices or remove the Microsoft Account.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
I don’t think that you need to change your account type, do you?

You haven’t mentioned the Laptop brand and model and if it is a proprietary setup with bloatware or if you have installed Windows fresh without it? Like a Lenovo original install?


Locate the setting for "If you've been away, when should Windows require you to sign in again?" By default, this will be set to "When PC wakes up from sleep", click the drop-down here, and change this option to Never to disable the password prompt after the computer wakes from sleep.

Take a look Settings (Win+I) > Accounts > Sign-in options > Scroll down to Additional settings

IMG_4513.png


And for other options.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Setting:
Lid close action

Description:
Specify the action that your computer takes when you close the lid on your mobile PC.

Subgroup:
Power buttons and lid

Possible values (index - hexadecimal or string value - friendly name - descr):
0 - 00000000 - Do nothing - Do nothing
1 - 00000002 - Sleep - Sleep
2 - 00000003 - Hibernate - Hibernate
3 - 00000006 - Shut down - Shut down
------------------------------------------------------

Setting:
Lid open action

Description:
Specify the action to take when the lid is opened.

Subgroup:
Power buttons and lid

Possible values (index - hexadecimal or string value - friendly name - descr):
0 - 00000000 - Do nothing - Do nothing
1 - 00000001 - Turn on the display - Turn on the display
------------------------------

No magic.
 

My Computer

System One

  • OS
    Microsoft Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI MS-7D98
    CPU
    Intel Core i5-13490F
    Motherboard
    MSI B760 GAMING PLUS WIFI
    Memory
    2 x 16 Patriot Memory (PDP Systems) PSD516G560081
    Graphics Card(s)
    GIGABYTE GeForce RTX 4070 WINDFORCE OC 12G (GV-N4070WF3OC-12GD)
    Sound Card
    Bluetooth Аудио
    Monitor(s) Displays
    INNOCN 15K1F
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD_BLACK SN770 250GB
    KINGSTON SNV2S1000G (ELFK0S.6)
    PSU
    Thermaltake Toughpower GF3 1000W
    Case
    CG560 - DeepCool
    Cooling
    ID-COOLING SE-224-XTS / 2 x 140Mm Fan - rear and top; 3 x 120Mm - front
    Keyboard
    Corsair K70 RGB TKL
    Mouse
    Corsair KATAR PRO XT
    Internet Speed
    100 Mbps
    Browser
    Firefox
    Antivirus
    Microsoft Defender Antivirus
    Other Info
    https://www.userbenchmark.com/UserRun/66553205
I'll take a closer look at all the answers here, and then try something. I did notice if I power completely off, shut-down, when I power back up, it logs me in normally like it used to before this happened.

I didn't know you needed any further info as I read "how to" post and it only asked for Version

I have an HP Laptop, and I'll attach a pic of it's specs :wink:

speccy.jpg
 

My Computers

System One System Two

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP Pavilion Gaming Desktop 690-00xx
    CPU
    3.50 gigahertz AMD Ryzen 3 2200G
    Motherboard
    Board: HP 8433 11
    Memory
    14250 Megabytes Usable Installed Memory
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Monitor(s) Displays
    HP 22cwa [Monitor] (21.7"vis, s/n 6CM8221G2Q, May 2018)
    Hard Drives
    2023.75 Gigabytes Usable Hard Drive Capacity
    Internet Speed
    30 mbps download
    Browser
    FireFox
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 V. 23H2
    Computer type
    Laptop
    Manufacturer/Model
    17-by4xxx
    Mouse
    2.4g Wireless
    Internet Speed
    100 mbps
    Browser
    Firefox
    Antivirus
    Windows Security
I'll take a closer look at all the answers here, and then try something. I did notice if I power completely off, shut-down, when I power back up, it logs me in normally like it used to before this happened.

I didn't know you needed any further info as I read "how to" post and it only asked for Version

I have an HP Laptop, and I'll attach a pic of it's specs :wink:

View attachment 97033

It is good to fill in the “details” here ⬇️
As you have entered a desktop in your specs and you are referring to a Laptop in your post, you can add a “System Two” to your specs.

This link will open your System Specs:

https://www.elevenforum.com/account/system-specs
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
I have these options in Windows for my MSI laptop. When set to do nothing everything comes back normal. I put it to sleep using the power button menu or by timer.


Screenshot 2024-05-22 185310.png
 

My Computer

System One

  • OS
    11 Pro 23H2 (22631.3593) Feature Pack 1000.22700.1003.0
    Computer type
    Laptop
    Manufacturer/Model
    MSI
    CPU
    i7-10750H
    Motherboard
    MSI MS-17F5
    Memory
    16GB Samsung DDR4 3200
    Graphics Card(s)
    Intel + Nvidia RTX3060 Laptop
    Sound Card
    Realtek
    Monitor(s) Displays
    Samsung 24" Curved (HDMI)
    Screen Resolution
    1920x1080
    Hard Drives
    Sabrent Rocket Gen3 1Tb Smasung EVO 870 1TB
    Antivirus
    Avast
I don’t think that you need to change your account type, do you?

You haven’t mentioned the Laptop brand and model and if it is a proprietary setup with bloatware or if you have installed Windows fresh without it? Like a Lenovo original install?


Locate the setting for "If you've been away, when should Windows require you to sign in again?" By default, this will be set to "When PC wakes up from sleep", click the drop-down here, and change this option to Never to disable the password prompt after the computer wakes from sleep.

Take a look Settings (Win+I) > Accounts > Sign-in options > Scroll down to Additional settings

View attachment 97030


And for other options.

This is the Win11 that came on the HP.
I have these options in Windows for my MSI laptop. When set to do nothing everything comes back normal. I put it to sleep using the power button menu or by timer.


View attachment 97035
I've tried this, over and over again. I now cannot get to the sign in screen because I bypassed that screen when I first got this laptop. I can't login to another account, like I was sent to log into Microsoft account, I think, I am getting so confused. I'll have to add the specs here on the site for all to see, but later. I'm just too tired.

Thank you for all your help!!
 

My Computers

System One System Two

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP Pavilion Gaming Desktop 690-00xx
    CPU
    3.50 gigahertz AMD Ryzen 3 2200G
    Motherboard
    Board: HP 8433 11
    Memory
    14250 Megabytes Usable Installed Memory
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Monitor(s) Displays
    HP 22cwa [Monitor] (21.7"vis, s/n 6CM8221G2Q, May 2018)
    Hard Drives
    2023.75 Gigabytes Usable Hard Drive Capacity
    Internet Speed
    30 mbps download
    Browser
    FireFox
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 V. 23H2
    Computer type
    Laptop
    Manufacturer/Model
    17-by4xxx
    Mouse
    2.4g Wireless
    Internet Speed
    100 mbps
    Browser
    Firefox
    Antivirus
    Windows Security

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Ok @antspants, I can get that done. It's just I'm packing to move to another State, plus a puppy I'm training :) I did the quick fix which is to "shutdown" my laptop. Then when I lift the lid I just push the "power" button and it boots up bypassing all the login junk. I'll do that for now, but will bookmark this thread :) thanks so much!
 

My Computers

System One System Two

  • OS
    Windows 10
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP HP Pavilion Gaming Desktop 690-00xx
    CPU
    3.50 gigahertz AMD Ryzen 3 2200G
    Motherboard
    Board: HP 8433 11
    Memory
    14250 Megabytes Usable Installed Memory
    Graphics Card(s)
    AMD Radeon(TM) Vega 8 Graphics
    Monitor(s) Displays
    HP 22cwa [Monitor] (21.7"vis, s/n 6CM8221G2Q, May 2018)
    Hard Drives
    2023.75 Gigabytes Usable Hard Drive Capacity
    Internet Speed
    30 mbps download
    Browser
    FireFox
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 V. 23H2
    Computer type
    Laptop
    Manufacturer/Model
    17-by4xxx
    Mouse
    2.4g Wireless
    Internet Speed
    100 mbps
    Browser
    Firefox
    Antivirus
    Windows Security
I think I need puppy training.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Back
Top Bottom