How Can I Create a Taskbar Shortcut for Sleep in Windows 7?


Windows 7's power-saving Sleep Mode minimizes your computers energy use by suspending many non-essential hardware devices. This allows you computer to quickly resume without having to reopen programs and document, or rearrange windows to their previous positions. When you resume Windows, everything is exactly as it was when your computer went to sleep. Although you can enter Sleep Mode from the Start Menu, you might find it more convenient to click a button directly on the taskbar to instantly put your computer to sleep.

  • Right-click an empty area of the desktop, point to "New" and select "Shortcut."

  • Type "rundll32.exe powrprof.dll, SetSuspendState" in the initial screen, where it asks for a program location, and click "Next."

  • Enter "Sleep" for the shortcut name and click "Finish" to create a desktop shortcut.

  • Right-click the shortcut, click "Properties" and then click "Change Icon" from the Sleep Properties window.

  • Click "Browse" and double-click "imageres.dll" from the browse window.

  • Double-click the sleep icon, which is on the top row in the 24th position, and click "OK" to accept the change.

  • Click and drag the "Sleep" shortcut onto an empty area of the Windows Taskbar. Release the mouse button when the popup tooltip appears, which states, "Pin to Taskbar." The Sleep button then appears on the Taskbar.

Related Searches


Promoted By Zergnet


You May Also Like

Related Searches

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!