Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows wakes up immediately from sleep

12 Feb 2012   #11
DannyG13

Windows 7 Ultimate 64
 
 

Quote   Quote: Originally Posted by TBoyd View Post
Quote   Quote: Originally Posted by DannyG13 View Post
Ok, this is a problem I've had for about 4 months. It's very sporadic and intermittent and despite my best efforts, I've been unable to solve it. I put the system into sleep mode, and almost every time it wakes up immediately. I have narrowed it down to a keyboard issue (Logitech Illuminated Keyboard) because it has never woken up immediately when I disconnect said keyboard. And sometimes it DOES sleep with the keyboard plugged in, but not often. I've tried powercfg -lastwake and using power troubleshooter in event manager and come up with either 'unknown' or 'power-troubleshooter'. I've disabled all power management wake modes for all the devices like LAN and USB in device manager but it doesn't cure the problem. I used a sleep utility to try to help but it made no difference. Anyone got any genius words of wisdom? Something I haven't tried yet? It really is frustrating the bejesus out of me.

I had the EXACT same issue after getting the Logitech Illuminated KeyBoard (love it - BTW).

This should solve the issue: Go to the Device Manager & find "Logitech HID Compliant Keyboard". Right-click > Properties > Power Management Tab and Uncheck "Allow this device to wake computer".

That should do it!
If only it did. Checking or unchecking that box makes no difference. Thanks for the reply though.


My System SpecsSystem Spec
.
12 Feb 2012   #12
DannyG13

Windows 7 Ultimate 64
 
 

Quote   Quote: Originally Posted by A Guy View Post
To confirm what woke up your Windows from sleep:

Start> Type CMD in search box> Click on CMD.exe in results above> Type in:

powercfg –lastwake

Enter




To get the more detailed info on the device that wakes your Windows up during the sleep, and the most likely suspect, type:

powercfg –devicequery wake_armed

Enter



If the PC was last awoken by itself, this will be you culprit

A Guy
Appreciate the response. I have tried all this and while occasionally it does give a culprit, I then remedy that culprit but it still wakes anyway. I've attached screengrabs of all the evidence. Hope this enlightens someone. But as I say, if I disconnect the keyboard, it sleeps no problem at all.


Attached Thumbnails
Windows wakes up immediately from sleep-unknown.jpg  
Attached Images
Windows wakes up immediately from sleep-last-wake.jpg Windows wakes up immediately from sleep-wake-armed.jpg 
My System SpecsSystem Spec
12 Feb 2012   #13
Ztruker

Windows 10 Pro X64
 
 

Looks like you have the same setup the guy in the link I gave you had, or very similar, where Windows is not on the boot drive.

C: Boot, Page File, etc.
H: System, Active <== Windows here ??

I don't know how to fix this so I'm hoping one of the other folks here, like Gregrocker, will stop by with some ideas. I'll send him a PM.
My System SpecsSystem Spec
.

12 Feb 2012   #14
gregrocker

 

Quote   Quote: Originally Posted by DannyG13 View Post
Quote   Quote: Originally Posted by Ztruker View Post
Are you sure the problem didn't start around the time you removed the dual boot setup?

What does Disk Management look like? Can you post a screen shot of it?
Possibly did. I've attached a grab of Disk Management. Cheers.

Ztruker is correct. Your HD is still configured for a Dual Boot.

Why are your System Active boot files for Win7 on the Storage partition? Was this where XP was located?

If you did not correctly delete XP in Disk Mgmt then you still have a Dual Boot setup with the Win7 boot files updating the XP ones on XP partition.

I cannot say for sure this is the cause of your sleep problems but it is not at all a correct configuration of your HD.

Please explain what you have done so we can proceed with reconfiguring it correctly.
My System SpecsSystem Spec
13 Feb 2012   #15
DannyG13

Windows 7 Ultimate 64
 
 

