System Find Wake Source for Windows 11 Computer


Sleep_states_banner.png

This tutorial will help show you how to find the wake source for what woke up your Windows 11 computer from a sleep or hibernate state.

When you put your computer to sleep or hibernate, many sources (ex: network, device or wake timers) can wake the computer.

References:


Contents





Option One

Find Last Wake Source using Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below into Windows Terminal, and press Enter. (see screenshots below)

powercfg /lastwake

3 The output will now report information about what woke the system from the last sleep transition.

A "USB Controller" can be for a device (ex: wireless mouse) connected to the USB port.


lastwake-1.png

lastwake-2.png





Option Two

Find Wake Sources in Event Viewer


1 Open Event Viewer (eventvwr.msc).

2 Perform the following steps in the left pane of Event Viewer: (see screenshot below)
  1. Expand open Windows Logs.
  2. Click on System to open it in the middle pane.
  3. Right click on System, and click/tap on Filter Current Log.
Event_Viewer_wake_source-1.png

3 Check Kernel-Power and Power-Troubleshooter in the Event sources drop menu. (see screenshots below)

Event_Viewer_wake_source-2.png
Event_Viewer_wake_source-3.png

4 Click/tap on an empty area in the "Filter Current Log" dialog to close the drop menu, and click/tap on OK. (see screenshot below)

Event_Viewer_wake_source-4.png

5 You can now click/tap on an event log in the middle pane of Event Viewer to see its wake source. (see screenshots below)

Kernel-Power logs with Event ID 507 can help reveal if a Modern Standby device may have woken from Connected Standby.

Power-Troubleshooter logs can help ID wake sources like devices or timers.


Event_Viewer_wake_source-5.png
Event_Viewer_wake_source-6.png



That's it,
Shawn Brink


 
Last edited:
10/20/24
I'm running windows 11 23h2 .
Ran though this routine and all that is reported is the sleep time, the wake time and Wake Source Unknown. The problem seems to be related to one of the recent updates. It usually wakes up withing 5 minutes after hibernating, samething with sleep. Sometimes if I put the computer in hibernation it'll stay in hibernation, but not very often.
Any ideas?
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel(R) Core(TM) i7-13700KF LGA1700 CPU @ 3.4GHz max
    Motherboard
    Gigabyte Z790 Aorus Elite AX (rev.1.1)
    Memory
    CORSAIR Vengeance 64GB (2 x 32GB) DDR5 DRAM 5200MT/s
    Graphics Card(s)
    Zotac Gaming Geforce RTX 4070 twin edge 12GB 192bit GDDR6X
    Sound Card
    n/a
    Monitor(s) Displays
    1. ASUS VK246 TFT LCD 24" wide 3440x1440 2.Dell 2005fpw 1680x1050
    Screen Resolution
    1. 3440 x 1440 2. 1680 x 1050
    Hard Drives
    WDC WD850x 1TB Series M2 2280 1TB
    WDC WD 850x 2TB
    WDC WD2001fzex 2TB
    PSU
    Corsiar RM1000x
    Case
    Phanteks Enthoo Pro
    Cooling
    EX-Nucleus AIO CR360 Lux D-RBG
    Keyboard
    Razer Blackwidow Elite
    Mouse
    Razer Deathadder
    Internet Speed
    500G/s
    Browser
    Floop
    Antivirus
    Microsoft Defender

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦26100.3194 ♦♦♦♦♦♦♦24H2 ♦♦♦non-Insider
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
10/20/24
I'm running windows 11 23h2 .
Ran though this routine and all that is reported is the sleep time, the wake time and Wake Source Unknown. The problem seems to be related to one of the recent updates. It usually wakes up withing 5 minutes after hibernating, samething with sleep. Sometimes if I put the computer in hibernation it'll stay in hibernation, but not very often.
Any ideas?
Hello, :alien:

Just to confirm, anything logged in Event Viewer with option 2?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I had to cut and paste the entries from the event viewer after the wakeup after hibernating. Hope the column formatting survives the send to you.

Level Date and Time Source ID Task Catagory General (from detail pane)
Information 10/20/2024 9:02:37 PM Power-Troubleshooter 1 None The system has returned from a low power state.
The system has returned from a low power state.
Sleep Time: ‎2024‎-‎10‎-‎21T04:01:32.617977600Z
Wake Time: ‎2024‎-‎10‎-‎21T04:02:36.411990300Z
Wake Source: Unknown

Information 10/20/2024 9:02:36 PM Kernel-Power 566 (268) The system session has transitioned from 14 to 16

Information 10/20/2024 9:02:36 PM Kernel-Power 566 (268) The system session has transitioned from 13 to 14.

