Pages

Wednesday, February 10, 2010

Creating shortcuts for shutdown in Windows 7

The most often asked for Microsoft Windows tweaks is for shortcuts that shutdown, power down, and restart a Windows session.If you dislike the new Windows Vista shutdown menu, you are probably in the majority. An alternative option is to create icons that will let you shut down, lock, or restart your computer without having to mess with that stupid popup menu.if you want a shortcut elsewhere or to assign a hotkey, this should help you out.
The procedure for Windows 7 is very similar to that of Vista and XP, but now you can pin those freshly created shortcuts to the Start Menu or the Taskbar or to both.











Creating a shortcut





                      



In the shortcut location box, you’ll need to enter the correct command, which I’ve listed for you below.




Shutdown Computer
Shutdown.exe -s -t 00
Restart Computer
Shutdown.exe -r -t 00
Lock Workstation
Rundll32.exe User32.dll,LockWorkStation
Hibernate Computer
rundll32.exe PowrProf.dll,SetSuspendState
Sleep Computer
rundll32.exe powrprof.dll,SetSuspendState 0,1,0


When you’ve clicked next on the above dialog, you’ll be asked to name the shortcut. Probably best to name it according to the right function.


Change Shortcut Icon


Technically, you could stop here, The default icon is really ugly, and if you want to have separate shortcuts for each function you might want to change the icon. Right-click on the icon and choose properties.


Click the Change Icon button, and then you can pick from the available icons in the system. Normally you will get ordinary icons, I recommend you to browse to "C:\Windows\System32\Imageres.dll" then you will get more awesome icon lists





Note that you can drag them to your quick launch bar if you’d prefer to have them there.








And so ends the tale of the shutdown icons…


No comments:

Post a Comment

techthesaurus on Facebook