Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Creating Sleep Shortcut

 
08-17-2011   #1


Windows 7 Ultimate x64 (SP1)
 
 

Creating Sleep Shortcut

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 System SpecsSystem Spec
08-17-2011   #2


Windows 7 Ultimate x64 (SP1)
 
 


UPDATE: I managed to resolve this by using a solution I saw in this forum.

Sleep Shortcut - Create

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 System SpecsSystem Spec
Reply

 Creating Sleep Shortcut problems?



Thread Tools



Similar Threads for: Creating Sleep Shortcut
Thread Forum
Problem creating a new internet shortcut on windows 7 Customization
Solved Remove Shortcut Suffix When Creating Shortcuts? General Discussion
Creating a shortcut without - shortcut written after the original name General Discussion
Creating shortcut to Connect to a Network? Network & Sharing
Sleep problem; Goes into deeper sleep w/shortcut General Discussion


All times are GMT -5. The time now is 12:46 AM.



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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30