Disable waking up from hibernation for good


Novgorod

Well-known member
Local time
9:12 PM
Posts
39
OS
Windows 11
I know it's a real pain to hunt down all the different settings which make the PC wake up in the middle of the night, such as wake timers in the power options, automatic maintenance, and individual devices (see screenshot).

1723892960108.png

I disabled everything that can wake up the PC but it still happens occasionally, and the cuplrit seems to be always some device (usually keyboard/mouse), which re-enabled the "allow this device to wake the computer" setting, so I have to go through all peripherals, USB devices and network adapters again to find it. I'm not sure why this stupid setting gets re-enabled sometimes, it might happen when the USB port has changed where it's plugged in or after some driver or Windows update, but it's hard to pin-point.

My question is: Can I completely disable waking up from hibernation on the OS level regardless of individual device settings? Or maybe it's possible to prevent power-on by anything other than the power button in the BIOS settings? I've already disabled modern standby (S0 low power), hybrid sleep and fast startup, so the PC should be "really" off (S5?) in the hibernation state...
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
Allow this device to wake the computer

Make sure you take the ticks off in your Network adapters and any USB controllers in Power Management
Also you could run this in command prompt (Run as Administrator)
powercfg.exe /hibernate off
 

My Computer My Computer

At a glance

Windows 11 ProIntel Core i9 12900KFCorsair 64GB DDR5 Vengeance C40 5200MhzASUS GeForce RTX 3090 ROG Strix OC 24GB
OS
Windows 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
Custom Build
CPU
Intel Core i9 12900KF
Motherboard
ASUS ROG Maximus Z690 Hero
Memory
Corsair 64GB DDR5 Vengeance C40 5200Mhz
Graphics Card(s)
ASUS GeForce RTX 3090 ROG Strix OC 24GB
Sound Card
OnBoard
Monitor(s) Displays
Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
Screen Resolution
2560 x 1440
Hard Drives
1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
PSU
Corsair AX1200i 1200W 80PLUS Titanium Modular
Case
Corsair 4000D Black Case w/ Tempered Glass Side Panel
Cooling
Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
Keyboard
Logitech MK545
Mouse
Logitech MX Master 3
Internet Speed
Fixed Wireless 150mbps/75mbps
Browser
Firefox
Antivirus
Kaspersky
Other Info
Thrustmaster TS-PC RACER
Fanatec CSL Elite Pedals with the Load Cell Kit
Yamaha Amp with Bose Speakers
Allow this device to wake the computer

Make sure you take the ticks off in your Network adapters and any USB controllers in Power Management
Also you could run this in command prompt (Run as Administrator)
powercfg.exe /hibernate off
The ticks come back. Also, I don't want to disable hibernation, I want to disable wakeup by anything else than the power button.
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
The ticks come back. Also, I don't want to disable hibernation, I want to disable wakeup by anything else than the power button.
My ticks don't come back on, have you also checked all the Human Interface Devices to see if any ticks are on?
I also have in the power options it set to High Performance NOT Balanced (Recommended) and have turned off Put the computer to sleep.
See if any of these helps with your situation.
 

My Computer My Computer

At a glance

Windows 11 ProIntel Core i9 12900KFCorsair 64GB DDR5 Vengeance C40 5200MhzASUS GeForce RTX 3090 ROG Strix OC 24GB
OS
Windows 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
Custom Build
CPU
Intel Core i9 12900KF
Motherboard
ASUS ROG Maximus Z690 Hero
Memory
Corsair 64GB DDR5 Vengeance C40 5200Mhz
Graphics Card(s)
ASUS GeForce RTX 3090 ROG Strix OC 24GB
Sound Card
OnBoard
Monitor(s) Displays
Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
Screen Resolution
2560 x 1440
Hard Drives
1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
PSU
Corsair AX1200i 1200W 80PLUS Titanium Modular
Case
Corsair 4000D Black Case w/ Tempered Glass Side Panel
Cooling
Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
Keyboard
Logitech MK545
Mouse
Logitech MX Master 3
Internet Speed
Fixed Wireless 150mbps/75mbps
Browser
Firefox
Antivirus
Kaspersky
Other Info
Thrustmaster TS-PC RACER
Fanatec CSL Elite Pedals with the Load Cell Kit
Yamaha Amp with Bose Speakers
My ticks don't come back on, have you also checked all the Human Interface Devices to see if any ticks are on?
I also have in the power options it set to High Performance NOT Balanced (Recommended) and have turned off Put the computer to sleep.
See if any of these helps with your situation.
Yeah, I've made a post about it and included a screenshot. I need an OS-level solution for ticks which come back for different reasons.
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
Have a look here


 