Yes, I do still have dual boot configuration because I merely removed the XP partition and left the Windows 7 bootmanager as it was bar removing the 30 second choice option. The setup is all on a single 500MB HD - divided into 3 partitions. With the price of HDs right now I refuse to invest in a bigger faster additional one - put simply they cost too much. Anyway, I originally installed Windows 7 onto the C: partition, and had created the other 2 partitions for Games and Storage space. Problem was I wanted to revisit some older XP software which didn't run on 7, so I created a new partition after D: and installed XP on there. I used Neosmart Easy BCD to configure a dual boot given the XP install had over written the 7 boot files. Then, once I was done with XP I simply erased that partition, redistributed the free space and removed the dual boot choice from the manager in 7. I'd be genuinely stunned if this was the cause of my sleep problems though.
My System SpecsSystem Spec
13 Feb 2012   #16
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Quote   Quote: Originally Posted by DannyG13 View Post
Yes, I do still have dual boot configuration because I merely removed the XP partition and left the Windows 7 bootmanager as it was bar removing the 30 second choice option. The setup is all on a single 500MB HD - divided into 3 partitions. With the price of HDs right now I refuse to invest in a bigger faster additional one - put simply they cost too much. Anyway, I originally installed Windows 7 onto the C: partition, and had created the other 2 partitions for Games and Storage space. Problem was I wanted to revisit some older XP software which didn't run on 7, so I created a new partition after D: and installed XP on there. I used Neosmart Easy BCD to configure a dual boot given the XP install had over written the 7 boot files. Then, once I was done with XP I simply erased that partition, redistributed the free space and removed the dual boot choice from the manager in 7. I'd be genuinely stunned if this was the cause of my sleep problems though.
From another one of your posts/screenshots, it appears that the device causing your PC to wake up is unknown. Is there anything in your device manager listed as "unknown"?

Also, from what you just wrote, a better solution to having Win XP available to run some programs is to download & install Win XP mode, which runs on Virtual PC. This is free from Microsoft:

Download Windows XP Mode

I use it to run stuff that only works in XP & works fine. It can run simultaneously with Win 7.

Just maybe your wake from sleep issue will be gone. No guarantee, but you should consider trying XP Mode.

You need to get rid of the dual boot setup first & reinstall Win 7 before installing XP mode.
My System SpecsSystem Spec
13 Feb 2012   #17
gregrocker

 

Your response does not answer the question of why the System Active boot files are located on the H storage partition. This indicates it is where XP was installed and that XP has not been removed unless it was deleted piecemeal. Is there a Windows folder on H?

Either way what I would do is mark C Active then boot into Win7 DVD or System Repair Disk to Run Startup Repair 3 Separate Times with reboots until Repair writes the System boot files to C and it starts up on its own without H.

Confirm C is now System Active, then move the data off H to delete and recreate it in Disk Management.

Once you have the boot configured correctly if the Sleep issue persists and the other suggestions dont' help, get a Sleep trace by Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace - Windows 7 Forums and posting it up for analysis.
My System SpecsSystem Spec
13 Feb 2012   #18
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Quote   Quote: Originally Posted by gregrocker View Post
Your response does not answer the question of why the System Active boot files are located on the H storage partition. This indicates it is where XP was installed and that XP has not been removed unless it was deleted piecemeal. Is there a Windows folder on H?

Either way what I would do is mark C Active then boot into Win7 DVD or System Repair Disk to Run Startup Repair 3 Separate Times with reboots until Repair writes the System boot files to C and it starts up on its own without H.

Confirm C is now System Active, then move the data off H to delete and recreate it in Disk Management.

Once you have the boot configured correctly if the Sleep issue persists and the other suggestions dont' help, get a Sleep trace by Gathering a Startup, Shutdown, Sleep, Hibernate, or Reboot Trace - Windows 7 Forums and posting it up for analysis.
That is correct, Greg. I'm aware of that. But, because he mentioned a need to run XP programs, the virtual disc would be a good solution vs a dual boot, unless there is some reason he particularly wants a dual boot setup.

Just in case he is interested in reinstalling Win 7 & the virtual disc, who knows? - His current problem may no longer be an issue.
My System SpecsSystem Spec
13 Feb 2012   #19
DannyG13

