Most bizarre PC performance problems Issue with computer speed and responsiveness Unusual behavior during operation
Most bizarre PC performance problems Issue with computer speed and responsiveness Unusual behavior during operation
It would have been simple if the source could be provided. Try executing the following command in a command line window (cmd.exe) with administrator privileges. Powercfg -waketimers powercfg -devicequery wake_armed powercfg -lastwake should give similar results as the Event Viewer did. We might also look for a device on your system that could trigger this issue. Next, check the BIOS settings for power options ("Restore AC Power Loss"). If the source remains unclear, consider consulting an electrician to rule out a power surge. For PCs and other devices, there are surge protectors available, but it’s hard to recommend one without more details. When using such a device, make sure you can return it if it doesn’t resolve your problem.
You set the PC to sleep, then turned it back on by flipping the switches. After that, you executed all the commands. From the screenshot, you can see what actions were taken and possibly what state the system was in. Let me know if you need help interpreting it!
I would first attempt to turn off "Allow this device to wake the computer" on every device shown when executing the command "powercfg -devicequery wake_armed" in Device Manager (Win + X → "Device Manager"). Next, I would try to activate the PC using the light switch. If the issue disappears, one of the listed devices is responsible. The entries in "powercfg -waketimers" come from a scheduled task named "Printer Health Monitor" located in HP folder within Task Scheduler (Windows App) and from "Live Tiles" under Start MenuExperienceHost. I suspect these two might not be the cause. If none of them are involved, check for power surge issues.