My Computer My Computer

At a glance

Windows 11 ProIntel Core i9 12900KFCorsair 64GB DDR5 Vengeance C40 5200MhzASUS GeForce RTX 3090 ROG Strix OC 24GB
OS
Windows 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
Custom Build
CPU
Intel Core i9 12900KF
Motherboard
ASUS ROG Maximus Z690 Hero
Memory
Corsair 64GB DDR5 Vengeance C40 5200Mhz
Graphics Card(s)
ASUS GeForce RTX 3090 ROG Strix OC 24GB
Sound Card
OnBoard
Monitor(s) Displays
Acer Predator XB323UGP 32" QHD G-SYNC-C 144Hz 1MS IPS LED
Screen Resolution
2560 x 1440
Hard Drives
1x Samsung 980 Pro Series Gen4 250GB M.2 NVMe
1x Samsung 980 Pro Series Gen4 500GB M.2 NVMe
2x Samsung 980 Pro Series Gen4 2TB M.2 NVMe
PSU
Corsair AX1200i 1200W 80PLUS Titanium Modular
Case
Corsair 4000D Black Case w/ Tempered Glass Side Panel
Cooling
Noctua NH-U12A Chromax Black CPU Cooler, 4x Noctua 120mm Fans
Keyboard
Logitech MK545
Mouse
Logitech MX Master 3
Internet Speed
Fixed Wireless 150mbps/75mbps
Browser
Firefox
Antivirus
Kaspersky
Other Info
Thrustmaster TS-PC RACER
Fanatec CSL Elite Pedals with the Load Cell Kit
Yamaha Amp with Bose Speakers
Have a look here


That's useful to see which devices have the wakeup enabled (powercfg -devicequery wake_armed), but everything else does exactly what the device manager GUI does. I need some setting or group policy to disable wakeup altogether. Or in the worst case, a command to disable wakeup for every device, not just a specific one, which can run as a startup task. A very cumbersome way would be to parse out all device names returned by powercfg -devicequery wake_armed and then disable every one of them in a loop...
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
This will disable "allow device to wake" for all devices that currently have it enabled.

Powershell:
Set-CimInstance -Query 'SELECT InstanceName FROM MSPower_DeviceWakeEnable WHERE (Enable = True)' -Namespace 'root\WMI' -Property @{Enable = $false}
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2
OS
Windows 11 Enterprise 25H2
, so the PC should be "really" off (S5?) in the hibernation state...
Hibernate is S4. S5 is Soft off. System power states - Win32 apps

So, "really off", or Mechanical off (G3) is when you flip the power switch (mechanical tilt switch) on the backside of the power supply unit or you physically unplug the power cord from the wall outlet. The power button (push button) on the front panel (or on the top) of a normal desktop PC case uses a 5-volt DC signal to turn on the PC. To be able to respond to this button, it needs to consume a little bit of power, which is what S5 does.

