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
Shortcut keys for sleep mode in WMC?
What is the shortcut keys for putting a Media PC to sleep within WMC? Without having to scroll down to Sleep/Shutdown at the bottom? This is so I can program my remote to make my Media PC go to sleep instead of just exiting out of WMC and bringing up Windows shutdown dialogue box (about as much...
Media Center
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
Timed Shortcut for sleep/hibernation?
Hi, so I have 10,000msecond(2.7hour) shortcut to shutdown my computer ("C:\Windows\System32\shutdown.exe -s -t 10000") which i use for watching films before bed, just encase i sleep half way through but I was wondering if there was a way to make a similar shortcut but instead of making your...
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 05:04.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App