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: sleep shortcut

24 Sep 2009   #11
Brink

64-bit Windows 10 Pro
 
 

You're welcome. :)


My System SpecsSystem Spec
.
22 Nov 2009   #12
filipl

Windows 7 Home Premium
 
 

Quote   Quote: Originally Posted by Brink View Post
If you disable hibernation, then the other one should work as well.
Hello guys!
I read the forum for a while already, and it is oh so helpful!, but it is my first post, so welcome everyone!

Is disabling hibernation equal to getting rid of the Hybrid Sleep?
My System SpecsSystem Spec
22 Nov 2009   #13
Brink

64-bit Windows 10 Pro
 
 

Hello Filipl, and welcome to Seven Forums.

It will disable the hibernate part of the hybrid sleep. If you disable hibernation, then it would be best to only use Sleep instead of Hybrid.

Hope this helps,
Shawn
My System SpecsSystem Spec
.

26 Jul 2011   #14
quanzaboy

Windows 7 Ultimate x64 (SP1)
 
 

Hello, I have Windows 7 x64 and I was interested in this sleep shortcut. However when I run it the computer just shuts down instead of going to sleep.

When I opened the VBS script I saw this in the code:
Code:
Dim objShell 
Set objShell = CreateObject("Shell.Application") 
objShell.ShutdownWindows <--- ???
set objShell = nothing
Set WshShell = CreateObject("WScript.Shell")

WshShell.SendKeys "{Enter}"
Set WshShell = Nothing
So how is this supposed to be a sleep icon if the script is sending a shut down command to the computer?

What am I missing here? How can I make this shortcut work correctly and put my machine to sleep mode instead of shutting it down?

Thanks,
quanzaboy
My System SpecsSystem Spec
26 Jul 2011   #15
Brink

64-bit Windows 10 Pro
 
 

Hello Quanzaboy,

I would recommend to use either shortcut in the newer tutorial below for Windows 7 instead. :)

Sleep Shortcut - Create

Hope this helps,
Shawn
My System SpecsSystem Spec
27 Jul 2011   #16
quanzaboy

Windows 7 Ultimate x64 (SP1)
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Quanzaboy,

I would recommend to use either shortcut in the newer tutorial below for Windows 7 instead. :)

Sleep Shortcut - Create

Hope this helps,
Shawn
Thanks! Worked perfectly! :)
My System SpecsSystem Spec
27 Jul 2011   #17
Brink

64-bit Windows 10 Pro
 
 

You're most welcome. :)
My System SpecsSystem Spec
Reply

 sleep shortcut




Thread Tools




Similar help and support threads
Thread Forum
Sleep Shortcut - Create
How to Create a Sleep Shortcut in Windows This will show you how to create or download a Sleep shortcut to put your computer to sleep with. You can also Pin to Taskbar or Pin to Start Menu this shortcut, or move where you like for easy use.If you would also like to create a keyboard shortcut...
Tutorials
Monitor sleep shortcut?
Prelude: My monitor power button is broken so I leave it powered and it goes to sleep after 15 minutes. That's all good except there are times when I want it to sleep 'now'. Its a big bright screen and lights up the room and it can seem a long 15 minutes until it dims. If I use the Windows...
General Discussion
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...
General Discussion
Can't change icon for Sleep shortcut?
Created a sleep shortcut using this command: rundll32.exe powrprof.dll,SetSuspendState 0,1,0, disabled Hibernate, and the sleep command works perfectly. However, its icon is very generic cr*p, and when I clicked "change icon," the only icon showing was the geneic folder-like icon. What happened to...
General Discussion
Sleep problem; Goes into deeper sleep w/shortcut
I have a notebook connected to a monitor with external mouse/keyboard. When I put the notebook to sleep via the Start menu or the keyboard, it is able to wake out of it by moving the mouse around or pressing a key. However, when I create a shortcut to it for Windows Task Scheduler to enter...
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 19:44.
Twitter Facebook Google+