Welcome to MSDN Blogs Sign in | Join | Help

Syndication

Tags

    No tags have been created or used yet.
Creating windows shortcut for "Stand by"

If you are a laptop user and prefer to go "Stand by" instead of "Hibernate" or "Log Off" to save time, the quickest way to do is to use the keyboard shortcuts on the laptop keyboard (for my Dell laptop its Fn+Esc) which I use very often. However if you use external keyboard (with dock station) you are deprived of the direct laptop keyboard access and hence the only way I figure out so far is to go through Start->Shut Down and then select "Stand by" option there which I found quite irritating because of the no of clicks.

You can create a desktop shortcut and even assign a keyboard shortcut to achieve the same. Here is what you need to do:

- Right click on the desktop and click on New->Shortcut

- In the "Create Shortcut" dialog, type the following and click Next:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

- Give a name to this shortcut (ex StandBy) and click Finish.

 You will see a new shortcut on the desktop which  you can double click to get you laptop/system in Stand by mode. If you want to assign some keyboard shortcut, right click on the shortcut and select Property. In the "Shortcut key" text box, select the shortcut that you want to be used for ex. Ctrl + Shift + Atl + S.

 

Published Wednesday, May 07, 2008 2:27 PM by neerajag

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Creating windows shortcut for "Stand by" @ Wednesday, May 07, 2008 9:39 AM

Um, SetSuspendState was not designed to be called from rundll32. You are passing it random parameters and corrupting the stack.

oldnewthing

# re: Creating windows shortcut for "Stand by" @ Wednesday, May 07, 2008 9:48 AM

Interesting.. But I see this is working perfectly for me. Can you tell me some scenario where it can fail??

neerajag

# re: Creating windows shortcut for "Stand by" @ Saturday, November 01, 2008 11:53 AM

works fine for me BUT it sends my computer in hibernate instead of standby.

marc

# re: Creating windows shortcut for "Stand by" @ Saturday, November 01, 2008 12:40 PM

You need to enable the Stand By mode instead of Hibernate. Both of them cannot work at same time.

Neeraj

# re: Creating windows shortcut for "Stand by" @ Friday, January 09, 2009 2:48 PM

awesome dude. works great. thanks.

Jay

# re: Creating windows shortcut for "Stand by" @ Saturday, January 10, 2009 12:25 AM

Very cool and handy short cut. It works for me properly on XP Pro, but it sends the computer in Hibernate. How to change it to Stand By mode?

Thanks in advance,

Vinod

Vinod

# re: Creating windows shortcut for "Stand by" @ Friday, May 08, 2009 10:45 AM

GREATE SHORT CUT DUDE , WAS LOOKING FOR IT, WORKS FOR MY XP SP2, I JUST UNCHECKED HIBERNATE AND IT WORKS PERFECT AS STAND BY , THANKS

DAVID

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
Page view tracker