Question My New PC Wakes Up Randomly from Sleep

drambit

Distinguished
Sep 23, 2011
59
1
18,545
The quick rundown of the problem: I just built a new PC, it's using an Asus B550M-A WiFi II motherboard with Windows 11 Pro 64 bit.

The PC wakes itself up from sleep randomly. Sometimes it will be fine four hours, other times it will immediately wake back up after going to sleep.

The command "powercfg -lastwake" as well as checking the Event Viewer always returns that the wake is do to "Power Button" (false, it is never from pressing the power button.)

I installed all motherboard drivers from the Asus website for this motherboard.

Any ideas what could be causing the problem?
 

Ralston18

Titan
Moderator
This:

"(false, it is never from pressing the power button.)"

Consider that the power button is defective in some manner and some vibration or temperature change cause an intermittent connection or short to occur.

And such things can be quite random.

Check the case connections.

Ensure that all are correct and fully/solidly connected.
 

drambit

Distinguished
Sep 23, 2011
59
1
18,545
This:

"(false, it is never from pressing the power button.)"

Consider that the power button is defective in some manner and some vibration or temperature change cause an intermittent connection or short to occur.

And such things can be quite random.

Check the case connections.

Ensure that all are correct and fully/solidly connected.
The connections to the motherboard are definitely tight and fully connected. I really would prefer to avoid taking apart the case side of front panel connectors if possible. I suppose it would make sense just to plug both ends of a multimeter into either side of the power button connectors and see if they experience sudden continuity while the PC is asleep.
 
My issue with the theory of a defective power button is that I've had systems in over a half dozen cases all have a spurious wake up (most times immediately) due to "power button was pressed" wake reason. If there was really an issue with the power button making intermittent connections, then it'd also do things like:
  • Put the computer to sleep randomly (this has never happened)
  • Shut the computer off because the button was "pressed down" long enough (also never happened)
  • Power on the computer even though it was turned off (also never happened)
From the times I bothered to attempt to troubleshoot when the computer wakes up on its own from sleep, it was usually because some other app was doing something to trigger a wake event but for some reason Windows reported the wake reason as the power button

EDIT: At least as a starting point when I had the computer basically wake up on it's own, I did powercfg -requests to see if something was preventing the computer from going to sleep on its own. Then I did powercfig -requestsoverride [name of thing] to tell Windows to ignore it.

This may help, but I haven't needed to do this in a while.
 
Last edited:

drambit

Distinguished
Sep 23, 2011
59
1
18,545
My issue with the theory of a defective power button is that I've had systems in over a half dozen cases all have a spurious wake up (most times immediately) due to "power button was pressed" wake reason. If there was really an issue with the power button making intermittent connections, then it'd also do things like:
  • Put the computer to sleep randomly (this has never happened)
  • Shut the computer off because the button was "pressed down" long enough (also never happened)
  • Power on the computer even though it was turned off (also never happened)
From the times I bothered to attempt to troubleshoot when the computer wakes up on its own from sleep, it was usually because some other app was doing something to trigger a wake event but for some reason Windows reported the wake reason as the power button

EDIT: At least as a starting point when I had the computer basically wake up on it's own, I did powercfg -requests to see if something was preventing the computer from going to sleep on its own. Then I did powercfig -requestsoverride [name of thing] to tell Windows to ignore it.

This may help, but I haven't needed to do this in a while.
I agree with this. I think its safe to assume the actual button is fine if it works 100% of the time and never shuts down or turns on the pc.

I guess I'll ask a dedicated windows forum, as I don't know what to do now.
 

bacca400

Commendable
Apr 16, 2022
43
3
1,535
With my HP Omen 30L my PC fans go on and off all night long in sleep mode. When the power is off they don't do this.

Also it could be Windows Update checking for updates each night but that should only happen once a night. And yes, the default settings might be that it wakes up from sleep to do this.
 

drambit

Distinguished
Sep 23, 2011
59
1
18,545
With my HP Omen 30L my PC fans go on and off all night long in sleep mode. When the power is off they don't do this.

Also it could be Windows Update checking for updates each night but that should only happen once a night. And yes, the default settings might be that it wakes up from sleep to do this.
It happens immediately after it goes to sleep at any point in the day.

I've spoke to MS support multiple times about this and so far no solutions.