Windows 7 Ultimate 64
 
 

Quote   Quote: Originally Posted by TBoyd View Post
Quote   Quote: Originally Posted by DannyG13 View Post
Yes, I do still have dual boot configuration because I merely removed the XP partition and left the Windows 7 bootmanager as it was bar removing the 30 second choice option. The setup is all on a single 500MB HD - divided into 3 partitions. With the price of HDs right now I refuse to invest in a bigger faster additional one - put simply they cost too much. Anyway, I originally installed Windows 7 onto the C: partition, and had created the other 2 partitions for Games and Storage space. Problem was I wanted to revisit some older XP software which didn't run on 7, so I created a new partition after D: and installed XP on there. I used Neosmart Easy BCD to configure a dual boot given the XP install had over written the 7 boot files. Then, once I was done with XP I simply erased that partition, redistributed the free space and removed the dual boot choice from the manager in 7. I'd be genuinely stunned if this was the cause of my sleep problems though.
From another one of your posts/screenshots, it appears that the device causing your PC to wake up is unknown. Is there anything in your device manager listed as &quot;unknown&quot;?

Also, from what you just wrote, a better solution to having Win XP available to run some programs is to download & install Win XP mode, which runs on Virtual PC. This is free from Microsoft:

Download Windows XP Mode

I use it to run stuff that only works in XP & works fine. It can run simultaneously with Win 7.

Just maybe your wake from sleep issue will be gone. No guarantee, but you should consider trying XP Mode.

You need to get rid of the dual boot setup first & reinstall Win 7 before installing XP mode.
No need for XP any more, hence I removed it.
My System SpecsSystem Spec
13 Feb 2012   #20
DannyG13

Windows 7 Ultimate 64
 
 

As for the issue regarding the boot setup - if it was an issue with the way my boot files and partitions are set up, why do I never have the same problem when the keyboard is disconnected? Appreciate all the responses though, and what I may do is this sleep trace described before going crazy with changing any partition setups or whatever.
My System SpecsSystem Spec
Reply

 Windows wakes up immediately from sleep




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
PC wakes immediately from sleep...
Hi, I have spent alot of time trying to figure this out and so far i have got no where. When i set my computer to sleep (Windows 7 64bit) the monitor goes into standby mode and then as soon as my computer is about to sleep it wakes up immediately. I have unchecked (Device manager) the adapter...
Performance & Maintenance
PC wakes immediately after sleep
This is my first post to this forum, so this is hello! Obviously my problem is my pc wont sleep, it wakes a second or two after I press sleep. I checked google and this forum for a few hours and come up empty handed. Event viewer has no record of the pc even going into sleep mode, through the...
Performance & Maintenance
Windows 7 wakes up immediately after sleep
I just reinstalled my OS and set the sleep mode to S3 from S1 in the BIOS Now whenever I put my PC to sleep, it wakes up immediately (never even really goes to sleep) and takes me to the Windows 7 login screen. I disabled the network adapters, mice and key board from allowing the computer to...
Performance & Maintenance
Windows 7 Professional wakes up immediately after putting to sleep
Hey guys. This is my first post here, so Hello. Before you turn away and refer me to the other threads on the same problem, I'd like to tell you that I've checked out every thread, forum and discussion on the topic all over the internet, and no solutions worked for me. I'm using an Asus K53E...
Performance & Maintenance
PC wakes up immediately after going into sleep mode
This has been happening since the last several days. I've tried system restore going back to Dec 31st and it hasn't helped the issue. I've looked through the Advanced Power Settings options and not found something that appeared to be an issue to me. It still auto wakes up with Allow wake timers...
General Discussion
My laptop wakes immediately after I put it to Sleep mode
It's been like this since I installed Windows 7. No device is wake armed except for the keyboard but I sure don't press anything (I'd have noticed and wouldn't be here). When I put it to Sleep it sleeps for a second and then wakes up. If I try again, it may sleep without problems but suddenly...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 05:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App