Information 10/20/2024 9:01:37 PM Kernel-Power 107 (102) The system has resumed from sleep

Information 10/20/2024 9:01:33 PM Kernel-Power 42 (64) The system session has transitioned from 12 to 13.

Information 10/20/2024 9:01:32 PM Kernel-Power 566 (268) The system session has transitioned from 12 to13. Reason Unknown

Information 10/20/2024 9:01:32 PM Kernel-Power 187 (243) User-mode process attempted to change the system state by calling SetSuspendState or SetSystemPowerState APIs
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel(R) Core(TM) i7-13700KF LGA1700 CPU @ 3.4GHz max
    Motherboard
    Gigabyte Z790 Aorus Elite AX (rev.1.1)
    Memory
    CORSAIR Vengeance 64GB (2 x 32GB) DDR5 DRAM 5200MT/s
    Graphics Card(s)
    Zotac Gaming Geforce RTX 4070 twin edge 12GB 192bit GDDR6X
    Sound Card
    n/a
    Monitor(s) Displays
    1. ASUS VK246 TFT LCD 24" wide 3440x1440 2.Dell 2005fpw 1680x1050
    Screen Resolution
    1. 3440 x 1440 2. 1680 x 1050
    Hard Drives
    WDC WD850x 1TB Series M2 2280 1TB
    WDC WD 850x 2TB
    WDC WD2001fzex 2TB
    PSU
    Corsiar RM1000x
    Case
    Phanteks Enthoo Pro
    Cooling
    EX-Nucleus AIO CR360 Lux D-RBG
    Keyboard
    Razer Blackwidow Elite
    Mouse
    Razer Deathadder
    Internet Speed
    500G/s
    Browser
    Floop
    Antivirus
    Microsoft Defender
I had to cut and paste the entries from the event viewer after the wakeup after hibernating. Hope the column formatting survives the send to you.

Level Date and Time Source ID Task Catagory General (from detail pane)
Information 10/20/2024 9:02:37 PM Power-Troubleshooter 1 None The system has returned from a low power state.
The system has returned from a low power state.
Sleep Time: ‎2024‎-‎10‎-‎21T04:01:32.617977600Z
Wake Time: ‎2024‎-‎10‎-‎21T04:02:36.411990300Z
Wake Source: Unknown

Information 10/20/2024 9:02:36 PM Kernel-Power 566 (268) The system session has transitioned from 14 to 16

Information 10/20/2024 9:02:36 PM Kernel-Power 566 (268) The system session has transitioned from 13 to 14.

Information 10/20/2024 9:01:37 PM Kernel-Power 107 (102) The system has resumed from sleep

Information 10/20/2024 9:01:33 PM Kernel-Power 42 (64) The system session has transitioned from 12 to 13.

Information 10/20/2024 9:01:32 PM Kernel-Power 566 (268) The system session has transitioned from 12 to13. Reason Unknown

Information 10/20/2024 9:01:32 PM Kernel-Power 187 (243) User-mode process attempted to change the system state by calling SetSuspendState or SetSystemPowerState APIs
Unknown source is going to make it fun to track down.

As a test, check below to see which devices are able to wake the computer, and disable allowing them to wake the computer to see if that may stop this for you.


 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Unknown source is going to make it fun to track down.

As a test, check below to see which devices are able to wake the computer, and disable allowing them to wake the computer to see if that may stop this for you.


I have the exact same issue as wesweber running 23H2. Altough I have some devices that can wake my computer (I use WoL for example), it has always functioned fine before updating Windows. Now my pc wakes up between minutes to one hour after sleeping and then never goes back to sleep (unless I manually select it). I've been searching everywhere but can't find anything related to this issue.

My event logs show about the same:

Code:
The system session has transitioned from 13 to 14.

Reason SxTransition

BootId: 311

The system session has transitioned from 14 to 16.

Reason WinRT

BootId: 311

The system has returned from a low power state.

Sleep Time: ‎2024‎-‎10‎-‎27T23:31:40.638778900Z
Wake Time: ‎2024‎-‎10‎-‎28T00:18:13.398204400Z

Wake Source: Unknown

I'm still trying to figure out if some driver has changed or any other cause, but so far I'm stuck. I did try to update all drivers/BIOS etc, but that didn't help.

Edit: It is interesting that we both have a Gigabyte motherboard...
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 9 5950X
    Motherboard
    Gigabyte X570S Aorus Pro AX (Rev. 1.1)
    Memory
    G.Skill F4-3600C14-16GTZNA (2x16GB)
    Graphics Card(s)
    RTX3070Ti
    Hard Drives
    Several> NVMe SSD's, HDD's
    PSU
    Modern (2022) Seasonic
    Keyboard
    Apex Pro
