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. I didn't know you could do this.

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

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

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

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

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

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

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

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

    ReplyDelete
  21. how convenient haha thanks for this tip!

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

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

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

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

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

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

    ReplyDelete
  28. pure awesomeness. Thanks for the post!

    ReplyDelete