Tuesday, April 5, 2011

Create shortcuts for switch user, log off, standby and shutdown




Right Click on your desktop and select new > shortcut















Copy and paste the text from one of the code boxes and click next

Switch User:
%windir%\system32\rundll32.exe user32.dll,LockWorkStation

Log Off:
shutdown.exe -L

Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Shutdown:
shutdown.exe -s -t 00 -f
If you want a delay and notification before shutdown, replace the number 00 above with a number in seconds. 00 by itself gives an immediate shutdown without notification.
"-f" forces any running Windows process to close without warning.





























Type a name for your shortcut and click finish.





























To change the icon right click on it and select properties, click change icon then browse to the location where you have your icons saved. I got mine from here.

36 comments:

  1. Nice tip on that, going to try it now :D

    ReplyDelete
  2. It´s tutorials like this that I´m looking for.

    ReplyDelete
  3. Nifty tips indeed! Very useful for pranks too!

    ReplyDelete
  4. I guess if I ever want the shortcuts I can create them now. Some pretty interesting info.

    ReplyDelete
  5. Hehehe, nice tips :P

    ReplyDelete
  6. thanks for these cool tips. definitely following!

    ReplyDelete
  7. I've seen a youtube vid or two on this sort of thing before, I always kind of considered it a little pointless since those options are easily accessible as it is lol.

    ReplyDelete
  8. Hey seriously, this is awesome. I just want to declare that because oh my lord I think I love your blog! This is so awesome

    ReplyDelete
  9. Not useful to me, hardwarebuttons ftw

    ReplyDelete
  10. Hi, we seems to have similar interests, you should check my blog, I already followed yours :)

    ReplyDelete
  11. I'm going to make a shutdown button with firefox icon. Thanks.

    ReplyDelete
  12. Interesting man.
    I´ll try it.

    ReplyDelete
  13. cool tips man. we used to change an regularly used icon to do a shutdown.. hahaha... dumbass users never knew what hit them.

    ReplyDelete
  14. Hahaha thanks, thats looks great !!! Nice post

    ReplyDelete
  15. I already know this glad to see people are using it too +followed

    ReplyDelete
  16. very cool! never knew about this before makes things so simple!

    ReplyDelete
  17. very nice description... will try it on my Windows computer tomorrow

    ReplyDelete
  18. Changed my brothers "My picture" shortcut like this :P he went mad

    ReplyDelete
  19. lol this looks awesome :D, i´ll sure try this 1 out!

    ReplyDelete
  20. how convenient haha thanks for this tip!

    ReplyDelete
  21. Wow, didn't know you could do that. Thanks for explaining it!

    ReplyDelete
  22. I had no idea you could do this. Following for more tips!

    ReplyDelete
  23. Hey nice tip, that seems pretty convenient. Thanks

    ReplyDelete
  24. Ah. Cool icons. May try this.

    ReplyDelete
  25. Standby button is kind of... weird.

    ReplyDelete
  26. It didn't work for my computer. Maybe I screwed up?

    ReplyDelete
  27. pure awesomeness. Thanks for the post!

    ReplyDelete