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.


Author + Admin: Abhishek Bhatnagar










Can you tell about the 3rd one. How it works?
Thanx good one,
Very Simple but very usefull plese b continue your efforts…
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.
hey solid excellent nice i liked
thq very much in helping me….
n keep on rocking….
Thank you for that !
Hibernation button, here I come!
thanks bro…
didn’t knew the shortcut to hibernate
very clever and solved my restart problem
[...] 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 [...]
Thanks – I had these in a trial Tweak-7 app, but they were deleted when I uninstalled (trial ran out).
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.
Im using these shortcuts, and do you know how to change icon for hibernate shortcut?
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.