Won't Sleep

doveman007

New member
Member
VIP
Local time
4:05 AM
Messages
127
I'm sure it was working before but I have two installs and I've recently switched to my cleaner one as I was having other problems on the other one, so perhaps it wasn't ever working on this install.

It's not going to sleep automatically and when I try and send it to sleep manually, it just turns the display off which comes back on as soon as I move my mouse.

I checked there's no devices set to wake it (except the NIC which is set to only wake on Magic Packet), tried disabling "Allow the computer to turn off this device" for all the USB Hubs in Device Manager, even disconnected the USB hub with my mouse and keyboard connected (obviously I couldn't then initiate a manual sleep, but it still didn't auto-sleep).

I've disabled the Windows Media Player Network Sharing Service, so under Network and Sharing Center - Advanced sharing Settings - Home or Work it says "Media Streaming is off". Powercfg /requests shows nothing keeping it awake, so I'm rather stumped.
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
Ah, I seem to have fixed this. I had to disable Hibernation with Powercfg -h off and then it worked. Turning it back on again and it stops working again.

Before this I tried disabling some more devices in Device Manager, Disabling "allow this device to wake the computer" for both the mouse and keyboard and Disabling Wake Timers. The only issue now is that when I wake the computer, my mouse and keyboard don't work until I toggle my KVM to my other PC and back to this one, which I never used to have to do but I can live with that.

Be interested if anyone knows why I have to disable hibernation for sleep to work though. Hybrid mode was on which I understand causes it to create a hibernate file in case of a power cut but it normally works.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
I've got the latest ATI driver installed. The only non-MS services running are AMD External Events Utility, MySQL and Sandboxie Service, which are running on my other install where hibernate is On and it sleeps OK.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
Unhide System and Hidden files at Control Panel>Folder Options>Viewm then check to see if C:\hiberfil.sys is still there. If so delete it, then re-enable Hibernate to recreate it and see if it was corrupt and causing problem since Hybrid Sleep requires it.

Next run SFC -SCANNOW Command
 
Nope, it's not there.

I tried re-enabling Hibernation and disabling Hybrid Sleep and then it sleeps, but if I re-enable Hybrid Sleep it stops working again (now the display comes straight back on again, whereas before it stayed off till I moved the mouse).

It's rather annoying me now that I have to toggle my KVM to get the mouse and keyboard working after resuming as well, as I haven't had to do that before.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
Run a totally clean boot without AV or any of the others you're allowing in msconfig>Startup and >Services (after hiding all MS Services) to see if it works the same. If Hybrid will work then add back each allowed item until you find which one is causing the problem.

Are you using a lightweight (free) AV like MSE instead of bloatware AV?
 
Not using an AV on this Windows install at all. On my other one it's got Avira Antivir Free installed and Hibernate works fine.

As I said "The only non-MS services running are AMD External Events Utility, MySQL and Sandboxie Service, which are running on my other install where hibernate is On and it sleeps OK." My other install has maybe 10 extra non-MS services running in addition to those three and hibernate works fine, so I don't think the fault is likely to be due to one of those three.

I've done sfc /scannow and that found no problems.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
Fixed this now after reading [SOLVED] GRUB + Windows 7 = Can't put windows to sleep/hibernate - Ubuntu Forums

Turns out that Hibernate (and Hybrid Sleep) don't work if the current System partition (C:) isn't marked Active, and as I use grub4dos to dual-boot between two Win7 installs, the other one was marked Active. After marking my current System partition Active and rebooting, Sleep and Hibernate work fine now.

Seems unfortunate that the user has to choose which Win7 install in a dual-boot can have working Hibernation but at least I know about this limitation now.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
I have a dual-boot PC and a triple-boot PC with MS for all 5 OS's.
Sleep and hibernate work on all 5 OS's, so I don't believe it's an "Active" partition problem.
I don't use grub4dos, I use the MS OS selection screen.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Maybe the MS OS selection screen sets whichever partition you boot as "Active".

Either way, it clearly was an "Active" partition problem here, as setting the partition "Active" has fixed it.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Phenom II X4 955
Motherboard
MSI 990FXA-GD80
Memory
16GB (4*4GB) DDR3 Corsair Vengeance
Graphics Card(s)
6950 2GB
Sound Card
Onboard Realtek
Monitor(s) Displays
Dell 24" IPS LCD
Hard Drives
Samsung Evo 256GB SSD, Samsung 2TB, & Samsung 500GB HDDs
PSU
Antec CP-850
Case
Bench
Cooling
TRUE rev.c
No need to guess because we know that the System Partition is to remain Active to keep the System boot files from being derailed during repairs or re-installs. It has no effect on whether any multi-booted Windows installations will sleep, except apparently when GRUB is imposed on the same HD.

We see enough irreparable Windows due to GRUB being on the same HD that it can nearly be classed as an infection.
 
Back
Top