Solved Windows 11 does not enter in sleep mode


the_observer

Active member
Local time
9:57 PM
Posts
39
OS
Windows 11
Hi all,
my windows 11 pc does not get in sleep mode.

Any suggestions from more experienced people than me?

Thank you for your time reading this.

Regards,
Nik
 
Windows Build/Version
Windows 11 version 23H2 (OS Build 22631.2861)

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 450032.0GB Dual-Channel DDR4 (15-15-15-36)ATI AMD Radeon RX 6600
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 4500
    Motherboard
    ASUSTeK COMPUTER INC. ROG STRIX B550-F GAMING (AM4)
    Memory
    32.0GB Dual-Channel DDR4 (15-15-15-36)
    Graphics Card(s)
    ATI AMD Radeon RX 6600
  • Computer type
    PC/Desktop
Maybe it would be useful for you to describe what you are trying to do in order to get the PC into sleep mode.
What steps are you following?

I have the same version of Windows 11 (OS Build 22631.2861) and get the PC into sleep by a function key on my MS (wired 600) keyboard, that I re-assigned to the following command:
rundll32.exe powrprof.dll,SetSuspendState
That functions ok, already since Windows 7, Windows 10 etc.
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 26200.8457AMD Ryzen 7 5700GKingston FURY Beast 2x16GB DIMM DDR4 2666 CL16MSI GeForce GT 730 2GB LP V1
OS
Windows 11 Pro 25H2 26200.8457
Computer type
PC/Desktop
Manufacturer/Model
Build by vendor to my specs
CPU
AMD Ryzen 7 5700G
Motherboard
MSI PRO B550M-P Gen3
Memory
Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
Graphics Card(s)
MSI GeForce GT 730 2GB LP V1
Sound Card
Creative Sound Blaster Audigy FX
Monitor(s) Displays
Samsung S24E450F 24"
Screen Resolution
1920 x 1080
Hard Drives
1. SSD Crucial P5 Plus 500GB PCIe M.2
2. SSD-SATA Crucial MX500-2TB
PSU
Corsair CV650W
Case
Cooler Master Silencio S400
Cooling
Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
Keyboard
Cherry Stream (wired, scissor keys)
Mouse
Asus WT465 (wireless)
Internet Speed
70 Mbps down / 80 Mbps up
Browser
Firefox 130.0
Antivirus
F-Secure (Internetprovider version)
Other Info
Router: FRITZBox 7490
Oracle VirtualBox 7 for testing software on Win 10 or 11
Hi all,
my windows 11 pc does not get in sleep mode.

Any suggestions from more experienced people than me?

Thank you for your time reading this.

Regards,
Nik
Does the computer go into sleep mode then starts up again?

Do you have anything running in your taskbar that requires constant connection? Something that starts up when the computer does?

Certain peripheral devices, such as a mouse, a keyboard, or headphones can wake your PC. There is a command you can run to see what woke your PC but I forget what it is.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    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
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    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
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8655 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
Well ,
thank you Kees
for your answer which was most impressive.

I used your command from a cmd window and the pc shutted down and i pressed a key and it came back to the previous state it was.

This is almost what i actually wanted to do. Now i can make a .bat file with your command and run it whenever i wish.

Yet, what i want it to do exactly is that after a certain amount of time e.g. after 20 minutes that i am not in the pc, it should behave as this:
Shut down and with a mouse/key press to return to the previous state.

Up to know , no matter what i was putting in the power options of windows settings it would only shut down the monitors.

So, is there a way i can accomplish that?

Regards,
Nik.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 450032.0GB Dual-Channel DDR4 (15-15-15-36)ATI AMD Radeon RX 6600
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 4500
    Motherboard
    ASUSTeK COMPUTER INC. ROG STRIX B550-F GAMING (AM4)
    Memory
    32.0GB Dual-Channel DDR4 (15-15-15-36)
    Graphics Card(s)
    ATI AMD Radeon RX 6600
  • Computer type
    PC/Desktop
