Computer wakes up from Sleep mode immediately

Original Title: Sleep mode

When I put my computer into sleep mode, it comes back on automatically in a couple seconds.  How can I fix this?  I've tried to do a system restore to a date from last week (when it was working fine), but that has not helped.  


Hey tobarbe,


There could be many factors interrupting Windows 7 sleep feature. Here’s how you can find out.


Method 1: Disable Wake on LAN (WOL) feature.


When you enable WOL, the network adapter continues listening to the network when the computer is asleep. WOL wakes the computer if it receives a special data packet. This can result to unwanted wake up events during sleep mode.


To disable it, follow these steps.


a.    Go to Start.

b.    Type in  Device Manager into the start menu search box.

c.    Navigate to “Network Adapters” and find your network adapter.

d.    Right-click it and choose Properties from the menu. In the resulting dialog, choose the Power Management tab.

e.    Uncheck the box next to “Allow this device to wake the computer” to solve the problem.


Method 2: Find out what wakes up your Windows 7/Vista from its sleep


Step 1:


To find out what event/device woke up your Windows from its sleep state, use powercfg command.


Here’s how:


a.    Go to Start and type cmd.

b.    Press Enter.

c.    Type the following command and then press Enter.
powercfg – lastwake

d.    To get the most detailed info (and probably easiest) on the device that wakes your Windows up during the sleep, type the following command and then press Enter.
powercfg –devicequery wake_armed


You’ll find a list of devices that wakes up the computer.


Referral link for the command:

Powercfg Command-Line Options


Step 2: You can disable the device from waking your computer up by following Method 1.


If there are multiple devices listed, you may remove or disable one device at a time till you figure out the culprit device. Post the details about the powercfg report here for further troubleshooting.

Shinmila H - Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think.

93 people found this reply helpful


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated November 20, 2021 Views 60,975 Applies to: