Solved

Computer Won't Sleep

Posted on 2013-06-11
14
610 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
  • 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 500 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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 50

Expert Comment

by:jcimarron
ID: 39238973
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

856 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