Solved Creating Sleep Shortcut

quanzaboy

New member
Member
Local time
6:03 AM
Messages
29
I'm trying to create a sleep shortcut in Windows 7, but for some reason the computer always Hybernates instead. I have Hybrid Sleep disabled.

My shortcut path is:

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0

I've also tried:

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState m2

And:

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState

All three commands lead to Hybernation instead of sleep.

Can anyone tell me what am I missing here?

Thanks,
quanzaboy
 

My Computer

OS
Windows 7 Ultimate x64 (SP1)
CPU
Intel Core i5 760 OC @ 4.0GHz
Motherboard
Gigabyte GA-P55-UD5
Memory
A-Data 4GB DDR3 OC @ 1600MHz
Graphics Card(s)
ASUS ENGTX580 DCII
Sound Card
Realtek HD Audio (On Board)
Monitor(s) Displays
Dell 2209WA
Screen Resolution
1680x1050
Hard Drives
OCZ Vertex 3 SSD 120GB | WD Caviar Blue 500GB | WD Caviar Green 1000GB
PSU
600W
Case
Thermaltake Element G
Cooling
Noctua NH-D14
Internet Speed
12Mbps
UPDATE: I managed to resolve this by using a solution I saw in this forum.

http://www.sevenforums.com/tutorials/61430-sleep-shortcut-create.html

I just opened cmd as Administrator and ran command:
powercfg -h off

Apparently this disables Hybernation permanently and thus allowing the sleep shortcut to work.

The thing I don't understand is why do you have to run this command even though you already supposedly disabled Hybernation by disabling Hybrid Sleep in power options... ?
 

My Computer

OS
Windows 7 Ultimate x64 (SP1)
CPU
Intel Core i5 760 OC @ 4.0GHz
Motherboard
Gigabyte GA-P55-UD5
Memory
A-Data 4GB DDR3 OC @ 1600MHz
Graphics Card(s)
ASUS ENGTX580 DCII
Sound Card
Realtek HD Audio (On Board)
Monitor(s) Displays
Dell 2209WA
Screen Resolution
1680x1050
Hard Drives
OCZ Vertex 3 SSD 120GB | WD Caviar Blue 500GB | WD Caviar Green 1000GB
PSU
600W
Case
Thermaltake Element G
Cooling
Noctua NH-D14
Internet Speed
12Mbps
Back
Top