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: Creating Sleep Shortcut

17 Aug 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
.

17 Aug 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




Thread Tools




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 09:47 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33