?
Solved

Computer Won't Sleep

Posted on 2013-06-11
14
Medium Priority
?
622 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

Question has a verified solution.

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

On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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…
Suggested Courses

771 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