Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Useful Shortcuts (shutdown, restart, lock, Hibernate & Sleep)
#1
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".
[Image: 1.png]
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:
[Image: 2.png]
Then choose your name for the shortcut:
[Image: 3.png]
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!
[Image: signature.php?uid=1]
Reply
#2
The shitdown and restart would also work for XP and vista.. Just to let you know.
FREE PSN CARDS, XBOX LIVE, GAMES + MORE VIEW THREAD Here Yeye
Reply
#3
I knew that just though I would just have it for windows 7 but I will add it.
[Image: signature.php?uid=1]
Reply
#4
It'd be nice to see it added, as alot of people still do use Windows XP & Vista.
FREE PSN CARDS, XBOX LIVE, GAMES + MORE VIEW THREAD Here Yeye
Reply
#5
Done!
Smile
I specified which ones will work with those.
[Image: signature.php?uid=1]
Reply
#6
Excellent, looks alot better now. Well done. Smile
FREE PSN CARDS, XBOX LIVE, GAMES + MORE VIEW THREAD Here Yeye
Reply
#7
Thanks, Hope people find it useful.
[Image: signature.php?uid=1]
Reply
#8
I'm sure they will, i'll bookmark this page and post it to some friends. Smile
FREE PSN CARDS, XBOX LIVE, GAMES + MORE VIEW THREAD Here Yeye
Reply
#9
Cool ;) some people don't even know this is possible lol
[Image: signature.php?uid=1]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows 7 Window Button Shortcuts Plasma 4 1,301 06-05-2010, 09:37 PM
Last Post: Cannabis
  Windows Won't Shutdown/Restart MasterZuFu 1 683 04-17-2010, 02:12 AM
Last Post: I Am Divine

Forum Jump:


Users browsing this thread: 3 Guest(s)