How to create shortcuts for shutdown, restart and hibernate in windows xp.

Advertisements

Have you ever wanted, To create shortcuts for the most common actions like shutdown, hibernate or restart on your desktop, so that you could fire up all these commands just by clicking a shortcut placed on your desktop.

All the operations shutdown, restart are nothing but a simple execution command for the system exe called shutdown.exe but with different parameter.

But this is not the same case with hibernate as it is a suspended state off in case of windows xp and it has nothing to do with shutdown.exe

Now, How to create shortcuts for shutdown, restart and hibernate.

1. Right Click on your Desktop, go to New>>shortcut.

2. Now for creating respective shortcut copy the commands given below.

Shutdown

SHUTDOWN -s -t 01

Restart

SHUTDOWN -r -t 01

Hibernate

rundll32.exe PowrProf.dll, SetSuspendState

3. Click next and then finish(You can change the icon to make these shortcuts more meaningful.

Well this is a very simple trick for windows xp users but again useful ,so if you like to say anything please leave a  comment here.

You can follow us on Twitter or join our Facebook Fan Page for more updates like this and You can also ask a problems related to computers or technology on Ask Technix Update and get your solutions faster.

Other Related Interesting Articles

Author + Admin: Abhishek Bhatnagar
- Professional blogger by passion, Software Enggineer. I love to write about useful computer tips & tricks. Connect with me at twitter or on google+ profile or mail me at abhishek@technixmedia.com or know me more on www.abhishekbhatnagar.com

12 Comments

  1. Ashfame says:

    Can you tell about the 3rd one. How it works?

  2. Krrish says:

    Thanx good one,

    Very Simple but very usefull plese b continue your efforts…

  3. W. A. Shapiro says:

    I knew about shutdown.exe, but couldn’t figure out how to create a hibernation shortcut. Your tip is welcome. Too bad it seem that SetSuspendState appears to have no switches and there is apparently no way to abort the hibernation. With shutdown.exe, I set a 5-second delay and have another shortcut to the program, that one with the -a flag, which stops the shutdown or restart.

  4. ABHIRAM says:

    hey solid excellent nice i liked

    thq very much in helping me….

    n keep on rocking….

  5. John Derrick says:

    Thank you for that !

    Hibernation button, here I come!

  6. shivam007 says:

    thanks bro…
    didn’t knew the shortcut to hibernate

  7. utkjfuyk says:

    very clever and solved my restart problem

  8. [...] have previously posted about how to create desktop shortcut for Shutdown, Restart and Hibernate, but Desktop Shortcut allows you to create these shortcuts very easily just by selecting the [...]

  9. Neil says:

    Thanks – I had these in a trial Tweak-7 app, but they were deleted when I uninstalled (trial ran out).

  10. Praveen says:

    shortcur for hibernation is good. Is there any way to code, so that the system asks the user for confirmation?

    Can anyone help on this.

  11. PC tricks says:

    Im using these shortcuts, and do you know how to change icon for hibernate shortcut?

  12. DPM says:

    To change icon is too simple: just go to Properties for Shortcut and then Change Icon button. Use:

    %SystemRoot%\system32\SHELL32.dll

    as file for icons or someone else you want.

Leave a Reply