Saturday 23 April 2011

0

Create a Shortcut of shutdown,restart icon etc...

  • Saturday 23 April 2011
  • PRABH KARAN SINGH
  • Share
  • To create a shortcut of shutdown,restart,lock,sleep n hibernate follow below step.

    1).Right-click on desktop and open the menu of new option , n then click on shortcut option .



    2).After open the shortcut window type that commands

    a).For shutdown the system

    shutdown -s -t 60 -c "Good Bye"




    -s for shutdown

    -t means time in seconds

    60 means after 60 second system is shutdown you can change it as per ur need.

    -c "Good Bye" for comment u may ignore all of it.

    b).For restart the system

    shutdown -r -t 60 -c "Bie"



    -r for restart.

    c).For Lock the user account.

    Rundll32.exe User32.dll,LockWorkStation



    or u may can press the combination of key for lock down the workstation

    (window_button + l)

    d).For sleep the system.

    rundll32.exe powrprof.dll,SetSuspendState 0,1,0




    3). Now save that shortcut by any name.




    4). change the icon of shortcut to "MY COMPUTER" icon and copy to your frnd pc when ever he/she double-click on the icon system will restart (which shortcut u created) in 60 second.

    If u like this post do comment on it


    0 Responses to “ Create a Shortcut of shutdown,restart icon etc... ”

    Post a Comment