How to Fix a Computer that Keeps Waking Up

Not too long ago I bought a new desktop PC. Whenever I put it to sleep, in no time flat it was awake again. A little research revealed that this is not an uncommon problem and can have several possible sources. Malware infections are sometimes the cause but more often it is some device that is waking the machine up and that was the case for me. In this tip, I will describe several settings in your system that may keep waking up your PC. The discussion is for Windows Vista/7. You will generally need administrator privileges to make system changes.

Stop the mouse from waking up the PC

Mice, especially, wireless mice, can sometimes wake the PC up. In fact, there is a specific setting to allow this. If the mouse turns out to be a problem, you can change the setting with this procedure:

  1. Open the Start menu and type “mouse” (without quotes) in the Search bar
  2. Under the Control Panel list, click “Mouse” (or just press Enter in Vista)
  3. In the dialog box that opens, select the tab “Hardware”
  4. Highlight the entry for your mouse and click the button “Properties”
  5. A new dialog will open. Click the button “Change settings”
  6. In the new dialog that opens, click the tab “Power Management”
  7. Remove the check by “Allow this device to wake the computer”
  8. Click “OK” and close the dialogs.

Stop a network card from waking up the PC

From what I read, a network card is the most common source of wake-up problems and that was the cause of my own computer never staying asleep. Here is how to configure a network card:

  1. Open Device Manager. There are many ways to do this but a quick way is to enter “dev” (without quotes) in the Start search bar and click “Device Manager”
  2. Expand the list for “Network adapters”
  3. Right-click the adapter to be configured and choose “Properties”. There may be several adapters, one for Ethernet, one for wireless, and others like Bluetooth
  4. In the dialog that opens, click the tab “Power Management”
  5. Remove the check by “Allow this device to wake the computer”
  6. Click “OK” and close up Device Manager

Scheduled tasks , updates, and other causes

Sometimes a task or Windows Update is scheduled for a specific time and will wake up the computer. Dealing with these and other possibilities are discussed at this link.

Use the command line to find what causes the PC to wake up

One way to find out what is causing a wake-up problem is provided by the command line. Open a command prompt with elevated privileges and enter this command:

    powercfg –lastwake

The last device that woke up the system will be shown

To find out which devices are enabled to wake up the PC, enter this command

    powercfg -devicequery wake_armed

Get your own favorite tip published!  Know a neat tech tip or trick?  Then why not have it published here and receive full credit?  Click here to tell us your tip.

This tips section is maintained by Vic Laurie. Vic runs several websites with Windows how-to's and tutorials, including  a computer education website and a site for learning about the command line.

Click here for more items like this. Better still, get Tech Tips delivered via your RSS feeder or alternatively, have the RSS feed sent as email direct to your in-box.

Share this
Average: 4.8 (295 votes)
Your rating: None


by mman.jordan on 5. February 2015 - 5:26  (120966)

So when I go into my network adapter properties I disable the permission to start computer and I click okay. Then if i go back in the boy is checked again. But when I change something else it sticks. How do I disable it and not have it enable itself?

by v.laurie on 5. February 2015 - 13:11  (120971)

Unfortunately, we can't give this type of individual support in the comments. If you post your problem in the forum at, there will be knowledgeable people to help you.

by StanLee on 4. December 2014 - 18:57  (119968)

What about the opposite problem where Windows Defender is running but the Win 7 laptop goes to sleep before Defender is done? How do I keep it running until Defender is done?

by v.laurie on 4. December 2014 - 20:05  (119970)

Is the laptop going to sleep or just turning the screen off? Have you tried running Defender while the laptop is plugged in to a power source?

by StanLee on 5. December 2014 - 5:43  (119971)

To your questions: I keep the laptop plugged in when running Defender because it takes quite a few hours to do all the drives. And it goes to sleep and the screen turns off. Thanx for any help you can give me.

by Y6F0 on 1. February 2015 - 12:37  (120893)

Try a free program called Insomnia, which keeps the computer awake when it would otherwise sleep.

