Wednesday, March 18, 2015

windows - How to tell what wake source is when Wake Source: Unknown



Same problem as so many people: My computer wakes itself, but I can't determine the source. Windows 10. It's happened around 3:40am, 12:21am, etc. Seems to happen every few weeks.




These are some details regarding my system configuration after the wake happens:






Configruation:



powercfg -devicequery wake_armed → NONE



powercfg -waketimers → There are no active wake timers in the system.




Power Options Advanced Settings → Sleep → Allow wake timers → Disable



(Classic) Control Panel / System and Security / Security and Maintenance / Automatic Maintenance → "Allow scheduled maintenance to wake up my computer at the scheduled time" unchecked.



All wake on "Magic Packet" or "Pattern Match" or "Link Settings" of all network adapters are set to "Disabled" in the Advanced settings of the devices in Device Manager.



ASRock Z170 Extreme 7+ motherboard (no "wake from sleep" options found in UEFI).







Diagnostic Info:



Event Viewer → Wake Source: Unknown



powercfg -lastwake → Wake History Count - 1, Wake History [0]: Wake Source Count - 0


Answer



I think I finally found out how to tell what the wake source is in this scenario:



Get-ScheduledTask | where {$_.settings.waketorun}



This shows the "Reboot" task under UpdateOrchestrator which I believe might have been causing the problem.



Instructions on how to disable it are found in Step 2 of this fantastic answer: https://superuser.com/a/973029/226996



I'll report back if I'm finding the computer is still waking and I can't determine the source with this method...


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...