Windows 11 23H2 - System goes back to sleep (AFTER waking) in 2 Minutes


SonicMojo

Well-known member
Local time
6:28 AM
Posts
45
OS
Windows 11 PRO 23H2
Working with a brand new W11 23H2 install that is exhibiting some very strange sleep behavior. The machine GOES to sleep correctly - every evening at 11:00pm per a standard script I have been using for years. This machine also does a correct WOL - using another script that I have been using for years.

But what this new build is doing (VS say the Windows 10 machine right next to it) is going BACK to sleep after exactly two minutes of (presumably) "idle time" (according to the Event Logs) - here is the sequence (highlighted) - where the machine wakes at 5:10:29am and then exactly 2 minutes later goes nighty-night again:

2024-01-19_06-49-42.png

Now - I am very familiar with the "why" of this - it is most likely coming from this setting (exposed by the cool Power Setting Explorer utility):

2024-01-19_05-52-55.png

There's the ole "2-minute warning" and presumably - the reason why this machine hits the sack again after 2 minutes of doing nothing.

But for some context - I wake two machines in my office at 5:10am every morning for work purposes - but depending on when I stagger into my office with my coffee cup - it could be 15 minutes after wakeup or an hour after wakeup and still need the machines at the ready.

Now for the oddity - this 2 minute "System unattended sleep timeout" is also present (and active) on my main Windows 10 workstation - but this one does NOT honor that 2 minute timeout - idle or no idle - this machine stays on and ready for action - regardless of when I get to my desk.

So - the questions:

1. Why is the W11 machine honoring this 2-minute timeout and the Win 10 machine simply ignores it and keeps cruising along?
2. How can I disable this behavior permanently on the Win 11 machine so it does not go back to sleep? Is it as simple as upping this Sleep Timeout to some ridiculous value like 480 mins to ensure it does not go back to sleep at 5:12am everyday?

Appreciate any tips from the field.

Cheers

Sonic.
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
Why is the W11 machine honoring this 2-minute timeout and the Win 10 machine simply ignores it and keeps cruising along
If you've searched this forum you will find that Sleep issues of all kinds are one of the most common subjects. The only definitive answer I can give you is that not only does 11 handle sleep, sleep states, and power differently than 10 and all previous OSes, but some newer hardware does as well.
Because of this, what folks have come to expect as the norm with previous operating systems and hardware can be thrown out the window. The how or why of it, only MS (and the the hardware venders)knows.
From situations I have observed here on the forum, depending on a users needs and his hardware, many users have had to compromise in their power settings to reach an acceptable result. That result and the changes one made to achieve it will not always be exactly as it's been in the past, nor will it always be exactly what the user wants.
.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 +256gb ssd+512 gb usb m.2 sata
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
I've never been a fan of hibernate or sleep. Believe it or not, in all these years Microsoft has never perfected either. Personally, I just set my hd & display to power down after 20 minutes of non-use, and I power down my systems at the end of the day.
 

My Computer

System One

  • OS
    W10, W11
    Computer type
    PC/Desktop
    Manufacturer/Model
    2 HP Desktops, 1 Dell Desktop, 2 Dell XPS Laptops, 1 HP Laptop
I don't do the Sleep thing either...,
I don't even have the System unattended sleep timeout thing! 🤷‍♂️

0006228.jpg
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
If you've searched this forum you will find that Sleep issues of all kinds are one of the most common subjects. The only definitive answer I can give you is that not only does 11 handle sleep, sleep states, and power differently than 10 and all previous OSes, but some newer hardware does as well.
Interesting observation and one that is beginning to make more sense...

On the Win 11 machine - I ran powercfg /sleepstudy which kicked out this interesting report:

2024-01-19_07-10-42a.png

In the instance of this 2 minute timeout today - the power subsystem is reporting a state that I have not seen before called "Screen Off".

I can only assume that this state relates to Win 11 (or maybe the motherboard) doing a quick "probe" of the screen you have attached to the machine at wakeup time. Interestingly - this machine is attached to a Samsung 40 inch plasma TV - which is in fact in an OFF state - as I actually turn the power off each day on this thing.

Seems that Windows 11 (or the machine Or both) detects this - and then because nothing is actually happening within that 2-minute timeout (Idle) - the machine falls back to sleep

Which is markedly different from how Windows 10 reacted to this. In my prior build - attached to the very same TV - the machine would wake and sit there with the screen off -forever - but fully awake - waiting for me to turn the TV on and get down to business.

Conversely - just did a sleep study on my "work" workstation - and while it is connected to a Dell Ultrasharp monitor that follows the machine sleep pattern (machine goes to sleep at 11:00pm and monitors goes low power state at 11:05pm) - when this machine wakes at 5:10 - it also wakes the screen - resulting in no such power state called "Screen Off".

Not even sure if Screen Off is a thing in Win 10 but it looks like I might have an answer.

This - and a growing list of other "oddities" are beginning to pile up against Win 11 and is slowly pushing me back to a unified Windows 10 environment where I do not need to worry about all these "changes".

Sonic.
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
1. Why is the W11 machine honoring this 2-minute timeout and the Win 10 machine simply ignores it and keeps cruising along?
You could check with the following from a command prompt window:

Code:
powercfg /lastwake

However, I believe this only returns the last wake timer which fired.

2. How can I disable this behavior permanently on the Win 11 machine so it does not go back to sleep?
Just change the power scheme policy settings to be sleep never as mentioned already by @Edwin.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
Just change the power scheme policy settings to be sleep never as mentioned already by @Edwin.
Sleep = Never

Is already on.

Win 11 (and possibly this new hadrware) is ignoring this setting completely - which is kinda the point of the thread.

