Alright so maybe it is just me but I like to have a little icon on my navigation bar for Windows 7. I will tell you here how you can make one for locking your computer, shutdown your computer, restart your computer, hibernate and lastly make your computer sleep with just one click of a shortcut.
Steps
To start you will need to go to your computer and right click your desktop, and then select "New" then "Create new Shortcut".
Here are the code options:
Shutdown:
Works with XP, Vista, Windows 7
Shutdown.exe -s -t 00
Restart:
Works with XP, Vista, Windows 7
Shutdown.exe -r -t 00
Lock:
Rundll32.exe User32.dll,LockWorkStation
Hibernate:
rundll32.exe PowrProf.dll,SetSuspendState
Sleep:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
All the above will work with Windows 7 some work with others as well I have specified which ones will.
Enter the Code here:
Then choose your name for the shortcut:
Once you entered the code and finished there will be a new shortcut with properties.
You can change the icon all you want enjoy!
Tutorial By:
WMM
Thanks!
Steps
To start you will need to go to your computer and right click your desktop, and then select "New" then "Create new Shortcut".
Here are the code options:
Shutdown:
Works with XP, Vista, Windows 7
Shutdown.exe -s -t 00
Restart:
Works with XP, Vista, Windows 7
Shutdown.exe -r -t 00
Lock:
Rundll32.exe User32.dll,LockWorkStation
Hibernate:
rundll32.exe PowrProf.dll,SetSuspendState
Sleep:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
All the above will work with Windows 7 some work with others as well I have specified which ones will.
Enter the Code here:
Then choose your name for the shortcut:
Once you entered the code and finished there will be a new shortcut with properties.
You can change the icon all you want enjoy!
Tutorial By:
WMM
Thanks!