This tutorial was written for all computer users who enjoy the convenience of the “Sleep” feature in Windows XP but do not enjoy the inconvenience of having to click multiple buttons to initiate the “Sleep” phase. Instead you can create a simple desktop shortcut that will put your computer into “Sleep” mode as soon as you double-click it. Read below to find out how easily you can create this convenient shortcut.

The first thing you are going to have to do is go to your desktop. You can do this by either right-clicking the taskbar and selecting “Show the Desktop” or by minimizing each currently open window and application.


Once you are at the desktop right click a blank area on the screen. When you do so a context box should appear like so:

right click context menu on desktop


As you can see in the screenshot above, to create a “shortcut” you must select from the context menu “New” and then another sub-menu will appear, in which you will select “Shortcut”. Doing this will start the “Create Shortcut” window. The window will appear like so:

Create shortcut


In the window you will want to enter the following text into the text box highlighted with the red circle in the screenshot above:

rundll32.exe powrprof.dll,SetSuspendState


After you have entered the above text into the text box you must click the “Next” button. When you click the “Next” button you will be presented with the following window:

Select a title for the program


Once the above window has appeared on your screen you must then type into the text box beneath the text “Type a name for this shortcut”, the text you would like to appear beneath the icon of your “Sleep” shortcut.


After you have entered the preferred name for your new shortcut, you must click the “Next” button.


You will now have your shortcut, which should look like the following:

Sleep icon


Congratulations your icon is now active. When you double-click your new “Sleep” icon, your computer will enter “Sleep” state. “Sleep” state is when your computer stores the current session to RAM and puts itself into a low power state to conserve energy and will load your session back to exactly as it was when you put it to “Sleep” as soon as you press the “Power on/off” button.

This guide is sure to save you on your power bill and also impress your friends with your ability to use customized system icons. Enjoy your newfound Windows shortcut knowledge.