Once this machine wakes (via script) - I do not want it to sleep - ever - until 11:00pm in the evening when another script specifically tells it to go to sleep.

This is behavior that I had for 3 years - prior to this Win 11 build.

Sonic.
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
Have you disabled Modern Standby?
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
going BACK to sleep after exactly two minutes of (presumably) "idle time"
Now for the oddity ... my main Windows 10 workstation
Perhaps the keyboard of the oddity is being used during the unattended timeout period?


The words you've used in your posts make me think the computers in question use S3 Sleep not S0 Modern standby but I think it would be worth removing all doubt by running the command
PowerCfg -a
on each one to find out what power states they have available.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
Perhaps the keyboard of the oddity is being used during the unattended timeout period?


Denis

The mouse and keyboard on each machine have been removed for any "power" wake scenarios and there is no activity on any machine until I sit down in front of them.

It is simply bizarre that the Win 10 machine wakes (even with that 2 minute Idle timeout set) and the machine stays in a running state ready for logon - while the Win 11 machine says "no action after 2 mins? I am going back to sleep, yo"

S
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
Sonic -

I was still [too slowly] editing my last post when you asked about S0 Modern standby.
I was adding a test to check if it was available.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
This - and a growing list of other "oddities" are beginning to pile up against Win 11 and is slowly pushing me back to a unified Windows 10 environment where I do not need to worry about all these "changes".
Fully understandable...it's natural for us folks of a certain age to have difficulties with change...but...sooner or later moving on will be a necessity if one wants to remain current and receive updates. I've learned to roll with the flow. Might as well accept change now rather than later.

My particular machine offers the old S3 sleep that I know and love so everything works as I've always expected. I am curious as to exactly which sleep states are available on your machine. Would you please open a command prompt as admin and type powercfg -a
post a screenshot
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3447
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 +256gb ssd+512 gb usb m.2 sata
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
Fully understandable...it's natural for us folks of a certain age to have difficulties with change...but...sooner or later moving on will be a necessity if one wants to remain current and receive updates. I've learned to roll with the flow. Might as well accept change now rather than later.

My particular machine offers the old S3 sleep that I know and love so everything works as I've always expected. I am curious as to exactly which sleep states are available on your machine. Would you please open a command prompt as admin and type powercfg -a
post a screenshot

Well - it's not so much a difficulty with change - my week to 10 days with Win 11 has been (for the most part) fine - but I am simply not seeing any real justification to move - for my work (and sanity it seems :) - the time wasted this last two weeks trying to navigate Win 11 idiosyncrasies (like this item, core parking, oddball audio latencies and a score of others) is simply not worth the time in the long run.

What I need is the OS to stay out of the way (permanently) and not have to baby it or try to figure out why it's behaving differently than a rock solid Win 10 machine on my other desk.

While I realize that Win 10 has a limited span - that does not occur until late fall 2025 - which is more than enough time for me. I will continue to test Win 11 in a closed environment - but there has simply been too much weirdness here to deal with it day to day.

I guess I crave stability over "new and shiny".

And - to you request - funny you should ask - just did a powercfg -a on both machines and they are identical:

2024-01-19_09-43-16.png

S3 on both - so I (logically) would expect the same sort of "S3" sleep behavior - but that seems to be not possible with Win 11

S
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
In a quick glance of this topic, I had not noticed any mention of screen saver settings. Is it possible that you have the screensaver set to turn on but just a blank screen?

Image1.jpg
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I'm not sure if this has any bearing on the actual Power Config, but, I always apply Brink's Ultimate Performance tweak...


Yep - I have a very customized "Ultimate Plan" of my own cooking here - but it appears for Win 11 - regardless of how much Power I crave and how much I need this PC to wake up (and stay up) - Win 11 finds a way to ignore all those settings (like NEVER Sleep) all in what appears to be some sort of weird ass need to save power every sec of the time.

S
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender
What make/model is your pc?

Custom hand built:

MotherboardASUS Prime z790-A
ChipsetIntel z790
BIOS
1601​
CPUIntel Core™i5 13600K (LGA1700)
MemoryCorsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
GraphicsIntel UHD Graphics 770
MonitorSamsung LN40B530 LCD TV
KeyboardKeychron V6
MouseLogitech G502
LANIntel i226-V
HD1 - System (C:\)Samsung 990 PRO NVMe (1TB)
HD2 - Data (D:\)Samsung 980 NVMe (250GB)
HD3 - Libraries (L:\)Samsung 970 EVO Plus NVMe (2TB)
HD4 - Samples (S:\)Seagate FireCuda SSHD ST2000DX002 (2TB)
CaseCoolermaster CM 690 II
Cooling (CPU)Noctua NH-U14S
Cooling (Exhaust Back)Noctua NF-S12A-ULN
Cooling (Intake Front)Noctua NF-S12A-PWM
Cooling (Exhaust Top)Noctua NF-A14-PWM
PSUSeasonic Focus GX-750
PrintersHP LaserJet 1505n
 

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender

My Computer

System One

  • OS
    Windows 11 PRO 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    Intel i5-13600K
    Motherboard
    PRIME z790-A
    Memory
    Corsair Vengeance LPX 64GB (2x32GB) (CMK64GX5M2B5600C40)
    Graphics Card(s)
    Intel UHD Graphics 770
    Sound Card
    RME UCX-II
    Monitor(s) Displays
    Samsung LN40B530 LCD TV
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung NMVE (990 Pro, 970 EVO)
    PSU
    Seasonic GX750
    Case
    Coolermaster CM-690II
    Cooling
    Noctua
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech M510
    Internet Speed
    1 GBPS+
    Browser
    MS Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom