 |
San Antonio Blog
|
David Polanco A previous resident of Del Rio Texas now living in the San Antonio. Web designer, SEO, and Graphic Artist.
Live uStream Cam
How to Create Restart, Shutdown, Sleep Icons in Windows 7 & Vista Desktop
Aug 17th, 2009 12:18:37 pm - Subscribe Mood: good
Music: No music
This entry will show you How to Create Lock Restart & Shutdown Icons in Windows 7 & Vista. This process is as simple as creating a shortcut, adding a command to that shortcut, then simply adding an icon to accompany it. Let me show you how to do it with the shutdown button.
- Right click the Desktop
- New
- Shortcut
- Enter in the browse location
- Shutdown.exe -s -t 00
- Name the shortcut 'Shutdown'
- Now right click the new shortcut
- Properties
- Change Icon*
- Choose the Shutdown Icon
- Ok
* NOTE: If you do not have a list of icons go back to step #9 and enter this in the browse section: %SystemRoot%\System32\shell32.dll
quote:
Windows 7 System Command Lines
Shutdown Command - Shutdown.exe -s -t 00
Restart Command - Shutdown.exe -r -t 00
Lock Workstation Command - Rundll32.exe User32.dll,LockWorkStation
Hibernate Workstation Command - rundll32.exe PowrProf.dll,SetSuspendState
Sleep Computer Command - rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Now you can add these icons that you created to your Aero Taskbar or to your Windows 7 Quick Launch.
If you have any questions leave a comment.
anonymous - August 26th, 2009
I tried doing the sleep command but it's the same at the hibernate one i don't know whats wrong |
anonymous - September 17th, 2009
Yeah - Sleep one doesn't work - same as Hibernate. |
anonymous - November 01st, 2009
Ye the sleep command makes the system hibernate for me as well. Any fixes yet? |
anonymous - November 07th, 2009
Sleep works fine for me. It must be the s1/s3 settings in your bios that may be affecting things. I also have hibernate turned off, perhaps that helps. Either way, that sleep command has the desired effect, sorry it doesn't for you guys |
anonymous - November 08th, 2009
Windows 7 SLEEP from the SHUTDOWN menu has a shorter wakeup sequence. It skips the usual BIOS POWERON tests I go through when I use RUNDLL32/POWRPROF from a shortcut. I would like to know how to get the shorter wakeup using a shortcut. |
anonymous - December 26th, 2009
This sleep command puts the machine in HIBERATE instead
Sleep Computer Command - rundll32.exe powrprof.dll,SetSuspendState 0,1,0
anyone know the correct codes? |
anonymous - January 19th, 2010
The only way i find - is to turn off the hibernation mode. It seems to me, that this article is wrong:
h__p://msdn.microsoft.com/en-us/library/aa373201(VS.85).aspx |
Leave a Comment:
|
 |