Is there any way to make a desktop shortcut for the sleep command?

Anonymous
2009-01-10T03:57:52+00:00

Desktop shortcut for the sleep command?

Is there any way to make a desktop shortcut for the sleep command? I can't find the actual location that the sleep button on the start menu points to. It has to point somewhere! Please, if anyone knows how i can create this shortcut, help!!! Thanks a bunch!

Windows for home | Previous Windows versions | Accessibility

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2009-01-10T12:18:27+00:00

Tar-ter,

To create a shortcut that will execute the sleep command in Vista:

  • Right Click in the desired location (On the Desktop or in a folder)
  • Select New -> Shortcut
  • In the “Type the location of the item” field enter the following
  • Rundll32.exe Powrprof.dll,SetSuspendState Sleep
  • Click Next
  • This will create a shortcut with the name rundll32,
  • Right Click the shortcut, select Rename and type in Sleep

**** You can now open this shortcut whenever you desire to put your computer into sleep mode.

Note: You can replace the default icon with a Shutdown one by:

  • Right Click the created shortcut, select Properties -> Change Icon
  • Navigate to this link in the **“**Look for icons in this file:” field:
  • %SystemRoot%\system32\SHELL32.dll icons
  • Find the desired icon.
  • Click Ok.

Thank you for using the Microsoft Vista Support Community.


Rami

Microsoft Answers Support Engineer

Visit our Microsoft Answers Feedback Forum and let us know what you think.

Was this answer helpful?

60+ people found this answer helpful.
0 comments No comments

73 additional answers

Sort by: Newest
  1. Anonymous
    2013-12-28T13:12:05+00:00

    I have a Packard bell Imedia, and the Logitech K520.

    And on the keyboard it just is "fn+F11".

    Now i've changed keyboard to an Mad Catz Cyborg V.7 and want to go to the "standby mode" that is the "fn+F11" on my Logitech keyboard.

    I still have that keyboard, but it's enoying to switch it on just for "standby mode", and later on when I have another mouse I won't have that keyboard anymore.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-11-06T17:53:56+00:00

    hey egrodo - the link takes one back to 2008, well before Windows 7 was released so not very helpful.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-08-26T21:47:49+00:00

    Will this work for Windows 8 as well?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-08-10T05:55:44+00:00

    On my version of Windows 7, C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState Sleep, puts my computer in hibernation mode. I don't think it completely shuts it off because the message I get when I start it up again is 'Resuming Windows'.

    Was this answer helpful?

    0 comments No comments