Similarly, the onboard Ethernet adapter of the motherboard also typically continues to consume a small amount of power even if Wake-On-LAN (WOL) either has been disabled in the BIOS or has been disabled in the settings that appear on the Advanced tab [of the adapter's Properties window panel in Device Manager]. This allows other network devices on the same Ethernet-based network to detect that the PC is still present on the network. (Even, if the PC is in S5.)
 

My Computers My Computers

  • At a glance

    11 Homei7 13650HX16GB DDR5GeForce RTX 4060 Mobile
    OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
    Antivirus
    What's an antivirus?
  • At a glance

    11 Homei5 1135G716GB DDR4Intel Iris Xe
    Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
Hibernate is S4. S5 is Soft off. System power states - Win32 apps
Are you saying the only difference between hibernation and "actually off" is that the PC can wakeup from peripherials or network events? Unplugging the power cable after hibernation and plugging it in again will force the PC from S4 to S5, but it will resume normally from hibernation when it's turned on again. Also, wake on LAN (and wake on other stuff) can be enabled in the BIOS and will work in S5, i.e. after a full shutdown. Then what's really the difference between S4 and S5?
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
I've already disabled modern standby (S0 low power),
A gaming PC with modern standby? I've never heard of that one.

You might want to make sure you have the latest bios installed.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.9168i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 25H2 26200.9168
    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
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.9168AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
  • System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.9168
A gaming PC with modern standby? I've never heard of that one.

You might want to make sure you have the latest bios installed.
Is it not a thing on Desktop? I don't know if it was ever available, I just turned all that stuff off via command line, and powercfg /a lists only normal standby (S3) and hibernation as available, nothing else.
 

My Computer My Computer

At a glance

Windows 11Core i9 13900K64GB DDR53080Ti
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Novgorod Scientific Instruments, Inc.
CPU
Core i9 13900K
Motherboard
Asus Z690-I
Memory
64GB DDR5
Graphics Card(s)
3080Ti
Screen Resolution
WQHD
Hard Drives
Samsung 990 Pro 2TB
PSU
Coolermaster SFX 750W
Case
LianLi Q58
Cooling
Custom loop
Keyboard
Coolermaster MK850 Blingblingbling
Mouse
G502
Internet Speed
Jiggabit
Antivirus
Remaining brain cells
Is it not a thing on Desktop?
While not impossible (it all depends on the bios) I have seen it only one time in a PC. That was a Dell all-in-one that used a laptop motherboard. I have never heard of it from a 3rd party PC board.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.9168i9-10900 10 core 20 threads32 gbnone-Intel UHD Graphics 630
    OS
    Windows 11 Pro 25H2 26200.9168
    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
    2x1tb Solidigm m.2 nvme /External drives 512gb Samsung m.2 sata+2tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    #1 Edge #2 Firefox
    Antivirus
    Defender+MWB Premium
  • At a glance

    Windows 11 Pro 24H2 26200.9168AMD Ryzen 7 6800U32 gbintegrated
    Operating System
    Windows 11 Pro 24H2 26200.9168
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink Mini PC SER5
    CPU
    AMD Ryzen 7 6800U
    Memory
    32 gb
    Graphics card(s)
    integrated
    Sound Card
    integrated
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Crucial nvme
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    still too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender
  • System 3 is non compliant Dell 9020 i7-4770/24gb ram Win11 PRO 26200.9168
This script may have some Windows reports to view when the computer has unexpected activity:





Sysinternals may have software for detecting problems:

 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
Are you saying the only difference between hibernation and "actually off" is that the PC can wakeup from peripherials or network events? Unplugging the power cable after hibernation and plugging it in again will force the PC from S4 to S5, but it will resume normally from hibernation when it's turned on again. Also, wake on LAN (and wake on other stuff) can be enabled in the BIOS and will work in S5, i.e. after a full shutdown. Then what's really the difference between S4 and S5?
One difference between S4 and S5 is that, unlike S5, S4 is Save To Disk, or Suspend To Disk so the system state is saved to a temporary file (hiberfil.sys if you're on Windows) on the local disk.

When you unplug the power cable from the PSU or you flip the tilt switch of the PSU from on to off, the PC goes to G3 (Mechanical off) from whatever the power state that the PC was in. Then when you restore power on the PSU, the PC goes to S5. Whether or not the PC has the ability to be woken up from S5 via WOL (S5 WOL) is system-sepcific so it depends on the manufacturer. The ability to be remotely shut down (Shutdown Wake-On-LAN) is very common, as just about every PC that is equipped with a Realtek GbE Family Controller has that ability, but the ability to be remotely turned on (S5 WOL) usually will be absent on cheap and mid-priced motherboards, as this feature tends to be more commonly found on business-oriented and high end/entry-level high end motherboards (such as the one that you have).

To summarize, after an AC power loss has occurred and the PC didn't automatically switch to DC power i.e. due to having no battery or the battery charge was depleted (or the PC did make the switch to DC power, but the battery ran out before AC power could be restored), you can still resume from Hibernate by turning the PC back on like you said, but not all motherboards will let you turn the PC back on remotely. If your motherboard has S5 WOL, normally it also means that S5 WOL can be disabled separately in the BIOS so it will be possible in the BIOS to do things like, e.g., disable S5 WOL while still leaving WOL enabled for S3/S4. These days, the BIOS of a motherboard that has S5 WOL will very often also have ErP mode (Energy-related Products).
 

My Computers My Computers

  • At a glance

    11 Homei7 13650HX16GB DDR5GeForce RTX 4060 Mobile
    OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
    Antivirus
    What's an antivirus?
  • At a glance

    11 Homei5 1135G716GB DDR4Intel Iris Xe
    Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF

Latest Support Threads

Back
Top Bottom