Thank you antspants for your reply.
The computer does not get in sleep mode only shut off monitors.
I can not be sure each time if there is something in taskbar keeping constant connection because i open and use various programs each time.
Maybe i should start windows to a state that nothing is loaded and see what happens? but i am not sure how to do this. Windows safe mode maybe?

Regards,
Nik.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 450032.0GB Dual-Channel DDR4 (15-15-15-36)ATI AMD Radeon RX 6600
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 4500
    Motherboard
    ASUSTeK COMPUTER INC. ROG STRIX B550-F GAMING (AM4)
    Memory
    32.0GB Dual-Channel DDR4 (15-15-15-36)
    Graphics Card(s)
    ATI AMD Radeon RX 6600
  • Computer type
    PC/Desktop
Yet, what i want it to do exactly is that after a certain amount of time e.g. after 20 minutes that i am not in the pc, it should behave as this:
Shut down...
That you should be able to do via the system settings:
- System
- On/Off
- Power and sleep
- When plugged in, PC goes to sleep after (20 min)

I can't check that as I don't use automatic sleep (I have used to press the function key that was re-assignd to the sleep function).

... and with a mouse/key press to return to the previous state.
For that you have to set the BIOS/UEFI settings as such that awake by USB is enabled (if the keyboard is attached via USB).
 

My Computer My Computer

At a glance

Windows 11 Pro 25H2 26200.8457AMD Ryzen 7 5700GKingston FURY Beast 2x16GB DIMM DDR4 2666 CL16MSI GeForce GT 730 2GB LP V1
OS
Windows 11 Pro 25H2 26200.8457
Computer type
PC/Desktop
Manufacturer/Model
Build by vendor to my specs
CPU
AMD Ryzen 7 5700G
Motherboard
MSI PRO B550M-P Gen3
Memory
Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
Graphics Card(s)
MSI GeForce GT 730 2GB LP V1
Sound Card
Creative Sound Blaster Audigy FX
Monitor(s) Displays
Samsung S24E450F 24"
Screen Resolution
1920 x 1080
Hard Drives
1. SSD Crucial P5 Plus 500GB PCIe M.2
2. SSD-SATA Crucial MX500-2TB
PSU
Corsair CV650W
Case
Cooler Master Silencio S400
Cooling
Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
Keyboard
Cherry Stream (wired, scissor keys)
Mouse
Asus WT465 (wireless)
Internet Speed
70 Mbps down / 80 Mbps up
Browser
Firefox 130.0
Antivirus
F-Secure (Internetprovider version)
Other Info
Router: FRITZBox 7490
Oracle VirtualBox 7 for testing software on Win 10 or 11
For that you have to set the BIOS/UEFI settings as such that awake by USB is enabled (if the keyboard is attached via USB).
This is already working.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 450032.0GB Dual-Channel DDR4 (15-15-15-36)ATI AMD Radeon RX 6600
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 4500
    Motherboard
    ASUSTeK COMPUTER INC. ROG STRIX B550-F GAMING (AM4)
    Memory
    32.0GB Dual-Channel DDR4 (15-15-15-36)
    Graphics Card(s)
    ATI AMD Radeon RX 6600
  • Computer type
    PC/Desktop

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    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
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    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
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8655 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
Surprisingly ,
everything works as it should.

The pc goes to sleep mode if i get away from keyboard as intended. No need to run something.
Very weird, i had this problem for 2 months now and it fixed without i do something.
Except of course i run the command of Kees.

Thank you all for your answers and your time.
Regards,
Nik.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 450032.0GB Dual-Channel DDR4 (15-15-15-36)ATI AMD Radeon RX 6600
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 4500
    Motherboard
    ASUSTeK COMPUTER INC. ROG STRIX B550-F GAMING (AM4)
    Memory
    32.0GB Dual-Channel DDR4 (15-15-15-36)
    Graphics Card(s)
    ATI AMD Radeon RX 6600
  • Computer type
    PC/Desktop

Latest Support Threads

Back
Top Bottom