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

Comment
 
Old 07-03-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Sleep Shortcut

How to Create a Sleep Shortcut on the Desktop in Vista

...

My System SpecsSystem Spec
Old 07-19-2009  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Sleep Shortcut

Hello Adam, and welcome to Vista Forums.

Interesting, what settings do you have set in the task so that I can give it a try with them?

My System SpecsSystem Spec
Old 07-20-2009  
dmex


Windows Vista™ Ultimate
 
 

Re: Sleep Shortcut

Quote  Quote: Originally Posted by Alpione View Post
Hey all..

Question about this old thread. I've got the Sleep shortcut on my desktop and it works fine when I just double-click it. Goes right to sleep.

However, if I have Task Scheduler run it at a particular time, it pops up the regular logoff prompt with the pulldown menu (Sleep, Shut Down, etc.) and waits for my response.

Any ideas on that? It happens on both of my Vista PCs. Both power buttons are configured to sleep.

Thanks..

Adam
Hi Adam,

Set Task Scheduler to execute the command directly instead of using the shortcut: rundll32 powrprof.dll, SetSuspendState

It shouldn't have any problems executing the command directly, Its just how Task Scheduler handles shortcut/script execution from its protected user environment

Let us know if using the command instead of the shortcut allows your machine to sleep without waiting for confirmation

Steven
My System SpecsSystem Spec
Old 07-20-2009  
Alpione


Business 32bit
 
 

Re: Sleep Shortcut

Eureka! Running it directly did the trick.

Thanks guys!

Adam
My System SpecsSystem Spec
Old 07-20-2009  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Sleep Shortcut

Thank you Steven.

I'm happy to hear that you got it working Adam.
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Sleep shortcut simplified Tutorials
Shortcut to logoff then put pc in sleep Vista General
How do you change the target of the shortcut or shortcut command l 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