To create a shortcut that will execute the sleep command:
- 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
- C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
- 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
I like this little guy
Use a free portable icon editor to make a true Windows icon.