Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Computer Won't Sleep

Posted on 2013-06-11
14
Medium Priority
?
626 Views
Last Modified: 2013-06-11
Hi,

I've got a Windows 7 PC and trying to get it to sleep for longer than a few minutes.

The computer can go to sleep properly using the power options to tell it to go to sleep after being idle.

However, for some reason, it doesn't stay asleep. It wakes up after a minute or two for no reason.

I'd prefer to keep 'Wake Up on Lan' enabled so that I can wake up the computer via Logmein if required. Apart from that, I want it to stay asleep.

Any idea what could be causing it to keep waking up? Is there any way to find out?

Many thanks
Dan
0
Comment
Question by:DanJourno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 3
  • +1
14 Comments
 
LVL 30

Expert Comment

by:ded9
ID: 39238545
Run this command from admin command prompt mode...this will tell you why sleep feature is not working.

powercfg -requests



Ded9
0
 
LVL 50

Accepted Solution

by:
jcimarron earned 2000 total points
ID: 39238546
DanJourno--
Something running in the background may be the problem.  
Here is a possibly helpful reference
http://www.tomshardware.com/forum/282379-30-computer-wakes-itself-everything

Ded9 beat me by two hundredths of a second.  :(
0
 
LVL 30

Expert Comment

by:ded9
ID: 39238563
@jcimarron :-)


Ded9
0
Reclaim your office - Try the MB 660 headset now!

High level of background noise often makes it difficult for employees to concentrate fully on their jobs – or to communicate clearly on calls. The MB 660 headset helps you create a disruption free workspace.  

 
LVL 5

Author Comment

by:DanJourno
ID: 39238593
C:\Users\DanJourno>powercfg -requests
DISPLAY:
None.

SYSTEM:
[DRIVER] \FileSystem\srvnet
An active remote client has recently sent requests to this machine.

AWAYMODE:
None.


C:\Users\DanJourno>
0
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39238611
do you trigger wake-on-lan through some manual operation ?

if the wakeup is triggered by an incoming connection to your router, it is likely that any port-scanning robot might trigger it accidentally

btw, if you use regular sleep, you should be able to use the network nevertheless if you configure the network card properly

---

many devices may or may not be aloud to awaken your computer as well

---

sheduled tasks including some antivirus updates may awaken your computer

---

whatever the culprit is, you can determine why your computer last awoke by typing the following command as administrator

powercfg -lastwake
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39238615
0
 
LVL 5

Author Comment

by:DanJourno
ID: 39238616
Here is the results from lastwake.

C:\Users\DanJourno>powercfg -lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Device
    Instance Path: USB\ROOT_HUB\4&2c1bf672&0
    Friendly Name:
    Description: USB Root Hub
    Manufacturer: (Standard USB Host Controller)
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39238621
0
 
LVL 30

Expert Comment

by:ded9
ID: 39238623
Follow the steps mentioned in this article and make sure your install updated network drivers.


http://mingersoft.com/blog/2011/12/why-wont-windows-automatically-sleep/





Ded9
0
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39238653
meaning the USB stack is reponsible for waking up the computer

normally the device name should be displayed. since you have the id of the usb controller, you probably can use the device manager to determine what is plugged into this specific USB port

if i assume that windows does no do a mess of things and properly displays the device when feasible, a good guess could be that the device powers off automagically after some time, or ditches the USB connection when it receives no electricity from it for a while, the usb controller picks the state changed, and wakes windows up

if i assume that windows does a sh...y job as usual, it may just display the device name some times and not others. in that case, it can be any usb device including your mouse moving by 1/10 mm (ie not at all because optic mice cannot be trusted to be still... ever)

i probably did not cover everything, but i believe that you have a fair chance to find the device that is responsible for this mess in the device manager. you can also do the same by unplugging devices before you send the computer to sleep if you do not have tons of them, or waking the computer up voluntarily with the mouse, keyboard, by unplugging and replugging your digita cam or whatever other devices you use and comparing the output of the previous command

solutions range from device-specific stuff to set one or all usb ports to be unable to wake up the computer. in the device manager, you'll find options relative to keeping them powered up and allow them or not to awaken the computer.
0
 
LVL 5

Author Comment

by:DanJourno
ID: 39238866
I just retested to ensure I got the correct information.

Heres the results:-

C:\Users\DanJourno>powercfg -lastwake
Wake History Count - 1
Wake History [0]
  Wake Source Count - 0

Doesnt really help me.
0
 
LVL 5

Author Closing Comment

by:DanJourno
ID: 39239172
Disabling wake up timers seems to have done the trick.

Thanks
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39239218
DanJourno--
Glad all is well.  You are welcome.
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question