For @juun89 : Try using Brink's first link to "Enable or Disable to Wake Computer" tutorial. I found the mouse had the setting "Allow this device to wake wake the computer" under Power Management was checked. I unchecked it and the problem went away. Curiously, moving the mouse will still wake the computer.
For me, the problem is fixed.
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel(R) Core(TM) i7-13700KF LGA1700 CPU @ 3.4GHz max
    Motherboard
    Gigabyte Z790 Aorus Elite AX (rev.1.1)
    Memory
    CORSAIR Vengeance 64GB (2 x 32GB) DDR5 DRAM 5200MT/s
    Graphics Card(s)
    Zotac Gaming Geforce RTX 4070 twin edge 12GB 192bit GDDR6X
    Sound Card
    n/a
    Monitor(s) Displays
    1. ASUS VK246 TFT LCD 24" wide 3440x1440 2.Dell 2005fpw 1680x1050
    Screen Resolution
    1. 3440 x 1440 2. 1680 x 1050
    Hard Drives
    WDC WD850x 1TB Series M2 2280 1TB
    WDC WD 850x 2TB
    WDC WD2001fzex 2TB
    PSU
    Corsiar RM1000x
    Case
    Phanteks Enthoo Pro
    Cooling
    EX-Nucleus AIO CR360 Lux D-RBG
    Keyboard
    Razer Blackwidow Elite
    Mouse
    Razer Deathadder
    Internet Speed
    500G/s
    Browser
    Floop
    Antivirus
    Microsoft Defender
Thanks for reporting back. I've tried the same, but that didn't fix it I'm afraid. Also my mouse and keyboard won't wake my pc anymore after turning off the "Allow this device to wake wake the computer" setting. I will try more things and report back if I ever find a solution. It's hard to track down what is waking a system if even Windows itself doesn't register it.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 9 5950X
    Motherboard
    Gigabyte X570S Aorus Pro AX (Rev. 1.1)
    Memory
    G.Skill F4-3600C14-16GTZNA (2x16GB)
    Graphics Card(s)
    RTX3070Ti
    Hard Drives
    Several> NVMe SSD's, HDD's
    PSU
    Modern (2022) Seasonic
    Keyboard
    Apex Pro
Juun89- If you have an iPhone connected to Windows (bluetooth) check into that. Early May of this year my computer stopped hibernating/sleeping after some updates. I finally had to remove all the apps and drivers that allowed the iPhone to talk to Windows. That fixed the hibernate/sleep problem until the October updates.
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel(R) Core(TM) i7-13700KF LGA1700 CPU @ 3.4GHz max
    Motherboard
    Gigabyte Z790 Aorus Elite AX (rev.1.1)
    Memory
    CORSAIR Vengeance 64GB (2 x 32GB) DDR5 DRAM 5200MT/s
    Graphics Card(s)
    Zotac Gaming Geforce RTX 4070 twin edge 12GB 192bit GDDR6X
    Sound Card
    n/a
    Monitor(s) Displays
    1. ASUS VK246 TFT LCD 24" wide 3440x1440 2.Dell 2005fpw 1680x1050
    Screen Resolution
    1. 3440 x 1440 2. 1680 x 1050
    Hard Drives
    WDC WD850x 1TB Series M2 2280 1TB
    WDC WD 850x 2TB
    WDC WD2001fzex 2TB
    PSU
    Corsiar RM1000x
    Case
    Phanteks Enthoo Pro
    Cooling
    EX-Nucleus AIO CR360 Lux D-RBG
    Keyboard
    Razer Blackwidow Elite
    Mouse
    Razer Deathadder
    Internet Speed
    500G/s
    Browser
    Floop
    Antivirus
    Microsoft Defender
I've updated my RZ608 Wifi drivers and installed KB5045935 and now the problem seems to be resolved. Not that I believe these updates had anything to do with it, so let's conclude that the issue has automagically resolved itself. I will report back if it comes back or I find a relevant solution.

@wesweber, thanks again for the help. I do have an iPhone, but I can't remember the last time I connected it to a computer. I will remember it for future reference though.

Interesting fact is that my laptop, which I only use for work, started staying awake after a round of Windows updates as well. I haven't diagnosed anything yet since I believe it will resolve itself in a future update, plus I don't mind it staying awake while I'm working and after that I shut it down anyway.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 9 5950X
    Motherboard
    Gigabyte X570S Aorus Pro AX (Rev. 1.1)
    Memory
    G.Skill F4-3600C14-16GTZNA (2x16GB)
    Graphics Card(s)
    RTX3070Ti
    Hard Drives
    Several> NVMe SSD's, HDD's
    PSU
    Modern (2022) Seasonic
    Keyboard
    Apex Pro

Latest Support Threads

Back
Top Bottom