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: Most helpful
  1. Anonymous
    2011-07-14T09:24:35+00:00

    I found this, and thats works for Vista and Windows 7, ( both in 32-bit and 64-bit )...

    And thats is NOT **Hibernation** nor Standby mode.

    This makes the PC resume quick from Sleep mode...

    How to Create a Sleep Shortcut on the Desktop in Vista and Windows 7.

    http://www.vistax64.com/tutorials/165412-sleep-shortcut.html

    --------------------------- ¤ ¤ ¤ ---------------------------

    This will work on a Vista, 32-bit...

    Right click on a empty space on the Desktop, make a new Shortcut on the Desktop.

    Copy paste this in as destination.

        C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0

    And i shows this for the name  rundll32.exe , this you rename to what you like = Sleep****To find and chance the Icon, on the new Shortcut

    Copy Paste this in and press OK**** %SystemRoot%\System32\powrprof.dll

    --------------------------- ¤ ¤ ¤ ---------------------------

    How to Enable or Disable Hibernate in Windows 7

    http://www.sevenforums.com/tutorials/819-hibernate-enable-disable.html

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-07-07T03:00:38+00:00

    Is there a way to keep the field with "sleep" in it from disappearing after I press start and click on the arrow?

    Do you want it to permanently display Sleep as the default action you see? Right click on the Start Button | Properties | Start Menu | Power Button Options.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-07-07T02:51:41+00:00

    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!

    Is there a way to keep the field with "sleep" in it from disappearing after I press start and click on the arrow?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-07-07T02:50:19+00:00

    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!

    Is there a way to keep the field with "sleep" in it from disappearing after I press start and click on the arrow?

    Was this answer helpful?

    0 comments No comments