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

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Sleep shortcut simplified

Comment
 

Sleep shortcut simplified

IT WORKS!- A very easy way with no problems!
Published by isikh
08-18-2008
Cool

Information
  Hey everyone although according to posts I am a Vista Newbie but I can assure you I am not, but that is besides the point. I really liked the Vista sleep function and wanted a shortcut for it, then someone mentioned this tutorial...Sleep Shortcut However this didn't work for me and many others thus I investigated and found a simple solution!
NOTE
 
Quote  Quote: Originally Posted by Brink View Post
In my experience with this sleep shortcut, I have found that it only works if you disable hibernation mode first.

Hibernation - Enable or Disable

Reference: Shutdown
Thanks Brink



This is the path for sleep I discovered... %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

And all u have to do is make a shortcut and viola it works. You will have a shortcut to sleep and you can place it wherever you want to. I tested it; I have the shortcut in my quick launch....if you want to be lazy and don't want to make the shortcut yourself you can do this...for VISTA ONLY! Go to this link and click on Download and Install to download and save this gadget... Windows Live Gallery (This is what I did the first time, it is easy and flawless!)

Then start up the gadget and hit options/preferences.
You will see something that says Vista Quick launch bar, under that it says Add shortcut: there are options for shutdown, lock computer, log off, sleep etc. Click anyone's you want and they will be added to the quick launch and that is it! Any questions or anything ask away! If necessary I will post a picture tutorial too, that is if anyone requests!
settings1.jpg settings2.jpg
Published by
isikh's Avatar
Member
Join Date: Aug 2008
Posts: 29
Rep Power: 10
isikh is on a distinguished road

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 08-18-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Sleep shortcut simplified IT WORKS!- A very easy way with no problems!

In my experience with this sleep shortcut, I have found that it only works if you disable hibernation mode first.

Hibernation - Enable or Disable

Reference: Shutdown

My System SpecsSystem Spec
Old 09-10-2008  
robbysondak


Vista Home Premium 32-bit
 
 

Re: Sleep shortcut simplified

I am used to do this alt F4 - enter (on desktop), to make my laptop sleep.
My System SpecsSystem Spec
Old 10-10-2008  
hdbg62


Vista Home Premium 32bit
 
 

Re: Sleep shortcut simplified

Just found this command for hybrid sleep and it seems to work. Must wake up with the power button on case and everything's on the desktop as when I left it:

rundll32 powrprof.dll,SetSuspendState

Command line hybrid sleep - TechNet Forums

Now, how do I create a shortcut for this so I may use it on the Desktop or in Quicklaunch?
My System SpecsSystem Spec
Old 10-10-2008  
barman58


Windows 7 RC x64 Vista HP x86
 
 

Smile Re: Sleep shortcut simplified

Hi hdbg62

Just right click on desktop create new Shortcut type the command into the box and click next give it a name , drag to quicklaunch to use it there

Sleep.zip
My System SpecsSystem Spec
Old 10-12-2008  
hdbg62


Vista Home Premium 32bit
 
 

Re: Sleep shortcut simplified

I'm a bit confused here. When my computer goes to sleep through power options settings, by clicking sleep in the start menu or clicking sleep after ctrl+alt+del its power button light continues to slowly flash, I can wake it through my keyboard or the power button and all is on my desktop as I left it.
When I put it to sleep through the shortcut (rundll32 powrprof.dll,SetSuspendState) there is no flashing on the power button, I must restart through the power button which it does through the computer startup screen, resuming windows etc., and again all is on the desktop as I left it.
My questions are; are both scenarios the same sleep mode, if not which is what and why does the power button keep flashing under one scenario and not the other?
Here are my advanced settings in power options: sleep after "60 minutes", allow hybrid sleep "on", hibernate after "never"; power button action "do nothing", sleep button action "do nothing", start menu power button "sleep".
My System SpecsSystem Spec
Old 10-13-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Sleep shortcut simplified

Hi Hdbg62,

Leave your settings as is, but test these settings changes to see how sleep works for you afterwards:
  • Hybrid sleep "off"
  • In the BIOS use the "S3" sleep state
When your computer goes into "sleep" mode it should act like it had shutdown completely, but be instantly woken up with the movement of the mouse or press of a key on the keyboard. You should not have to press the case power button to startup the computer from only sleep mode.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 10-13-2008  
hdbg62


Vista Home Premium 32bit
 
 

Re: Sleep shortcut simplified

Scenario is the same with hybrid sleep "off" as in the two I posted depending which sleep button I use. Bios are at S3STR. If I use my shortcut I can only wake it up through the power button (no flashing light, start screen "resuming windows" etc.), if I use the sleep options in startup or after ctrl+alt+del it's the flashing light and I can wake it up through keyboard or power button (mouse has been disabled for that purpose) and it wakens instantly, no "resuming windows" etc..

I don't have a problem with any of it, just would like to know what sleep state I'm in. I guess what got me to wonder is the flashing and non flashing power button plus the different restart scenarios. Is hybrid "on" not the best setting according to your tutorial anyway?
My System SpecsSystem Spec
Old 10-13-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Sleep shortcut simplified

You would normally only have hybrid "on" if you were using both Sleep and Hibernation mode. Hybrid will allow the computer to go into Sleep mode at first, then later go into Hibernation mode.

As a test, try this Sleep Shortcut .
My System SpecsSystem Spec
Old 10-13-2008  
barman58


Windows 7 RC x64 Vista HP x86
 
 

Re: Sleep shortcut simplified

Hi, hdbg62,

The Sleep/Hibernate setting in vista is linked to the state of acpi in the BIOS. , so that you may get different results if settings in windows and BIOS conflict

you may want to have a look at this description
Advanced Configuration and Power Interface - Wikipedia, the free encyclopedia

Hope this helps
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Sleep Shortcut Tutorials
Simplified Chines and Ruby Vista General
Shortcut to logoff then put pc in sleep Vista General
desktop sleep shortcut Vista General
Desktop sleep shortcut ? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

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 34 35 36 37 38 39 40 41 42 43 44 45 46