I'd include a link, but the site flags it as spam. Search on insomnia lifehacker.

by Y6F0 on 1. February 2015 - 12:39  (120894)

Actually, insomnia lifehacker doesn't work (sorry). Try insomnia lifehacker download.

by goigisanjib on 26. September 2014 - 9:59  (118811)

My System Is Showing Processor thermal Trip warning on every Start up. Please tell me how to fix this issue.

by MidnightCowboy on 26. September 2014 - 14:12  (118814)

As Vic states below we are only able to respond to support requests in the forum. There is however a lot of information about this already on the web. This is just a selection of possibilities.

I suggest you research this yourself using Google if none of the above are helpful as the solution for your own issue is pretty much guaranteed to have been posted somewhere already. MC - Site Manager.

by v.laurie on 26. September 2014 - 13:47  (118813)

Unfortunately, we can't give this type of individual support in the comments. If you post your problem in the forum at, there will be knowledgeable people to help you.

by halfbeing on 13. September 2014 - 15:17  (118569)

I have this problem. It is definitely the mouse that is responsible, but I have disabled waking for all the mice, keyboards and HID devices listed in the Device Manager and it still wakes up when I touch the mouse. I have also made sure that all the wake-by-mouse and wake-by-keyboard options are disabled in my BIOS setup. I have a Logitech wireless mouse and keyboard, if that makes any difference. What else can I do?

by v.laurie on 13. September 2014 - 16:19  (118572)

Is it only when you move the mouse that the PC wakes up? I am not sure why that would be a problem unless the PC wakes up when you are not there. Did you check the settings in the Logitech software? Otherwise, I don't have an answer to your problem but maybe another member can help.

by halfbeing on 13. September 2014 - 20:22  (118576)

Yes, it's when I move the mouse. I have a very cramped desk and I'm often accidentally nudging it. The only software available is the Logitech Connection Utility, which isn't relevant.

by tazmo8448 on 31. August 2014 - 16:03  (118317)

I thought it was the mouse waking from sleep but found after disabling the mouse that even if I move the mouse it still wakes even though the -lastwake command was showing the keyboard doing it. Guess I'll just unplug the mouse for now.

by Naveen D on 19. August 2014 - 6:19  (118056)

Thanks a lot.i have also had this problem & this guide help me to fix it. Couldn't find a cure for this until now.

Mine was the mouse that keeps the pc waking everytime.

Thanks again.

by calimesajim on 20. July 2014 - 20:03  (117442)

My HP started waking from sleep mode after I downloaded some Realtek ethernet control drivers at the suggestion of HP. Tried everything I knew, then found this help from v.laurie. Turned out to be the internet adapter just as indicated above. Problem solved! Big help for this novice. Thanks.

by Tar73 on 29. December 2013 - 12:02  (113264)

After having problem with sleep mod waking up right after starting it, this guide help me fix it.
My network card was the reason, no idea why since it has not been a problem before.

When I used "powercfg –lastwake" in cmd, I got this message "invalid parameters", but it seem to work with "powercfg /lastwake" and also "powercfg lastwake"

Thanks for help :)

by 2131tom on 19. January 2013 - 20:15  (104650)

Thanks for the help. My pc started to wake up on its own a couple of weeks ago. Looked for virus but didn't help, so I took to turning it off whenever I wasn't using it, which was a complete pain.

I've now unticked the "allow wake-up etc." on the mouse power management and that seems to have worked fine. Why it should have suddenly decided to act in this way after I've had the mouse for over a year, I don't know but following your advice has certainly saved me a lot of anticipated aggro from now on.

Thanks again

by Robertooo on 18. January 2013 - 9:18  (104610)

I am going crazy... nothing helped in that list.. my computer wakes up every night at about 3 oclock and I don't know why. I disabled the automatic updates, checked the schedule, checked for possible hardware... checked for viruses.. this is a windows problem because I once left my computer in standby using linux and it stayed off.

Gizmo's Freeware is Recruiting!

Gizmos Needs YouShare your knowledge of free software with millions of Gizmo's readers by joining our editing team.  Details here.